X86-64: Add dummy memcopy.h and wordcopy.c
[glibc.git] / ChangeLog
blob9c417f23212f73ac030d9c763ba082e452e8ca65
1 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/memcopy.h: New file.
4         * sysdeps/x86_64/wordcopy.c: Likewise.
6 2016-06-09  Florian Weimer  <fweimer@redhat.com>
8         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10         <cstdlib>.
11         (optimization_barrier): New.
12         (do_test): Use it.  Call quick_exit in the global namespace.
13         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14         instead of <cstdlib>, <thread>.
15         (optimization_barrier): New.
16         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17         Call quick_exit in the global namespace.
18         (do_test): Call optimization_barrier.  Use pthread_create,
19         pthread_join instead of std::thread.
21 2016-06-09  Andreas Schwab  <schwab@suse.de>
23         [BZ #19755]
24         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
25         new entries in auto-propagate mode.
26         * nscd/grpcache.c (cache_addgr): Likewise.
28 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@gmail.com>
30         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
31         New functions.
32         (add_temp_file): Use them.
34 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
36         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
38 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
40         [BZ #20229]
41         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
42         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
43         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
45         [BZ #20228]
46         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
47         itself.
48         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49         * math/libm-test.inc (log10_test_data): Add sNaN tests.
51         [BZ #20227]
52         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
53         itself.
54         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
55         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
56         * math/libm-test.inc (log_test_data): Add sNaN tests.
58         [BZ #20226]
59         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
60         itself.
61         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
62         * math/libm-test.inc (exp_test_data): Add sNaN tests.
63         (exp10_test_data): Likewise.
64         (expm1_test_data): Likewise.
66         [BZ #20225]
67         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
68         itself.
69         * math/s_ldexpf.c (__ldexpf): Likewise.
70         * math/s_ldexpl.c (__ldexpl): Likewise.
71         * math/w_scalbln.c (__w_scalbln): Likewise.
72         * math/w_scalblnf.c (__w_scalblnf): Likewise.
73         * math/w_scalblnl.c (__w_scalblnl): Likewise.
74         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
75         (scalbln_test_data): Likewise.
77         [BZ #20224]
78         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
79         argument to itself.
80         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
82 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
84         [BZ #19776]
85         * sysdeps/x86_64/memcpy.S: Make it dummy.
86         * sysdeps/x86_64/mempcpy.S: Likewise.
87         * sysdeps/x86_64/memmove.S: New file.
88         * sysdeps/x86_64/memmove_chk.S: Likewise.
89         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
90         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
91         * sysdeps/x86_64/memmove.c: Removed.
92         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
93         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
94         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
95         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
96         Likewise.
97         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
98         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
99         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
100         memcpy-sse2-unaligned, memmove-avx-unaligned,
101         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
103         (__libc_ifunc_impl_list): Replace
104         __memmove_chk_avx512_unaligned_2 with
105         __memmove_chk_avx512_unaligned.  Remove
106         __memmove_chk_avx_unaligned_2.  Replace
107         __memmove_chk_sse2_unaligned_2 with
108         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
109         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
110         with __memmove_avx512_unaligned.  Replace
111         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
112         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
113         with __memcpy_chk_avx512_unaligned.  Remove
114         __memcpy_chk_avx_unaligned_2.  Replace
115         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
116         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
117         Replace __memcpy_avx512_unaligned_2 with
118         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
119         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
120         with __mempcpy_chk_avx512_unaligned.  Remove
121         __mempcpy_chk_avx_unaligned_2.  Replace
122         __mempcpy_chk_sse2_unaligned_2 with
123         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
124         Replace __mempcpy_avx512_unaligned_2 with
125         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
126         Replace __mempcpy_sse2_unaligned_2 with
127         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
128         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
129         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
130         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
131         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
132         (ENTRY): Removed.
133         (END): Likewise.
134         (ENTRY_CHK): Likewise.
135         (libc_hidden_builtin_def): Likewise.
136         Don't include ../memcpy.S.
137         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
138         __memcpy_chk_avx512_unaligned_erms and
139         __memcpy_chk_avx512_unaligned.  Use
140         __memcpy_chk_avx_unaligned_erms and
141         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
142         Default to __memcpy_chk_sse2_unaligned.
143         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
144         Change function suffix from unaligned_2 to unaligned.
145         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
146         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
147         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
148         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
149         (ENTRY): Removed.
150         (END): Likewise.
151         (ENTRY_CHK): Likewise.
152         (libc_hidden_builtin_def): Likewise.
153         Don't include ../mempcpy.S.
154         (mempcpy): New.  Add a weak alias.
155         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
156         __mempcpy_chk_avx512_unaligned_erms and
157         __mempcpy_chk_avx512_unaligned.  Use
158         __mempcpy_chk_avx_unaligned_erms and
159         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
160         Default to __mempcpy_chk_sse2_unaligned.
162 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
164         [BZ #19881]
165         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
166         into ...
167         * sysdeps/x86_64/memset.S: This.
168         (__bzero): Removed.
169         (__memset_tail): Likewise.
170         (__memset_chk): Likewise.
171         (memset): Likewise.
172         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
173         defined.
174         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
175         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
176         (__memset_zero_constant_len_parameter): Check SHARED instead of
177         PIC.
178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
179         memset-avx2 and memset-sse2-unaligned-erms.
180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
181         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
182         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
183         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
184         (__bzero): Enabled.
185         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
186         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
187         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
188         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
189         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
190         (memset): Removed.
191         (__memset_chk): Likewise.
192         (MEMSET_SYMBOL): New.
193         (libc_hidden_builtin_def): Replace __memset_sse2 with
194         __memset_sse2_unaligned.
195         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
196         __memset_chk_sse2 and __memset_chk_avx2 with
197         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
198         Use __memset_chk_sse2_unaligned_erms or
199         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
200         __memset_chk_avx512_unaligned_erms and
201         __memset_chk_avx512_unaligned.
203 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
205         * math/gen-auto-libm-test.c (fp_format_desc): remove
206         suffix member.
207         (output_generic_value): Remove usage of suffix member,
208         and the resulting unuse of the fp_format argument.
209         (output_for_one_input_case): Remove unused fp_format
210         parameter.
212         * math/auto-libm-test-out: Regenerate.
214         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
215         usage with TEST_COND_ibm128.
216         (TEST_COND_flt_32): Remove.
217         (TEST_COND_dbl_64): Remove.
218         (TEST_COND_ldbl_96_intel): Remove.
219         (TEST_COND_ldbl_96_m68k): Remove.
220         (TEST_COND_ldbl_128): Remove.
222 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
224         * auto-libm-test-in:
225         Replace flt-32 usage with binary32.
226         Replace dbl-64 usage with binary64.
227         Replace ldbl-intel-96 usage with intel96.
228         Replace ldbl-m68k-96 usage with m68k96.
229         Replace ldbl-128ibm usage with ibm128.
230         Replace ldbl-128 usage with binary128.
232         * auto-libm-test-out: Regenerate.
234 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
236         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
237         (parse_ulps): Dynamically generate type name matching
238         string from all_floats.
239         (get_ulps): Generate the ulps as an array instead.
240         (output_ulps): Dynamically compose the type based
241         on the number of supported formats, and print
242         the indices as type specific helper macros.
244         * math/libm-test.inc: Remove comment about CHOOSE.
245         (ulp_data): Generate the type in libm-test-ulps.h.
246         (ULP_IDX): New macro.
247         (find_ulps): Update usage of max_ulp.
249         * math/test-double-vlen2.h (CHOOSE): Remove.
250         * math/test-double-vlen4.h (CHOOSE): Likewise.
251         * math/test-double-vlen8.h (CHOOSE): Likewise.
252         * math/test-float.c (CHOOSE): Likewise.
253         * math/test-float-finite.c (CHOOSE): Likewise.
254         * math/test-double.c (CHOOSE): Likewise.
255         * math/test-double-finite.c (CHOOSE): Likewise.
256         * math/test-idouble.c (CHOOSE): Likewise.
257         * math/test-ifloat.c (CHOOSE): Likewise.
258         * math/test-ildoubl.c (CHOOSE): Likewise.
259         * math/test-ldouble-finite.c (CHOOSE): Likewise.
260         * math/test-ldouble.c (CHOOSE): Likewise.
262         * math/test-float.h (TEST_FLOAT): Remove.
263         * math/test-double.h (TEST_DOUBLE): Likewise.
264         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
266 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
268         * math/gen-libm-test.pl: (apply_lit): New subroutine.
269         (parse_args): Strip C suffix from floating point literals
270         typed with 'f' and wrap them with LIT().
272         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
273         (test_ff_f_data_nexttoward): Rename to
274         (test_fj_f_data): New struct.
275         (nexttoward_test_data): Relabel tests as
276         TEST_fj_f instead of TEST_ff_f.
278 2016-06-08  Florian Weimer  <fweimer@redhat.com>
280         Emacs bug 23726.
281         * malloc/malloc.c (dumped_main_arena_start): Update comment.
282         (__libc_realloc): Correct size computation for dumped fake mmapped
283         chunks.
285 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
287         [BZ #20219]
288         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
289         to itself.
290         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
292         [BZ #20218]
293         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
294         to itself.
295         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
297 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
299         [BZ #20195]
300         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
301         check to ...
302         (init_cpu_features): Here.
304 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
306         [BZ #20214]
307         * sysdeps/unix/sysv/linux/bits/in.h
308         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
309          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
310         Define to 1.
311         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
312          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
313         Define to 0.
314         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
315         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
317 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
319         [BZ #20198]
320         * stdlib/Makefile (tests): Add tst-quick_exit, and
321         tst-thread-quick_exit.
322         [ifeq ($(have-cxx-thread_local),yes)]
323         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
324         (CFLAGS-tst-thread-quick_exit.o): Likewise.
325         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
326         (LDLIBS-tst-thread-quick_exit): Likewise.
327         [ifneq ($(have-cxx-thread_local),yes)]
328         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
329         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
330         If run_dtors is true call __call_tls_dtors.
331         (exit): Call __run_exit_handlers with run_dtors set to true.
332         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
333         definition.
334         * stdlib/quick_exit.c (quick_exit): Remove function.
335         (__new_quick_exit): New function.
336         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
337         function.
338         * stdlib/tst-quick_exit.cc: New file.
339         * stdlib/tst-thread-quick_exit.cc: New file.
340         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
341         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
342         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
344         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
345         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
346         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
347         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
348         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
350         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
352         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
354         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
355         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
360         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
361         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
362         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
363         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
364         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
367         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
368         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
369         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
371 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
373         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
374         a typo in comments.
376 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #20213]
379         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
380         argument to itself.
381         * math/libm-test.inc (asin_test_data): Add sNaN tests.
383 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
385         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
386         required flags.
387         (CFLAGS-pwritev64.c): Likewise.
388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
390         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
391         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
392         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
393         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
394         syscall from auto-generation.
395         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
396         [WORDSIZE == 64] (pwritev64): Remove macro.
397         [!PWRITEV] (PWRITEV): Likewise.
398         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
399         [!PWRITEV] (PWRITE): Likewise.
400         [!PWRITEV] (OFF_T): Likewise.
401         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
402         (LO_HI_LONG): Remove macro.
403         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
404         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
405         (PWRITEV): Remove macro.
406         (PWRITEV_REPLACEMENTE): Likewise.
407         (PWRITE): Likewise.
408         (OFF_T): Likewise.
409         (pwritev64): New function.
410         * nptl/tst-cancel4.c (tf_writev): Add test.
412         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
413         required flags.
414         (CFLAGS-preadv64.c): Likewise.
415         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
416         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
417         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
418         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
419         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
420         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
421         syscall from auto-generation.
422         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
423         [WORDSIZE == 64] (preadv64): Remove macro.
424         [!PREADV] (PREADV): Likewise.
425         [!PREADV] (PREADV_REPLACEMENT): Likewise.
426         [!PREADV] (PREAD): Likewise.
427         [!PREADV] (OFF_T): Likewise.
428         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
429         (LO_HI_LONG): Remove macro.
430         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
431         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
432         (PREADV): Remove macro.
433         (PREADV_REPLACEMENTE): Likewise.
434         (PREAD): Likewise.
435         (OFF_T): Likewise.
436         (preadv64): New function.
437         * nptl/tst-cancel4.c (tf_preadv): Add test.
439 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #20212]
442         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
443         argument to itself.
444         * math/libm-test.inc (acos_test_data): Add sNaN tests.
446 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
448         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
449         New symbol defined as libc_hidden_def.
450         (strcasestr): Became a weak alias to __strcasestr.
451         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
452         according to multi-arch support.  Move __stpncpy hidden
453         definition from here to...
454         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
455         symbol stpncpy.
456         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
457         libc_hidden_builtin_def.
458         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
459         memset symbol to use when multi-arch support is available.
461 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
463         * dlfcn/tst-rec-dlopen.c: Include string.h.
465 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
467         * manual/install.texi: Remove mention of --without-tls
468         * INSTALL: Regenerate.
470 2016-06-05  Florian Weimer  <fweimer@redhat.com>
472         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
473         Remove.
474         (call_function, interposed_malloc_called): New variables.
475         (malloc): New function.
476         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
477         and clear call_function as needed.
479 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
481         * include/wchar.h (__wmemset): Use __typeof.
483 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
485         * include/wchar.h (__wmemset): Declare function without typeof.
487 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
489         [BZ #20205]
490         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
491         exponent when incrementing negative subnormal with low mantissa
492         word zero.
493         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
494         Add another test.
496 2016-06-03  Florian Weimer  <fweimer@redhat.com>
498         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
499         __wmemset instead of wmemset.
501 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
503         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
504         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
505         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
506         __USE_KERNEL_IPV6_DEFS to 0.
507         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
508         Update comment.
510 2016-06-01  Florian Weimer  <fweimer@redhat.com>
512         [BZ #19861]
513         Do not use IFUNC resolver with potentially unrelocated symbol.
514         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
515         (DEFINE_FORK): Remove macro and inline definition.
516         (fork_alias): Renamed from fork_ifunc.
517         (__fork_alias): Renamed from __fork_ifunc.
519 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
521         [BZ 19653]
522         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
523         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
525 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
527         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
528         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
529         i386-linux-gnu).
530         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
531         Set to no.
532         * sysdeps/mach/hurd/configure: Refresh.
534 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
536         [BZ #20178]
537         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
538         on failure instead of exit.
540 2016-05-30  Roland McGrath  <roland@hack.frob.com>
542         [BZ #3629]
543         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
544         of POSIX.1-2008.
546 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
548         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
549           Use PLT entry for calling _hurd_self_sigstate.
551 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
553         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
554         available logical processors with SMT level type sharing L2
555         cache for Intel processors.
557 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
559         [BZ #20160]
560         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
561         argument to itself before returning the result.
562         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
563         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
564         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
565         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
566         Likewise.
567         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
568         Likewise.
569         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
570         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
571         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
572         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
573         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
574         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
576         [BZ #20160]
577         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
578         argument to itself before returning the result.
579         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
580         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
581         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
583         Likewise.
584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
585         Likewise.
586         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
587         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
588         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
589         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
590         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
591         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
593 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
595         * libm-test.inc: Replace usage of M_El with
596         (lit_e): New macro.
598 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
600         * libm-test.inc: Replace usage of M_PI_4l with
601         (lit_pi_4_d): New macro.
603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
605         * libm-test.inc: Replace usage of M_PIl with
606         (lit_pi): New macro.
608 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
610         * libm-test.inc: Replace usage of M_PI2l with
611         (lit_pi_2_d): New macro.
613         * math/test-double.h (LITM): New macro.
614         * math/test-float.h (LITM): Likewise.
615         * math/test-ldouble.h (LITM): Likewise.
617 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
619         * libm-test.inc (M_PI_34l): Rename to
620         (lit_pi_3_m_4_d): New Macro.
621         (M_PI_34_LOG10El): Rename to
622         (lit_pi_3_m_4_ln10_m_d): New Macro.
623         (M_PI2_LOG10El): Rename to
624         (lit_pi_2_ln10_m_d):  New Macro.
625         (M_PI4_LOG10El): Rename to
626         (lit_pi_4_ln10_m_d):  New Macro.
627         (M_PI_LOG10El): Rename to
628         (lit_pi_ln10_d):  New Macro.
630 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
632         [BZ #20157]
633         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
634         determine whether to negate low half if [_ARCH_PPCGR], and integer
635         comparison otherwise.
636         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
637         determine whether to negate low half.
639         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
640         (NO_TEST_INLINE_DOUBLE): Likewise.
641         (TEST_COND_x86_64): Likewise.
642         (TEST_COND_x86): Likewise.
643         (M_PI_6l): Likewise.
645 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
647         * math/libm-test.inc:
648         (TEST_FLOAT): Change usage to TEST_COND_binary32.
649         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
650         (TEST_LDOUBLE): Update usage to evaluate as true if
651         the guarded tests match the property being tested.
652         (LDBL_MAX_EXP): Change to MAX_EXP.
653         (LDBL_MIN_EXP): Change to MIN_EXP.
654         (LDBL_MANT_DIG): Change to MANT_DIG, except for
655         nexttoward tests.
657 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
659         * math/libm-test.inc:
660         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
661         (TYPE_MIN): Likewise.
662         (TYPE_TRUE_MIN): Likewise.
663         (TYPE_MAX): Likewise.
664         (MIN_EXP): Likewise.
665         (MAX_EXP): Likewise.
666         (MANT_DIG): Likewise.
668         (FSTR_MAX): New macro.
669         (__CONCATX): Likewise.
670         (QTYPE_STR): Likewise.
671         (TEST_COND_binary32): Likewise.
672         (TEST_COND_binary64): Likewise.
673         (TEST_COND_binary128): Likewise.
674         (TEST_COND_ibm128): Likewise.
675         (TEST_COND_intel96): Likewise.
676         (TEST_COND_m68k96): Likewise.
678         (TEST_COND_flt_32): Redefine as equivalent format test macro.
679         (TEST_COND_dbl_64): Likewise.
680         (TEST_COND_ldbl_96_intel): Likewise.
681         (TEST_COND_ldbl_96_m68k): Likewise.
682         (TEST_COND_ldbl_128): Likewise.
683         (TEST_COND_ldbl_128ibm): Likewise.
685         (plus_zero): Redefine using LIT macro.
686         (minus_zero): Likewise.
687         (plus_infty): Redefine as (INF).
688         (minux_infty): Redefine as (-INF).
689         (max_value): Redefine as TYPE_MAX.
690         (min_value): Redefine as TYPE_MIN.
691         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
693         (print_float): Refactor to use snprintf to convert FLOAT values
694         to string. This brings it closer to dropin replacement of strtof
695         for the TS 18661 defined types.
696         (update_stats): Likewise.
697         (print_complex_function_ulps): Likewise.
698         (print_max_error): Likewise.
699         (print_complex_max_error): Likewise.
700         (check_float_internal): Likewise.
702         * math/test-float.h (PREFIX): New macro.
703         (LIT): Likewise.
704         (TYPE_STR): Likewise.
705         (FTOSTR): Likewise.
707         * math/test-double.h (PREFIX): New macro.
708         (LIT): Likewise.
709         (TYPE_STR): Likewise.
710         (FTOSTR): Likewise.
712         * math/test-ldouble.h (PREFIX): New macro.
713         (LIT): Likewise.
714         (TYPE_STR): Likewise.
715         (FTOSTR): Likewise.
717 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
719         [BZ #20156]
720         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
721         to itself when zero or not finite.
722         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
723         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
724         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
725         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
727 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
729         [BZ #20153]
730         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
731         x * x + x for infinities and NaNs.
733         [BZ #20151]
734         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
735         argument to itself before returning result.
736         (__ieee754_y0l): Likewise.
737         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
738         (__ieee754_y1l).
740         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
741         (atan_test_data): Likewise.
742         (ceil_test_data): Likewise.
743         (cos_test_data): Likewise.
744         (cosh_test_data): Likewise.
745         (erf_test_data): Likewise.
746         (exp2_test_data): Likewise.
747         (fabs_test_data): Likewise.
748         (floor_test_data): Likewise.
749         (ilogb_test_data): Likewise.
750         (j0_test_data): Likewise.
751         (j1_test_data): Likewise.
752         (jn_test_data): Likewise.
753         (lgamma_test_data): Likewise.
754         (lrint_test_data): Likewise.
755         (llrint_test_data): Likewise.
756         (logb_test_data): Likewise.
757         (lround_test_data): Likewise.
758         (llround_test_data): Likewise.
759         (nearbyint_test_data): Likewise.
760         (rint_test_data): Likewise.
761         (round_test_data): Likewise.
762         (sin_test_data): Likewise.
763         (sincos_test_data): Likewise.
764         (sinh_test_data): Likewise.
765         (sqrt_test_data): Likewise.
766         (tan_test_data): Likewise.
767         (tanh_test_data): Likewise.
768         (tgamma_test_data): Likewise.
769         (trunc_test_data): Likewise.
770         (y0_test_data): Likewise.
771         (y1_test_data): Likewise.
772         (yn_test_data): Likewise.
774         * math/libm-test.inc: Update comment about NaN testing.
775         (TEST_SNAN): New macro.
776         (snan_value): Likewise.
777         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
778         (fpclassify_test_data): Add sNaN tests.
779         (isfinite_test_data): Likewise.
780         (isinf_test_data): Likewise.
781         (isnan_test_data): Likewise.
782         (isnormal_test_data): Likewise.
783         (issignaling_test_data): Likewise.
784         (signbit_test_data): Likewise.
785         * math/gen-libm-test.pl (%beautify): Add snan_value.
786         (show_exceptions): Add argument $test_snan.
787         (parse_args): Handle snan_value as non-finite.  Update call to
788         show_exceptions.
789         * math/Makefile (libm-test-no-inline-cflags): Add
790         -fsignaling-nans.
792 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
794         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
795         (CFLAGS-oldsendmsg.c): Add rule.
796         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
797         Correct recvmsg symbol name.
798         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
799         Likewise.
801 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
803         * sysdeps/unix/sysv/linux/Makefile
804         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
805         oldsendmmsg.
806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
807         sendmmsg.
808         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
809         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
811         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
813         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
814         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
816         Likewise.
817         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
818         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
819         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
820         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
821         iovlen and controllen fields to adjust to POSIX specification.
822         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
824         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
825         and change to correct expected type.
826         (msghdr.msg_controllen): Likewise.
827         (cmsghdr.cmsg_len): Likewise.
828         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
829         expected POSIX assumption about the size.
830         (msghdr.msg_controllen): Likewise.
831         (msghdr.__glibc_reserved1): Likewise.
832         (msghdr.__glibc_reserved2): Likewise.
833         (cmsghdr.cmsg_len): Likewise.
834         (cmsghdr.__glibc_reserved1): Likewise.
835         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
836         Add ptw-oldrecvmsg and ptw-oldsendmsg.
837         (CFLAGS-sendmsg.c): Remove rule.
838         (CFLAGS-recvmsg.c): Likewise.
839         (CFLAGS-oldsendmsg.c): Add rule.
840         (CFLAGS-oldrecvmsg.c): Likewise.
841         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
842         recvmsg and sendmsg.
843         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
844         Likewise.
845         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
846         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
847         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
848         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
849         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
850         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
851         Likewise.
852         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
853         Likewise.
854         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
855         Likewise.
856         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
857         Likewise.
858         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
859         Likewise.
860         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
861         Likewise.
862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
863         (GLIBC_2.24): Likewise.
864         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
865         Likewise.
866         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
867         Likewise.
868         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
869         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
870         Likewise.
871         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
872         Likewise.
873         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
874         Likewise.
875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
876         (GLIBC_2.24): Likewise.
877         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
878         Likewise.
879         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
880         Likewise.
881         * sysdeps/unix/sysv/linux/Makefile
882         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
883         (CFLAGS-sendmsg.c): Add rule.
884         (CFLAGS-recvmsg.c): Likewise.
885         (CFLAGS-oldsendmsg.c): Likewise.
886         (CFLAGS-oldrecvmsg.c): Likewise.
887         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
888         initialization.
889         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
890         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
891         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
892         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
893         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
894         iovlen and controllen fields to adjust to POSIX specification.
895         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
896         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
897         added recvmsg and sendmsg.
898         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
899         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
900         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
901         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
903         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
904         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
905         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
906         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
907         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
908         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
911         Likewise.
912         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
914         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
915         Likewise.
916         Likewise.
917         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
918         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
919         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
920         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
922         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
926         Likewise.
927         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
931         from auto-generation.
932         (sendmsg): Likewise.
933         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
934         (sendmsg): Likewise.
935         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
936         (sendmsg): Likewise.
937         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
938         (sendmsg): Likewise.
939         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
940         (sendmsg): Likewise.
941         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
942         (sendmsg): Likewise.
943         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
944         Likewise.
945         (sendmsg): Likewise.
946         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
947         (sendmsg): Likewise.
948         * sysdeps/unix/sysv/linux/i386/kernel-features.h
949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
950         Remove.
951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
952         Likewise.
953         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
954         Undefine.
955         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
956         Likewise.
957         * sysdeps/unix/sysv/linux/kernel-features.h
958         (__ASSUME_SENDMSG_SYSCALL): Define.
959         (__ASSUME_RECVMSG_SYSCALL): Likewise.
960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
962         Remove.
963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
964         Likewise.
965         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
966         Undefine.
967         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
968         Likewise.
969         * sysdeps/unix/sysv/linux/s390/kernel-features.h
970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
971         Remove.
972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
973         Likewise.
974         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
975         Undefine.
976         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
977         Likewise.
978         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
979         (__ASSUME_SENDMSG_SYSCALL): Undefine.
980         (__ASSUME_RECVMSG_SYSCALL): Likewise.
981         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
982         (__ASSUME_SENDMSG_SYSCALL): Likewise.
983         (__ASSUME_RECVMSG_SYSCALL): Likewise.
984         * sysdeps/unix/sysv/linux/sh/kernel-features.h
985         (__ASSUME_SENDMSG_SYSCALL): Likewise.
986         (__ASSUME_RECVMSG_SYSCALL): Likewise.
988 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
990         * stdlib/gen-tst-strtod-round.c: Add backslash to
991         compile command in comment.
992         (printfp): Remove the literal suffix, and define an infinite
993         value as INF to avoid expansion clash with INFINITY.
994         (round_str): Remove the literal suffix.
995         (round_for_all): Likewise, remove the now duplicate ldbl-64
996         entry, and remove some magic constants.
998         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
999         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1000         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1001         (_CONCAT): New macro.
1002         (CONCAT): Likewise.
1003         (CHOOSE_ld): Likewise.
1004         (CHOOSE_f): Likewise.
1005         (CHOOSE_d): Likewise.
1006         (FTYPE_MEMBER): Likewise.
1007         (BOOL_MEMBER): Likewise.
1008         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1009         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1010         (_XNTRY): Likewise.
1011         (XNTRY): Likewise.
1012         (_ENTRY): Likewise.
1013         (ENTRY): Likewise.
1014         (test_exactness): Generate members via macro.
1015         (test_results): Likewise.
1016         (test): Update members.
1017         (TEST): Redefine using new macros.
1018         (INF): New macro.
1019         (fetestmodes): New structure.
1020         (do_test): Refactor to be type generic.
1021         (test_in_one_mode): Refactor duplicate code into
1022         (GEN_ONE_TEST): New macro.
1024         * stdlib/tst-strtod-round-data.h: Regenerate.
1026         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1027         Extend to pass additional arbitrary parameters to
1028         generators.
1030 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1032         [BZ #15479]
1033         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1034         floating-point state after first floating-point operation on
1035         input.  Restore full floating-point state instead of just rounding
1036         mode.
1037         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1038         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1039         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1040         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1041         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1043         [BZ #15479]
1044         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1045         floating-point state after first floating-point operation on
1046         input.  Restore full floating-point state instead of just rounding
1047         mode.
1048         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1049         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1050         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1051         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1052         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1054 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1056         [BZ #19727]
1057         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1058         valid high surrogate.
1059         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1060         of an utf16 surrogate.
1061         * iconv/gconv_simple.c (BODY): Likewise.
1062         * iconvdata/bug-iconv12.c: New file.
1063         * iconvdata/Makefile (tests): Add bug-iconv12.
1065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1067         [BZ #19726]
1068         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1069         outptrp in case of an illegal input.
1070         * iconv/tst-iconv6.c: New file.
1071         * iconv/Makefile (tests): Add tst-iconv6.
1073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1075         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1076         an error in case of a value in range of an utf16 low surrogate.
1078 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1080         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1081         an error in case of a value in range of an utf16 low surrogate.
1083 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1085         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1086         Move to ...
1087         * sysdeps/s390/Makefile: ... here.
1088         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1089         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1090         (BRANCH_ON_COUNT): New define.
1091         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1092         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1093         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1094         run on s390-32, too.
1095         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1096         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1097         run on s390-32, too.
1098         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1099         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1100         run on s390-32, too.
1102 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1104         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1105         etf3eh or new vector loop-variant.
1107 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1109         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1110         etf3eh or new vector loop-variant.
1112 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1114         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1115         or new vector loop-variant.
1117 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1119         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1120         Rename to TR_LOOP and usage of tr instead of troo instruction.
1122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1124         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1129         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1130         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1131         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1132         New override define.
1133         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1135 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1137         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1138         * sysdeps/s390/configure.ac: Add test for S390 vector register
1139         support in gcc.
1140         * sysdeps/s390/configure: Regenerated.
1142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1144         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1145         Install file from $(objpfx)gconv-modules.
1146         ($(objpfx)gconv-modules): Concatenate architecture specific file
1147         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1148         * sysdeps/s390/gconv-modules: New file.
1149         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1150         Deleted.
1151         ($(objpfx)gconv-modules-s390): Deleted.
1152         (sysdeps-gconv-modules): New variable.
1154 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1156         [BZ #15479]
1157         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1158         of immediate operand to rounding instruction.
1159         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1160         Likewise.
1161         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1162         Likewise.
1163         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1164         Likewise.
1166 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1168         * math/libm-test.inc (MIN_EXP): Directly define as
1169         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1171 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1173         * math/libm-test.inc (MANT_DIG): Directly define as
1174         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1176 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1178         * stdlib/gen-tst-strtod-round.c (main):
1179           Change usage to more closely match the generated
1180           output.  Add usage and compilation instructions.
1181           (string_to_fp): Add and use FILE* parameter as
1182           output target.
1183           (print_fp): Likewise.
1184           (round_str): Likewise.
1185           (round_for_all): Likewise.
1186         * stdlib/tst-strtod-round.c (tests): Move into
1187         * stdlib/tst-strtod-round-data.h: New file.
1189 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1191         [BZ #15479]
1192         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1193         (__round): Do not force "inexact" exception.
1194         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1195         variable.
1196         (__round): Do not force "inexact" exception.
1197         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1198         (__roundf): Do not force "inexact" exception.
1199         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1200         (__roundl): Do not force "inexact" exception.
1201         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1202         (__roundl): Do not force "inexact" exception.
1203         * math/libm-test.inc (round_test_data): Do not allow spurious
1204         "inexact" exceptions.
1206         [BZ #15479]
1207         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1208         exception in comment.
1209         (huge): Remove variable.
1210         (__floor): Do not force "inexact" exception.
1211         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1212         "inexact" exception in comment.
1213         (huge): Remove variable.
1214         (__floor): Do not force "inexact" exception.
1215         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1216         exception in comment.
1217         (huge): Remove variable.
1218         (__floorf): Do not force "inexact" exception.
1219         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1220         exception in comment.
1221         (huge): Remove variable.
1222         (__floorl): Do not force "inexact" exception.
1224         [BZ #15479]
1225         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1226         exception in comment.
1227         (huge): Remove variable.
1228         (__ceil): Do not force "inexact" exception.
1229         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1230         "inexact" exception in comment.
1231         (huge): Remove variable.
1232         (__ceil): Do not force "inexact" exception.
1233         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1234         (__ceilf): Do not force "inexact" exception.
1235         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1236         exception in comment.
1237         (huge): Remove variable.
1238         (__ceill): Do not force "inexact" exception.
1240 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1242         * config.h.in (BIND_NOW): New.
1243         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1244         * configure: Regenerated.
1245         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1246         indirect branch via the GOT slot.
1248 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1250         [BZ #19765]
1251         * sysdeps/s390/mempcpy.S: New File.
1252         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1253         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1254         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1255         Add mempcpy variants.
1256         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1257         (memcpy): Adjust to be usable from mempcpy entry point.
1258         (__memcpy_mvcle): Likewise.
1259         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1260         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1261         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1262         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1263         (__memcpy_z10): Likewise.
1264         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1266 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1268         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1269         Remove __GI_ symbol.
1270         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1271         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1272         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1273         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1274         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1275         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1277 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1279         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1280         Use cghi instead of chi to compare 64bit value.
1282 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1284         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1285         Jump to 1MB check before executing mvc-loop.
1287 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1289         [BZ #6527]
1290         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1291         unconditionally.
1292         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1294 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1296         * stdlib/tst-strtod6.c (do_test): Use new type generic
1297         invocation of the test function.
1298         (test): Refactor into ...
1299         (TEST_STRTOD): New macro base function.
1301 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1303         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1304         (TEST_STRTOD): New macro.
1305         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1307 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1309         * stdlib/tst-strtod6.c (do_test): Use new type generic
1310         invocation of the test function.
1311         (test): Refactor into ...
1312         (TEST_STRTOD): New macro base function.
1314 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1316         CVE-2016-4429
1317         [BZ #20112]
1318         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1319         payload.
1321 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1323         [BZ #20111]
1324         * bits/sockaddr.h (_SS_SIZE): Define.
1325         * bits/socket.h (_SS_SIZE): Remove.
1326         (_SS_PADSIZE): Adjust to account for all padding.
1327         (struct sockaddr_storage): Update comment.  Avoid implicit
1328         padding.
1329         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1330         (_SS_PADSIZE): Adjust to account for all padding.
1331         (struct sockaddr_storage): Update comment.  Avoid implicit
1332         padding.
1333         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1334         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1335         (_SS_PADSIZE): Adjust to account for all padding.
1336         (struct sockaddr_storage): Update comment.  Avoid implicit
1337         padding.
1338         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1339         __SS_SIZE is 126 in this version.
1340         * inet/tst-sockaddr.c: New file.
1341         * inet/Makefile (tests): Add tst-sockaddr.c
1342         (tst-sockaddr.c): Compile with non-strict aliasing.
1344 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1346         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1347         [XPG3 || XPG4].
1348         (NL_ARGMAX): Also expect for [XPG3].
1349         (NL_LANGMAX): Likewise.
1350         (NL_MSGMAX): Likewise.
1351         (NL_NMAX): Likewise.
1352         (NL_SETMAX): Likewise.
1353         (NL_TEXTMAX): Likewise.
1354         (NZERO): Likewise.
1355         (TMP_MAX): Likewise.
1356         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1357         variable.
1359         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1360         (PF_MAX): Update value.
1361         (AF_KCM): New macro.
1362         (SOL_NETBEUI): Likewise.
1363         (SOL_LLC): Likewise.
1364         (SOL_DCCP): Likewise.
1365         (SOL_NETLINK): Likewise.
1366         (SOL_TIPC): Likewise.
1367         (SOL_RXRPC): Likewise.
1368         (SOL_PPPOL2TP): Likewise.
1369         (SOL_BLUETOOTH): Likewise.
1370         (SOL_PNPIPE): Likewise.
1371         (SOL_RDS): Likewise.
1372         (SOL_IUCV): Likewise.
1373         (SOL_CAIF): Likewise.
1374         (SOL_ALG): Likewise.
1375         (SOL_NFC): Likewise.
1376         (SOL_KCM): Likewise.
1377         (MSG_BATCH): New enum value and macro.
1379 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1381         [BZ #18185]
1382         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1383         sharing L2 cache to 2 for Knights Landing.
1385 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1387         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1388         (FTW_DP): Do not expect for [XPG3 || XPG4].
1389         (FTW_SL): Do not expect for [XPG3].
1390         (FTW_SLN): Likewise.
1391         (FTW_PHYS): Likewise.
1392         (FTW_MOUNT): Likewise.
1393         (FTW_DEPTH): Likewise.
1394         (FTW_CHDIR): Likewise.
1395         (nftw): Likewise.
1396         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1397         variable.
1399 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1401         * manual/errno.texi: Fix various typos & grammar errors.
1403 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1405         * manual/intro.texi: Fix duplicated typo.
1407 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1409         [BZ #13304]
1410         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1411         <float.h>, <math_private.h> and <stdlib.h>.
1412         (add_split): New function.
1413         (mul_split): Likewise.
1414         (ext_val): New typedef.
1415         (store_ext_val): New function.
1416         (mul_ext_val): New function.
1417         (compare): New function.
1418         (add_split_ext): New function.
1419         (__fmal): After checking for Inf, NaN and zero, compute result as
1420         an exact sum of scaled double values in round-to-nearest before
1421         adding those up and adjusting for other rounding modes.
1422         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1423         tests of fma.
1424         * math/auto-libm-test-out: Regenerated.
1426 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1428         [BZ #20119]
1429         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1430         processor level type mask for CPUID with EAX == 11.
1432 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1434         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1435         logical threads if the HTT bit is 0.
1436         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1437         (index_cpu_HTT): Likewise.
1438         (reg_HTT): Likewise.
1440 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1442         [BZ #20115]
1443         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1444         Remove alignments on jump targets.
1446 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1448         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1449         (getpwent): Likewise.
1450         (setpwent): Likewise.
1451         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1452         variable.
1454         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1455         (remque): Likewise.
1456         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1457         variable.
1459 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1461         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1462         not being tested.
1464 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1467         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1468         call.
1469         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1470         (__condvar_cleanup1): Likewise.
1472 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1474         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1475         New
1476         (__pthread_unwind): Renamed to ...
1477         (PTHREAD_UNWIND): This.
1478         (__pthread_enable_asynccancel): Replace
1479         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1481 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1483         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1484         (CLONE_NEWCGROUP): New macro.
1486         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1487         (Q_GETNEXTQUOTA): New macro.
1489 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1491         [BZ #19907]
1492         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1493         buffer updated by the previous run.
1494         * string/test-memcpy.c (do_one_test): Likewise.
1495         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1496         * string/test-memmove.c (do_one_test): Likewise.
1498 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1500         [BZ #20094]
1501         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1502         not [__USE_XOPEN].
1503         (unlockpt): Likewise.
1504         (ptsname): Likewise.
1505         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1506         variable.
1508         [BZ #20076]
1509         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1510         instead of [__USE_UNIX98].
1511         (S_ISSOCK): Likewise.
1512         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1513         variable.
1515         [BZ #20074]
1516         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1517         [__USE_POSIX].
1518         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1519         variable.
1521         [BZ #20051]
1522         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1523         (ttyslot): Do not declare.
1524         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1525         (ttyslot): New prototype.
1526         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1527         variable.
1528         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1530 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1532         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1534 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1536         Fix race condition in tst-mallocfork2, use fewer resources.
1537         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1538         to current process group.
1539         (signal_sender): Yield in the non-sleeping case.
1541 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1543         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1544         (ecvt): Likewise.
1545         (fcvt): Likewise.
1546         (gcvt): Likewise.
1547         (getsubopt): Likewise.
1548         (grantpt): Likewise.
1549         (initstate): Likewise.
1550         (l64a): Likewise.
1551         (mktemp): Likewise.
1552         (mkstemp): Likewise.
1553         (ptsname): Likewise.
1554         (random): Likewise.
1555         (realpath): Likewise.
1556         (setstate): Likewise.
1557         (srandom): Likewise.
1558         (ttyslot): Likewise.
1559         (unlockpt): Likewise.
1560         (valloc): Likewise.
1562         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1563         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1564         variable.
1566 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1568         [BZ #20072]
1569         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1570         init_cpu_features only if SHARED is defined.
1571         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1573 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1575         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1576         non-inclusive caches on Intel processors.
1578 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1580         * malloc/malloc.c (dumped_main_arena_start)
1581         (dumped_main_arena_end): New variables.
1582         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1583         (do_check_chunk): Skip dumped fake mmapped chunks.
1584         (munmap_chunk): Likewise.
1585         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1586         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1587         mmapped chunks.
1588         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1589         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1590         and dumped_main_arena_end to cover the dumped heap.
1592 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1594         * conform/data/time.h-data (getdate_err): Do not expect for
1595         [XPG3].
1596         (getdate): Likewise.
1597         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1598         variable.
1600         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1601         (F_ULOCK): Likewise.
1602         (F_TEST): Likewise.
1603         (F_TLOCK): Likewise.
1604         (useconds_t): Likewise.
1605         (intptr_t): Do not expect for [XPG3] or [XPG4].
1606         (brk): Do not expect for [XPG3]
1607         (fchown): Likewise.
1608         (fchdir): Likewise.
1609         (ftruncate): Likewise.
1610         (getdtablesize): Likewise.
1611         (gethostid): Likewise.
1612         (getpagesize): Likewise.
1613         (getpgid): Likewise.
1614         (getsid): Likewise.
1615         (getwd): Likewise.
1616         (lchown): Likewise.
1617         (lockf): Likewise.
1618         (readlink): Likewise.
1619         (sbrk): Likewise.
1620         (setpgrp): Likewise.
1621         (setregid): Likewise.
1622         (setreuid): Likewise.
1623         (symlink): Likewise.
1624         (sync): Likewise.
1625         (truncate): Likewise.
1626         (ualarm): Likewise.
1627         (usleep): Likewise.
1628         (vfork): Likewise.
1629         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1630         variable.
1632         [BZ #20054]
1633         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1634         not [__USE_UNIX98].
1635         * conform/data/unistd.h-data (gethostname): Do not expect for
1636         [XPG3].
1638         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1639         [!POSIX] (S_IFBLK): Likewise.
1640         [!POSIX] (S_IFCHR): Likewise.
1641         [!POSIX] (S_IFIFO): Likewise.
1642         [!POSIX] (S_IFREG): Likewise.
1643         [!POSIX] (S_IFDIR): Likewise.
1644         [!POSIX] (S_IFLNK): Likewise.
1645         [!POSIX] (S_IFSOCK): Likewise.
1646         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1647         variable.
1648         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1650 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1652         * sysdeps/aarch64/memset.S (__memset):
1653         Rewrite of optimized memset.
1655 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1657         [BZ #19703]
1658         Partially async-signal-safe fork for single-threaded processes.
1659         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1660         variable.  Do not acquire and reset/release malloc and libio locks
1661         in single-threaded processes.
1662         * malloc/tst-mallocfork2.c: New file.
1663         * malloc/Makefile (tests): Add it.
1665 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1667         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1668         argument.  Use scratch buffer instead of extend_alloca.
1669         (gethosts): Use scratch buffer instead of extend_alloca.
1670         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1671         extend_alloca.
1672         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1674 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #20055]
1677         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1678         instead of [__USE_UNIX98].
1679         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1680         [__USE_UNIX98].
1681         * conform/data/termios.h-data (tcgetsid): Do not expect for
1682         [XPG3].
1683         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1684         variable.
1685         (test-xfail-XPG4/termios.h/conform): Likewise.
1687 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1689         Do not use mcheck in localedef.
1690         * locale/programs/localedef.c (turn_on_mcheck)
1691         (__malloc_initialize_hook): Remove.
1693 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1695         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1696         * sysdeps/s390/s390-64/Makefile: Likewise.
1698 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1700         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1701         Remove ifunc-defines.sym.
1702         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1703         Likewise.
1704         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1705         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1706         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1707         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1708         rtld-global-offsets.sym.
1709         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1710         * sysdeps/x86/cpu-features-offsets.sym: This.
1711         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1712         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1714 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1716         [BZ #20073]
1717         * io/sys/stat.h (fchmod): Declare for
1718         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1719         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1720         variable.
1722         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1723         [XPG3] (S_IFSOCK): Likewise.
1724         [XPG3] (S_ISVTX): Likewise.
1725         [XPG3] (S_ISLNK): Likewise.
1726         [XPG3] (S_ISSOCK): Likewise.
1727         [XPG3] (fchmod): Likewise.
1728         [XPG3] (lstat): Likewise.
1729         [XPG3] (mknod): Likewise.
1731         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1732         [XPG3].  Expect type long and XFAIL for [XPG4].
1733         (st_blocks): Likewise.
1735         [BZ #20044]
1736         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1737         (pthread_atfork): New prototype.
1738         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1739         variable.
1741         [BZ #20043]
1742         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1743         prototype.
1745 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1747         [BZ #20017]
1748         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1749         gmtime.
1751 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1753         [BZ #19994]
1754         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1755         flag in _res.options.
1757 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1759         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1760         [XPG3 || XPG4].
1761         (blksize_t): Likewise.
1762         (clockid_t): Likewise.
1763         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1764         variable.
1765         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1767 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1769         * sysdeps/unix/sysv/linux/s390/init-first.c:
1770         Add VDSO_SYMBOL(getcpu).
1771         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1772         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1773         Add VDSO_SYMBOL(getcpu).
1774         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1775         New define HAVE_GETCPU_VSYSCALL.
1776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1778 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1780         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1781         instead of <sysdeps/x86_64/cacheinfo.c>.
1782         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1783         * sysdeps/x86/cacheinfo.c: Here.
1785 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1787         * malloc/malloc-internal.h: Adjust header file guard.
1789 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1791         [BZ #19787]
1792         * inet/getnameinfo.c (check_sprintf_result): New function.
1793         (CHECKED_SNPRINTF): New macro.
1794         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1795         to the host buffer.
1796         (gni_host_local): Use checked_copy to copy the host name.
1797         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1798         (gni_serv_local): Use checked_copy to copy the service name.
1799         (getnameinfo): Remove unnecessary truncation of result buffers.
1801 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1803         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1804         in case of inet_ntop failure.
1806 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1808         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1809         avoid long lines.
1810         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1811         variables.
1812         (gni_host_inet, gni_host_local): Add comment.
1813         (gni_host): Add comment.  Use temporary to avoid long lines.
1815 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1817         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1818         registers specifiers where general purpose registers specifiers should
1819         have been used.
1821 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1823         [BZ #19779]
1824         CVE-2016-1234
1825         Avoid copying names of directory entries.
1826         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1827         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1828         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1829         (struct readdir_result): New type.
1830         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1831         (GL_READDIR): New macros.
1832         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1833         (convert_dirent, convert_dirent64): New functions.
1834         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1835         convert_dirent64.  Adjust references to the readdir result.
1836         * sysdeps/unix/sysv/linux/i386/glob64.c:
1837         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1838         * posix/bug-glob2.c (LONG_NAME): Define.
1839         (filesystem): Add LONG_NAME.
1840         (my_DIR): Increase the size of room_for_dirent.
1842 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1844         [BZ #20041]
1845         * misc/sys/select.h (__need_timespec): Only define if
1846         [__USE_XOPEN2K].
1847         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1848         variable.
1849         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1850         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1851         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1853 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1854             Segher Boessenkool  <segher@gcc.gnu.org>
1856         [BZ #20004]
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1858         (__novec_swapcontext): Add missing load.
1860 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1862         [BZ #20023]
1863         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1864         <time.h>.
1865         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1866         variable.
1867         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1869 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1872         flags CLONE_VM compare.
1874 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1876         [BZ #20031]
1877         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1878         completely empty.
1880 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1882         [BZ #19573]
1883         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1884         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1885         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1886         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1887         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1888         (hesiod_free_list): Mark as hidden.
1889         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1890         res_set, res_get.
1891         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1892         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1893         (hesiod_init): Remove obsolete res_ninit call.
1894         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1895         (hesiod_bind): Do not call init.
1896         (get_txt_records): Use res_mkquery, res_send instead of
1897         res_nmkquery, res_nsend.
1898         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1899         instead of _nss_hesiod_init.
1900         (_nss_hesiod_initgroups_dyn): Likewise.
1901         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1902         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1903         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1905 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1907         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1908         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1910 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1912         * hesiod/hesiod.h: Remove RCS keyword.
1913         * hesiod/hesiod_p.h: Likewise.
1915         * hesiod/hesiod.c: Likewise.
1917 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1919         [BZ #12450]
1920         * locale/iso-639.def: Add Samogitian/sgs.
1922 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1924         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1926         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1928 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1929             Carlos O'Donell  <carlos@redhat.com>
1931         [BZ #19072]
1932         * grp/Makefile (headers): Add grp-merge.h
1933         (routines): Add grp-merge.
1934         * grp/getgrgid_r.c: Include grp-merge.h.
1935         (DEEPCOPY_FN): Define.
1936         (MERGE_FN): Define.
1937         * grp/getgrname_r.c: Include grp-merge.h.
1938         (DEEPCOPY_FN): Define.
1939         (MERGE_FN): Define.
1940         * grp/grp-merge.c: New file.
1941         * grp/grp-merge.h: New file.
1942         * include/grp-merge.h: New file.
1943         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1944         __copy_grp@GLIBC_PRIVATE.
1945         * manual/nss.texi (Actions in the NSS configuration): Describe
1946         return, continue, and merge.
1947         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1948         (DEEPCOPY_FN): Define.
1949         (MERGE_FN): Define.
1950         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1951         (DEEPCOPY_FN): Define.
1952         (MERGE_FN): Define.
1953         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1954         [!MERGE_FN]: Define __merge_einval.
1955         (CHECK_MERGE): Define.
1956         (REENTRANT_NAME): Process merge if do_merge is true.
1957         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1958         (__nss_getent_r): Likewise.
1959         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1960         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1962 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1964         [BZ #20012]
1965         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1966         length to calculate the buffer to read.
1967         (fmemopen_write): Set the buffer position based on bytes written.
1968         (fmemopen_seek): Return EINVAL for invalid whence modes.
1970         [BZ #19957]
1971         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1972         tst-getpid2.
1973         (test): Add tst-clone2.
1974         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1975         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1976         pid/tid fields for CLONE_VM.
1977         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1978         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1979         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1980         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1981         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1982         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1983         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1984         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1986         Likewise.
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1988         Likewise.
1989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1990         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1991         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1992         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1993         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1994         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1995         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1996         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1998 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2000         [BZ #19642]
2001         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2002         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2003         (gni_serv_local, gni_serv): New functions extracted from
2004         getnameinfo.
2005         (getnameinfo): Call gni_host and gni_serv to perform the
2006         processing.  Always free scratch buffer.
2008 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2010         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2011         remaining bytes in the dest string, with zeros.
2013 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2015         [BZ #20010]
2016         CVE-2016-3706
2017         * sysdeps/posix/getaddrinfo.c
2018         (convert_hostent_to_gaih_addrtuple): New function.
2019         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2020         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2021         AF_INET data.
2023 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2025         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2026         callback function gl_readdir.
2027         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2028         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2029         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2030         memcpy to copy the name.
2031         * manual/pattern.texi (Calling Glob): Document requirements for
2032         implementations of the gl_readdir callback function.
2033         * manual/examples/mkdirent.c: New example.
2034         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2035         per the manual guidance.
2036         * posix/tst-gnuglob.c (my_readdir): Likewise.
2038 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #20014]
2041         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2042         not [__USE_POSIX].
2043         (getchar_unlocked): Likewise.
2044         (putc_unlocked): Likewise.
2045         (putchar_unlocked): Likewise.
2046         (flockfile): Likewise.
2047         (ftrylockfile): Likewise.
2048         (funlockfile): Likewise.
2049         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2050         variable.
2051         (test-xfail-XPG4/stdio.h/conform): Likewise.
2053         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2054         Expect constant.
2055         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2056         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2057         variable.
2058         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2059         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2061         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2062         [__USE_LARGEFILE64] (off64_t): Likewise.
2063         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2064         variable.
2066 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2068         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2070 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2072         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2073         * resolv/res_init.c: Likewise.
2074         * resolv/res_mkquery.c: Likewise.
2076 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2078         * resolv/res_init.c (isascii): Do not define.  Use definition in
2079         <ctype.h>.
2080         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2081         (LOG_AUTH): Remove.
2082         (SPRINTF): Remove, adjust caller.
2083         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2087         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2088         SUNSECURITY conditional.
2089         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2091 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2093         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2094         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2095         Remove BSD-related preprocessor conditionals.
2096         * conf/portability.h: Remove.
2098 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2100         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2101         * resolv/res_data.c: Likewise.
2103 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2105         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2106         * resolv/res_data.c: Remove code conditional on ultrix.
2108 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2110         * resolv/res_init.c (RFC1535): Do not define.  Remove
2111         RFC1535 preprocessor conditionals.
2112         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2113         because there configuration options which make the resolver
2114         behavior different.
2116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2118         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2119         RESOLVSORT preprocessor conditionals.
2120         * resolv/nss_dns/dns-host.c: Likewise.
2121         * resolv/res_init.c: Likewise.
2123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2125         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2126         is never defined.
2128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2130         * inet/inet_lnaof.c: Remove SCSS keyword.
2131         * inet/inet_mkadr.c: Likewise.
2132         * inet/inet_net.c: Likewise.
2133         * inet/inet_netof.c: Likewise.
2134         * inet/rcmd.c: Likewise.
2135         * inet/rexec.c: Likewise.
2136         * inet/ruserpass.c: Likewise.
2138 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2140         * resolv/inet_addr.c: Remove _LIBC conditionals.
2141         * resolv/res_data.c: Likewise.
2142         * resolv/res_init.c: Likewise.
2143         * resolv/res_mkquery.c: Likewise.
2144         * resolv/res_libc.c: Update comment.
2145         * resolv/README: Update.
2147 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2149         * resolv/gethnamaddr.c: Remove SCSS keyword.
2150         * resolv/herror.c: Likewise.
2151         * resolv/inet_addr.c: Likewise.
2152         * resolv/inet_net_ntop.c: Likewise.
2153         * resolv/inet_net_pton.c: Likewise.
2154         * resolv/inet_neta.c: Likewise.
2155         * resolv/inet_ntop.c: Likewise.
2156         * resolv/inet_pton.c: Likewise.
2157         * resolv/ns_date.c: Remove RCS keyword.
2158         * resolv/ns_name.c: Likewise.
2159         * resolv/ns_netint.c: Likewise.
2160         * resolv/ns_parse.c: Likewise.
2161         * resolv/ns_print.c: Likewise.
2162         * resolv/ns_samedomain.c: Likewise.
2163         * resolv/ns_ttl.c: Likewise.
2164         * resolv/nsap_addr.c: Likewise.
2165         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2166         * resolv/res_data.c: Remove RCS keyword.
2167         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2168         * resolv/res_init.c: Likewise.
2169         * resolv/res_mkquery.c: Likewise.
2170         * resolv/res_query.c: Likewise.
2171         * resolv/res_send.c: Likewise.
2173 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2175         * conform/data/stdio.h-data (fdopen): Expect also for
2176         [XPG3 || XPG4].
2178         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2179         (fseeko): Likewise.
2180         (ftello): Likewise.
2181         (ftrylockfile): Likewise.
2182         (funlockfile): Likewise.
2183         (getc_unlocked): Likewise.
2184         (getchar_unlocked): Likewise.
2185         (putc_unlocked): Likewise.
2186         (putchar_unlocked): Likewise.
2188 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2190         [BZ #19868]
2191         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2192         DNS packet syntax checks (which were not needed before).  Skip
2193         over non-PTR records.
2195 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2197         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2198         definition.  Include <stddef.h> instead.
2200 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2202         [BZ #19831]
2203         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2204         function.
2205         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2206         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2208 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2210         [BZ #19862]
2211         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2212         (getanswer_r): Do not call syslog.
2213         (gaih_getanswer_slice): Likewise.
2214         * resolv/gethnamaddr.c (AskedForGot): Remove.
2215         (getanswer): Do not call syslog.
2216         (gethostbyaddr): Likewise.
2218 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2220         * conform/data/signal.h-data (union sigval): Expect also if
2221         [XOPEN2K].
2222         (struct sigevent): Likewise.
2223         (SIGEV_NONE): Likewise.
2224         (SIGEV_SIGNAL): Likewise.
2225         (SIGEV_THREAD): Likewise.
2226         (SIGRTMIN): Likewise.
2227         (SIGRTMAX): Likewise.
2228         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2229         variable.
2230         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2232 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2234         [BZ #19830]
2235         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2236         (gaih_getanswer_slice): Likewise.
2237         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2238         Also check for availability of RR metadata.
2240 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2242         [BZ #19825]
2243         * resolv/res_send.c (send_vc): Remove early *resplen2
2244         initialization.  Set *resplen2 on socket error.  Call
2245         close_and_return_error for other errors.
2247 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2249         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2250         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2251         (SCM_IUCV_TRGCLS): New define.
2253 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2255         [BZ #20005]
2256         * libio/fmemopen.c (fmemopen_write): Update internal position after
2257         write.
2258         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2259         * stdio-common/tst-fmemopen4.c: New file..
2261 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2263         [BZ #19996]
2264         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2265         not [__USE_XOPEN2K].
2266         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2267         variable.
2269         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2270         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2271         variable.
2273         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2274         [__USE_XOPEN2K8].
2275         [__USE_LARGEFILE64] (off64_t): Likewise.
2276         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2277         variable.
2279 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2281         [BZ #19989]
2282         * libio/stdio.h (cuserid): Do not declare if
2283         [__USE_XOPEN2K && !__USE_GNU].
2284         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2285         variable.
2287 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2289         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2290         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2292         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2293         ifunc'ed strcspn.
2294         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2295         [EALIGN]: Removed.
2296         [END]: Likewise
2297         [STRSPN]: Define instead of the above to control symbol name.
2298         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2299         New file.
2300         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2301         Likewise.
2302         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2303         Likewise.
2304         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2305         Likewise.
2306         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2307         [INITIAL_MASK]: New macro.
2308         [STRCSPN]: Likewise.
2309         [UPDATE_MASK]: Likewise.
2310         [USE_AS_STRCSPN]: Lisewise.
2312 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2314         [BZ #19931]
2315         * stdio-common/tst-vfprintf-width-prec.c: New file.
2316         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2317         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2318         (generated): Add mtrace-related files.
2319         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2320         (tst-%-mem.out): New pattern rule, replaces
2321         tst-printf-bz18872-mem.out.
2322         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2323         specifier, deallocate any previously allocated work buffer.
2325 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2327         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2328         Add nop before __startcontext, add explaining comments.
2330 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2332         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2333         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2334         completely different API.
2336         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2337         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2338         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2339         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2340         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2341         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2342         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2343         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2344         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2345         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2347 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2349         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2351 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2353         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2354         when it is the default of 0.
2356 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2358         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2359         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2360         (sysdep_routines): Add new strcasestr targets.
2361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2362         (__libc_ifunc_impl_list): Likewise.
2363         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2364         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2365         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2366         * sysdeps/powerpc/powerpc64/power8/Makefile:
2367         New file to add strcasestr-ppc64 to sysdep_routines.
2368         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2369         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2371 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2373         * benchtests/Makefile (wcsmbs-benchset): Include only for
2374         native builds and runs.
2375         (LOCALES): Likewise.
2376         (bench-build): Build timing-type here instead of the bench
2377         target.  Generate locale only for native builds.
2378         * benchtests/README: Add note for cross-building.
2380         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2382         * benchtests/README: Update README to include instructions on
2383         using bench-build.
2385         * Makefile.in (bench-build): New target.
2386         * Rules (PHONY): Add bench-build target.
2387         * benchtests/Makefile (bench): Depend on bench-build.
2388         (bench-build): New target.
2390 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2392         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2393         profil_reply_port.
2394         (profile_waiter): Do not initialize profil_reply_port.
2395         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2396         frequency instead of tick length in us.
2398 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2400         [BZ #18712]
2401         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2402         (__old_mempcpy_small): Likewise.
2403         (__old_strcpy_small): Likewise.
2404         (__old_stpcpy_small): Likewise.
2405         (__old_strpbrk_c2): Fix compat symbol name.
2406         (__old_strpbrk_c3): Likewise.
2407         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2408         (__mempcpy_small): Remove.
2409         (__strcpy_small): Remove.
2410         (__stpcpy_small): Remove.
2412 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2414         [BZ #19400]
2415         * locale/iso-639.def: Add the Talossan/tzl language.
2417 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2419         [BZ #16983]
2420         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2421         comment.  Add "ln" to strchr check on postal_fmt.
2423 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2425         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2426         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2427         tel_dom_fmt.
2429 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2431         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2432         (sysdep_routines): Added __strlen_power8.
2433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2434         __strlen_power8 entry.
2435         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2436         Implementation for POWER8.
2437         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2438         for __strlen_power8.
2439         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2440         Implementation for POWER8.
2442 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2444         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2446 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2448         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2449         Goldmont and Airmont processors.
2451 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2453         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2454         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2455         (__STRING2_SMALL_GET32): Remove.
2456         (memset): Remove.
2457         (__memset_1): Remove.
2458         (__memset_gc): Remove.
2459         (__mempcpy): Remove.
2460         (mempcpy): Remove.
2461         (__mempcpy_args): Remove.
2462         (strchr): Remove.
2463         (strcpy): Remove.
2464         (strcpy_args): Remove.
2465         (__stpcpy_args): Remove.
2466         (__strcmp_cc): Remove.
2467         (__strcmp_gc): Remove.
2468         (strstr): Remove.
2470 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2472         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2473         * nis/nis_call.c (nis_server_cache_add): Likewise.
2475 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2477         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2479 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2481         * malloc/arena.c (__malloc_fork_lock_parent)
2482         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2483         internal_function attribute.
2485 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2487         * stdio-common/printf_fp.c (__printf_fp_l):
2488         Rename ___printf_fp_l to __printf_fp_l and
2489         remove strong alias. Use libc_hidden_def instead
2490         of ldbl_hidden_def macro.
2492 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2494         Remove malloc hooks from fork handler.  They are no longer needed
2495         because malloc runs right before fork, and no malloc calls from
2496         other fork handlers are not possible anymore.
2497         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2498         declarations.
2499         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2500         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2501         (atfork_recursive_cntr): Remove.
2502         (__malloc_fork_lock_parent): Do not override malloc hooks and
2503         thread_arena.
2504         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2505         thread_arena.
2506         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2507         thread_arena instead of save_arena.
2509 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2511         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2512         (thread_atfork, thread_atfork_static): Remove.
2513         * sysdeps/mach/hurd/malloc-machine.h:
2514         (thread_atfork, thread_atfork_static): Remove.
2516 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2518         [BZ #19431]
2519         Run the malloc fork handler as late as possible to avoid deadlocks.
2520         * malloc/malloc-internal.h: New file.
2521         * malloc/malloc.c: Include it.
2522         * malloc/arena.c (ATFORK_MEM): Remove.
2523         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2524         Update comment.
2525         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2526         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2527         Remove outdated comment.
2528         (ptmalloc_init): Do not call thread_atfork.  Remove
2529         thread_atfork_static.
2530         * malloc/tst-malloc-fork-deadlock.c: New file.
2531         * Makefile (tests): Add tst-malloc-fork-deadlock.
2532         (tst-malloc-fork-deadlock): Link against libpthread.
2533         * manual/memory.texi (Aligned Memory Blocks): Update safety
2534         annotation comments.
2535         * sysdeps/nptl/fork.c (__libc_fork): Call
2536         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2537         __malloc_fork_unlock_child.
2538         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2540 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2542         [BZ #19613]
2543         Remove union wait.
2544         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2545         (w_stopsig, w_stopval): Remove.
2546         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2547         stat_loc argument.
2548         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2549         (__WAIT_STATUS_DEFN): Remove.
2550         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2551         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2552         (wait, wait3, wait4): Use int * for the stat_loc argument.
2553         * posix/wait.c (__wait): Likewise.
2554         * posix/wait3.c (__wait3): Likewise.
2555         * posix/wait4.c (__wait4): Likewise.
2556         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2557         (__WAIT_STATUS_DEFN): Remove.
2558         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2559         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2560         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2561         argument.
2562         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2563         * sysdeps/posix/wait3.c (__wait3): Likewise.
2564         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2565         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2566         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2567         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2568         stat_loc argument.
2569         * manual/process.texi (BSD Wait Functions): Remove union wait.
2571 2016-04-13  Andreas Schwab  <schwab@suse.de>
2573         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2574         (test-extras): Add tst-tlsalign-vars.
2575         * math/Makefile: Wrap long lines.
2576         (libm-vec-test-wrappers): Define.
2577         (test-extras): Add $(libm-vec-test-wrappers).
2578         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2579         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2580         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2581         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2582         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2583         (extra-test-objs): Add corresponding objects.
2585 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2587         [BZ #19928]
2588         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2589         New.
2590         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2591         times of shared cache size.
2592         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2593         (VMOVNT): New.
2594         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2595         (VMOVNT): Likewise.
2596         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2597         (VMOVNT): Likewise.
2598         (VMOVU): Changed to movups for smaller code sizes.
2599         (VMOVA): Changed to movaps for smaller code sizes.
2600         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2601         comments.
2602         (PREFETCH): New.
2603         (PREFETCH_SIZE): Likewise.
2604         (PREFETCHED_LOAD_SIZE): Likewise.
2605         (PREFETCH_ONE_SET): Likewise.
2606         Rewrite to use forward and backward loops, which move 4 vector
2607         registers at a time, to support overlapping addresses and use
2608         non temporal store if size is above the threshold and there is
2609         no overlap between destination and source.
2611 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2613         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2614         Include dl-vdso.
2615         * sysdeps/unix/sysv/linux/mips/Versions: Add
2616         __vdso_clock_gettime.
2617         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2618         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2619         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2620         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2621         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2622         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2623         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2624         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2625         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2627 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2629         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2630         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2631         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2633         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2634         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2637         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2639         syscalls generation.
2640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2641         [__NR_pwrite64] (__NR_write): Remove define.
2642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2643         [__NR_pwrite64] (__NR_write): Remove define.
2644         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2645         Remove define.
2646         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2647         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2648         Remove define.
2649         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2650         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2651         Linux implementation as base.
2652         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2654         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2655         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2660         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2662         syscall generation.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2664         [__NR_pread64] (__NR_pread): Remove define.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2666         [__NR_pread64] (__NR_pread): Likewise.
2667         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2668         define.
2669         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2670         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2671         Remove define.
2672         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2673         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2674         Linux implementation as base.
2675         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2676         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2677         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2679         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2680         definition.
2681         (__ALIGNMENT_COUNT): Likewise.
2682         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2683         (__ALIGNMENT_COUNT): Likewise.
2684         (SYSCALL_LL): New define.
2685         (SYSCALL_LL64): Likewise.
2686         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2687         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2688         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2689         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2692         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2694         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2695         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2696         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2698 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2700         [BZ #19865]
2701         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2702         original buffer before retry.
2704 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2706         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2707         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2708         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2709         GLRO(dl_auxv) list.
2710         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2711         including <ldsodefs.h>.
2712         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2714 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2716         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2717         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2718         $(CPPFLAGS).
2720 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2722         [BZ #17950]
2723         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2724         Add -mfpmath=387.
2726 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2728         * sysdeps/i386/configure.ac: Change == to = when calling test.
2729         * sysdeps/x86_64/configure.ac: Likewise.
2730         * sysdeps/i386/configure: Regenerated.
2731         * sysdeps/x86_64/configure: Likewise.
2733 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2735         [BZ #16137]
2736         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2737         * benchtests/bench-strcoll.c (input_files): Likewise.
2738         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2739         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2740         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2742 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #19929]
2745         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2746         [__USE_XOPEN2K8 && !__USE_GNU].
2747         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2748         variable.
2750         [BZ #19925]
2751         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2752         define if [!__USE_MISC && __USE_XOPEN2K].
2753         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2754         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2756         Likewise.
2757         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2758         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2759         variable.
2760         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2762 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2764         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2765         (sysdep_routines): Add new strspn targets.
2766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2767         (__libc_ifunc_impl_list): Add strspn.
2768         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2769         New file.
2770         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2771         Likewise.
2772         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2773         Likewise.
2774         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2775         Likewise.
2777 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2779         * misc/hsearch_r.c: Include <limits.h>.
2781 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2783         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2785 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2787         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2788         (MEMCPY_SYMBOL): New.
2789         (MEMPCPY_SYMBOL): Likewise.
2790         (MEMMOVE_CHK_SYMBOL): Likewise.
2791         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2792         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2793         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2794         Provide alias for memcpy in libc.a and ld.so.
2796 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2799         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2800         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2801         Disabled fro now.
2802         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2803         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2805 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2807         * benchtests/Makefile (string-benchset): Add memcpy-large,
2808         memmove-large and memset-large.
2809         * benchtests/bench-memcpy-large.c: New file.
2810         * benchtests/bench-memmove-large.c: Likewise.
2811         * benchtests/bench-memmove-large.c: Likewise.
2812         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2814 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2816         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2817         32-bit displacement to avoid long nop between instructions.
2819 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2821         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2822         a comment on VMOVU and VMOVA.
2824 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2826         [BZ #19633]
2827         Use specified locale for number formatting in strfmon_l.
2828         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2829         (__nl_lookup_word): New inline functions.
2830         * include/printf.h (__print_fp_l): Declare.
2831         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2832         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2833         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2834         (___printf_fp): New function.
2835         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2836         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2837         * stdlib/tst-strfmon_l.c (do_test): New test.
2838         * stdlib/Makefile (tests): Add kt.
2839         (LOCALES): Build additional locales.
2840         (tst-strfmon_l.out): Require locales.
2842 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2844         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2845         if not in libc.
2846         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2847         Likewise.
2848         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2849         Likewise.
2850         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2851         Likewise.
2853 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2855         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2856         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2857         with unaligned_erms.
2858         (__memmove_erms): Skip if source == destination.
2859         (__memmove_unaligned_erms): Don't check source == destination
2860         first.
2862 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2864         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2865         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2867 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2869         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2870         * string/strspn.c (strspn): Likewise.
2872 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2874         * benchtests/bench-memset.c (do_test): Support 64-byte
2875         alignment.
2876         (test_main): Test 64-byte alignment.
2878 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2880         * benchtests/bench-memmove.c (test_main): Test 64-byte
2881         alignment.
2883 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2885         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2887 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2889         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2890         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2891         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2893         * string/strpbrk.c (strpbrk): Rewrite function.
2894         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2895         (__strpbrk_c2): Likewise.
2896         (__strpbrk_c3): Likewise.
2897         * string/string-inlines.c
2898         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2899         Likewise.
2900         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2901         Likewise.
2903         * string/strspn.c (strcspn): Rewrite function.
2904         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2905         (__strspn_c1): Remove inline function.
2906         (__strspn_c2): Likewise.
2907         (__strspn_c3): Likewise.
2908         * string/string-inlines.c
2909         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2910         compatibility symbol.
2911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2912         Likewise.
2913         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2914         Likewise.
2915         * string/string-inlines.c: Include generic version.
2917 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2918             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2920         * string/Version (libc): Add GLIBC_2.24.
2921         * string/strcspn.c (strcspn): Rewrite function.
2922         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2923         (__strcspn_c1): Remove inline function.
2924         (__strcspn_c2): Likewise.
2925         (__strcspn_c3): Likewise.
2926         * string/string-inline.c
2927         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2928         compatibility symbol.
2929         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2930         Likewise.
2931         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2932         Likewise.
2933         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2935 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2937         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2938         Use ahi instead of aghi to adjust stack pointer.
2940 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2942         [BZ #19853]
2943         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2944         TEST to take significant digits as second parameter.
2945         [TEST]: Redefine in terms of TEST_N taking 30
2946         significant digits.
2947         (do_test): Add test case to demonstrate precision
2948         failure in the ldbl-128ibm printf.
2949         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2950         (__mpn_extract_long_double): Carry 7 extra intermediate
2951         bits of precision to aide computing difference when
2952         signs differ.
2954 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2956         [BZ #19881]
2957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2958         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2959         memset-avx512-unaligned-erms.
2960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2961         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2962         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2963         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2964         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2965         __memset_sse2_unaligned_erms, __memset_erms,
2966         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2967         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2968         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2969         file.
2970         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2971         Likewise.
2972         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2973         Likewise.
2974         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2975         Likewise.
2977 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2979         [BZ #19776]
2980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2981         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2982         memmove-avx512-unaligned-erms.
2983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2984         (__libc_ifunc_impl_list): Test
2985         __memmove_chk_avx512_unaligned_2,
2986         __memmove_chk_avx512_unaligned_erms,
2987         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2988         __memmove_chk_sse2_unaligned_2,
2989         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2990         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2991         __memmove_avx512_unaligned_erms, __memmove_erms,
2992         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2993         __memcpy_chk_avx512_unaligned_2,
2994         __memcpy_chk_avx512_unaligned_erms,
2995         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2996         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2997         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2998         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2999         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3000         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3001         __mempcpy_chk_avx512_unaligned_erms,
3002         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3003         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3004         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3005         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3006         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3007         __mempcpy_erms.
3008         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3009         file.
3010         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3011         Likwise.
3012         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3013         Likwise.
3014         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3015         Likwise.
3017 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3019         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3020         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3021         (La_s390_64_regs): Likewise.
3022         (La_s390_32_retval): Append vector register lrv_v24.
3023         (La_s390_64_retval): Likeweise.
3024         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3025         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3026         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3027         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3029 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3031         [BZ #19916]
3032         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3033         to create a non-vector/vector version for _dl_runtime_resolve and
3034         _dl_runtime_profile. Move implementation to ...
3035         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3036         (_dl_runtime_resolve) Save and restore fpr/vrs.
3037         (_dl_runtime_profile) Save and restore vrs and fix some issues
3038         if _dl_call_pltexit is called.
3039         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3040         Choose the correct resolver function if running on a machine with vx.
3041         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3042         to create a non-vector/vector version for _dl_runtime_resolve and
3043         _dl_runtime_profile. Move implementation to ...
3044         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3045         (_dl_runtime_resolve) Save and restore fpr/vrs.
3046         (_dl_runtime_profile) Save and restore vrs and fix some issues
3047         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3048         Choose the correct resolver function if running on a machine with vx.
3050 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3052         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3054 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3056         [BZ #19509]
3057         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3058         skip_map != NULL.
3059         * elf/tst-dlsym-error.c: New file.
3060         * elf/Makefile (tests): Add tst-dlsym-error.
3061         (tst-dlsym-error): Link against libdl.
3063 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3066         (__ASSUME_FUTIMESAT): Remove macro.
3067         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3069 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3071         [BZ #19879]
3072         CVE-2016-3075
3073         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3074         copy name.
3076 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3078         [BZ #19837]
3079         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3080         error if parse_line fails.
3082 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3084         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3085         (index_cpu_ERMS): Likewise.
3086         (reg_ERMS): Likewise.
3088 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3090         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3091         PER_LINUX_FDPIC): Add.
3093 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3096         memcpy-avx512-no-vzeroupper.
3097         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3098         to ...
3099         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3100         (MEMCPY): Don't define.
3101         (MEMCPY_CHK): Likewise.
3102         (MEMPCPY): Likewise.
3103         (MEMPCPY_CHK): Likewise.
3104         (MEMPCPY_CHK): Renamed to ...
3105         (__mempcpy_chk_avx512_no_vzeroupper): This.
3106         (MEMPCPY_CHK): Renamed to ...
3107         (__mempcpy_chk_avx512_no_vzeroupper): This.
3108         (MEMCPY_CHK): Renamed to ...
3109         (__memmove_chk_avx512_no_vzeroupper): This.
3110         (MEMCPY): Renamed to ...
3111         (__memmove_avx512_no_vzeroupper): This.
3112         (__memcpy_avx512_no_vzeroupper): New alias.
3113         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3115 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3117         [BZ #18858]
3118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3119         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3120         and mempcpy-avx512-no-vzeroupper.
3121         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3122         New.
3123         (MEMPCPY): Likewise.
3124         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3125         (MEMPCPY_CHK): New.
3126         (MEMPCPY): Likewise.
3127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3128         (MEMPCPY): Likewise.
3129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3130         (MEMPCPY): Likewise.
3131         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3132         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3133         Likewise.
3134         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3135         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3137 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3138              Amit Pawar  <Amit.Pawar@amd.com>
3140         [BZ #19583]
3141         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3142         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3143         processors.  Set Fast_Copy_Backward for AMD Excavator
3144         processors.
3145         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3146         New.
3147         (index_arch_Fast_Unaligned_Copy): Likewise.
3148         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3149         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3151 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3153         [BZ #19791]
3154         * resolv/res_send.c (close_and_return_error): New function.
3155         (send_dg): Initialize *resplen2 after reopen failure.  Call
3156         close_and_return_error for error returns.  On error paths without
3157         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3158         successful return.
3160 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3162         [BZ# 19860]
3163         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3164         zero if the compiler does not provide the AVX512F bit.
3166 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3168         [BZ #19848]
3169         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3170         from 8 to 4.
3171         (__ieee754_powl): Compare integer exponent against 4 not 8.
3172         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3173         from 8 to 4.
3174         (__ieee754_powl): Compare integer exponent against 4 not 8.
3175         * math/auto-libm-test-in: Add more tests of pow.
3176         * math/auto-libm-test-out: Regenerated.
3177         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3180 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3182         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3183         Make code unconditional.
3184         [!__NR_utimensat]: Remove conditional code.
3185         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3186         Make code unconditional.
3187         [!__NR_utimensat]: Remove conditional code.
3188         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3189         Make code unconditional.
3190         [!__NR_utimensat]: Remove conditional code.
3192 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3194         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3195         Make code unconditional.
3197 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3199         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3200         call-clobbered %eax on retry path.
3201         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3203 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3205         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3206         Don't set %rcx twice before "rep movsb".
3208 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3210         [BZ #19583]
3211         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3212         inline.  Check family before setting family, model and
3213         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3214         bits here.
3215         (init_cpu_features): Replace HAS_CPU_FEATURE and
3216         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3217         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3218         for Intel processors with usable AVX2.  Call get_common_indeces
3219         for other processors with family == NULL.
3220         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3221         (CPU_FEATURES_ARCH_P): Likewise.
3222         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3223         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3225 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3227         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3228         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3229         $(shared-thread-library) instead of hardcoding the path to libpthread.
3231 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3233         * sysdeps/unix/sysv/linux/kernel-features.h
3234         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3235         * sysdeps/unix/sysv/linux/getdents.c
3236         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3237         [!have_no_getdents64_defined]: Likewise.
3238         (__GETDENTS): Remove __have_no_getdents64 conditional.
3240 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3242         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3243         Remove macro.
3244         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3245         <kernel-features.h>.
3246         (signalfd) [__NR_signalfd4]: Make code unconditional.
3247         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3249 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3251         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3252         style.
3254 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3256         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3257         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3258         __pthread_unwind.
3259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3260         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3262         (__condvar_cleanup1): Likewise.
3264 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3266         [BZ #19822]
3267         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3268         move it to the final $@ location.
3270 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3272         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3273         access where posix_spawn success and pid argument is null.
3274         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3275         success case.
3277 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3279         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3281         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3283         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3284         and __fcntl.
3285         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3286         __fcntl only.
3287         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3288         adding attribute_hidden to __open and __fcntl.
3290         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3291         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3292         depend on libc-modules.h,
3293         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3295 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3298         Remove macro.
3299         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3300         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3301         entry.
3303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3304         Remove macro.
3305         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3306         include <kernel-features.h>.
3307         [!__ASSUME_FALLOCATE]: Remove conditional code.
3308         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3310 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3313         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3315         (_ZGVdN4v_cos_avx2): Likewise.
3316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3317         (_ZGVdN4v_cos): Likewise.
3318         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3319         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3320         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3321         (_ZGVdN4v_exp_avx2): Likewise.
3322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3323         (_ZGVdN4v_exp): Likewise.
3324         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3325         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3326         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3327         (_ZGVdN4v_log_avx2): Likewise.
3328         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3329         (_ZGVdN4v_log): Likewise.
3330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3331         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3332         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3333         (_ZGVdN4vv_pow_avx2): Likewise.
3334         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3335         (_ZGVdN4vv_pow): Likewise.
3336         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3337         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3339         (_ZGVdN4v_sin_avx2): Likewise.
3340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3341         (_ZGVdN4v_sin): Likewise.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3343         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3345         (_ZGVdN4vvv_sincos_avx2): Likewise.
3346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3347         (_ZGVdN4vvv_sincos): Likewise.
3348         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3349         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3351         (_ZGVbN4v_cosf_sse4): Likewise.
3352         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3353         (_ZGVdN8v_cosf_avx2): Likewise.
3354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3355         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3356         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3357         (_ZGVbN4v_expf_sse4): Likewise.
3358         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3359         (_ZGVdN8v_expf_avx2): Likewise.
3360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3361         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3363         (_ZGVbN4v_logf_sse4): Likewise.
3364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3365         (_ZGVdN8v_logf_avx2): Likewise.
3366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3367         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3369         (_ZGVbN4vv_powf_sse4): Likewise.
3370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3371         (_ZGVdN8vv_powf_avx2): Likewise.
3372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3373         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3374         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3375         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3377         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3378         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3379         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3381         (_ZGVbN4v_sinf_sse4): Likewise.
3382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3383         (_ZGVdN8v_sinf_avx2): Likewise.
3384         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3385         Use JUMPTARGET to call callee.
3386         (WRAPPER_IMPL_SSE2_ff): Likewise.
3387         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3388         (WRAPPER_IMPL_AVX): Likewise.
3389         (WRAPPER_IMPL_AVX_ff): Likewise.
3390         (WRAPPER_IMPL_AVX_fFF): Likewise.
3391         (WRAPPER_IMPL_AVX512): Likewise.
3392         (WRAPPER_IMPL_AVX512_ff): Likewise.
3393         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3394         Likewise.
3395         (WRAPPER_IMPL_SSE2_ff): Likewise.
3396         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3397         (WRAPPER_IMPL_AVX): Likewise.
3398         (WRAPPER_IMPL_AVX_ff): Likewise.
3399         (WRAPPER_IMPL_AVX_fFF): Likewise.
3400         (WRAPPER_IMPL_AVX512): Likewise.
3401         (WRAPPER_IMPL_AVX512_ff): Likewise.
3402         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3404 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3406         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3407         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3408         qualifier.
3409         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3410         internal_function qualifiers.
3412 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3414         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3415         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3416         * math/atest-exp.c (exp_mpn): Mark chk unused.
3417         * math/atest-exp2.c (exp_mpn): Likwise.
3418         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3419         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3421 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3424         Remove macro.
3425         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3426         <kernel-features.h>.
3427         [__NR_ppoll]: Make code unconditional.
3428         [!__ASSUME_PPOLL]: Remove conditional code.
3430         * sysdeps/unix/sysv/linux/kernel-features.h
3431         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3432         (__ASSUME_ACCEPT4): Likewise.
3433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3434         Define.
3435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3436         Likewise.
3437         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3438         Likewise.
3439         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3440         Likewise.
3441         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3442         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3443         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3444         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3445         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3449         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3451         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3452         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3455         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3457         Likewise.
3458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3459         Likewise.
3460         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3461         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3462         0x040300].
3463         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3464         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3466         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3467         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3468         0x030300].
3469         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3471         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3472         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3473         0x040300].
3474         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3477         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3478         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3479         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3480         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3481         0x030300].
3482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3483         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3484         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3486         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3487         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3490         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3491         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3492         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3493         0x040300].
3494         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3496         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3497         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3500         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3501         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3502         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3503         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3505         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3508         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3509         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3511         Likewise.
3512         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3513         Likewise.
3515 2016-03-15  Andreas Schwab  <schwab@suse.de>
3517         [BZ #19257]
3518         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3519         statp->_u._ext.nscount as loop count.
3521 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3523         * math/test-signgam-finite-c99.c: Also #undef
3524         __LIBC_INTERNAL_MATH_INLINES.
3525         * math/test-signgam-main.c: Likewise.
3527 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3529         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3530         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3531         (MADV_FREE): Likewise.
3532         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3533         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3534         EPOLLEXCLUSIVE.
3536 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3538         * timezone/README: Remove mention of checktab.awk. Mention wiki
3539         SharedSourceFiles.
3541 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3543         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3544         WUNTRACED.
3546 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3548         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3549         order to match the type of p when calling atomic_exchange_acq().
3551 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3553         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3554         cfi_offset calls.
3555         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3556         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3557         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3558         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3559         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3561 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3563         * timezone/checktab.awk: Removed.
3565 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3567         * manual/math.texi (Errors in Math Functions): Document relaxed
3568         accuracy goals for IBM long double.
3569         * math/libm-test.inc (test_exceptions): Always allow spurious
3570         "underflow" and "inexact" exceptions for IBM long double.
3572 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3574         [BZ #19762]
3575         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3576         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3577         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3578         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3579         (bit_arch_*): This for feature array.
3580         (bit_*): Renamed to ...
3581         (bit_cpu_*): This for cpu array.
3582         (index_*): Renamed to ...
3583         (index_arch_*): This for feature array.
3584         (index_*): Renamed to ...
3585         (index_cpu_*): This for cpu array.
3586         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3587         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3588         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3589         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3590         bit_##name with index_cpu_##name and bit_cpu_##name.
3591         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3592         bit_##name with index_arch_##name and bit_arch_##name.
3594 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3596         [BZ #19792]
3597         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3598         Terminate FDE before return label.
3600 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3602         [BZ #19790]
3603         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3604         (rintl): Define as macro.
3605         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3606         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3607         of fesetround.  Ensure results are evaluated before end of scope.
3608         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3609         USE_AS_NEARBYINTL and include s_rintl.c.
3610         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3611         Disable exception traps in new environment.
3612         (libc_feholdsetround_ppc_ctx): Likewise.
3614 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3616         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3617         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3618         (tst_audit10_aux) [__AVX512F__]: ... here.
3620 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3622         * include/sys/auxv.h: New file.
3624 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3626         [BZ #19759]
3627         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3629 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3631         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3632         operand modifier.
3633         (feclearexcept): Likewise.
3635 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3637         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3638         to reflect the entire 32-bit HWCAP.
3639         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3640         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3642 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3644         [BZ #19783]
3645         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3646         $(test-via-rtld-prefix).
3647         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3649 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3651         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3652         union wait.  Report any non-zero exit status as error.
3654 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3656         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3657         configured with --enable-hardcoded-path-in-tests.
3659 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3661         [BZ #19677]
3662         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3663         (__ieee754_remainderl): Put zero low parts in canonical form.
3664         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3665         file.  Based on
3666         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3667         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3668         with wrapper round test-fmodrem-ldbl-128ibm.c.
3669         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3670         file.
3671         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3672         Likewise.
3673         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3674         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3676 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3678         [BZ #19610]
3679         * elf/ldconfig.c (opt_link): Update comment.
3680         (options): Update help string for option -X.
3681         (search_dir): Unlink stale symbolic link only if updating symbolic
3682         links.
3683         * elf/tst-ldconfig-X.sh: New file.
3684         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3685         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3687 2016-03-07  Andreas Schwab  <schwab@suse.de>
3689         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3690         needed arguments.
3692 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3694         [BZ #15333]
3695         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3696         to lstat64.
3698 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3700         * libio/filedoalloc.c (isatty): Remove.
3701         (local_isatty): Add comment.  Call __isatty directly.
3702         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3703         * libio/wfiledoalloc.c (isatty): Remove.
3704         (_IO_wfile_doallocate): Update comment.
3706 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3708         [BZ #19269]
3709         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3710         tst-audit4-aux.o.
3711         (tst-audit10): Depend on tst-audit10-aux.o.
3712         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3713         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3714         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3715         instead of inline AVX code.
3716         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3717         instead of inline AVX512 code.
3718         * sysdeps/x86_64/tst-audit4-aux.c: New file
3719         * sysdeps/x86_64/tst-audit10-aux.c: New file
3721         [BZ #19648]
3722         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3724 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3726         [BZ #14750]
3727         [BZ #10354]
3728         [BZ #18433]
3729         * include/sched.h (__clone): Add hidden prototype.
3730         (__clone2): Likewise.
3731         * include/unistd.h (__dup): Likewise.
3732         * posix/Makefile (tests): Add tst-spawn2.
3733         * posix/tst-spawn2.c: New file.
3734         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3735         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3736         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3737         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3738         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3739         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3740         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3741         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3742         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3743         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3744         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3746         Likewise.
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3748         Likewise.
3749         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3750         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3751         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3752         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3753         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3754         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3755         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3756         * sysdeps/unix/sysv/linux/nptl-signals.h
3757         (____nptl_is_internal_signal): New function.
3758         * sysdeps/unix/sysv/linux/spawni.c: New file.
3760         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3761         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3762         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3763         * posix/tst-execvp2.c (do_test): Likewise.
3764         * posix/tst-execvp3.c (do_test): Likewise.
3765         * posix/tst-execvp4.c (do_test): Likewise.
3766         * posix/tst-execvpe1.c: New file.
3767         * posix/tst-execvpe2.c: Likewise.
3768         * posix/tst-execvpe3.c: Likewise.
3769         * posix/tst-execvpe4.c: Likewise.
3770         * posix/tst-execvpe5.c: Likewise.
3771         * posix/tst-execvpe6.c: Likewise.
3773         [BZ #19534]
3774         * posix/execl.c (execl): Remove dynamic memory allocation.
3775         * posix/execle.c (execle): Likewise.
3776         * posix/execlp.c (execlp): Likewise.
3778 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3780         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3781         Replace .text with .text.avx512.
3782         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3783         Likewise.
3785 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3787         * sysdeps/generic/libnsl.abilist: New file.
3788         * sysdeps/generic/libutil.abilist: New file.
3790 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3792         [BZ #19762]
3793         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3794         HAS_ARCH_FEATURE with Fast_Rep_String.
3795         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3796         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3797         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3798         Likewise.
3799         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3800         Likewise.
3801         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3802         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3803         Likewise.
3804         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3805         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3806         Likewise.
3808 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3810         [BZ #19745]
3811         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3812         with *%rax in call.
3814 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3816         [BZ #19745]
3817         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3818         with *__libc_start_main@GOTPCREL(%rip) in call.
3820 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3822         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3823         inside conditional for nonempty $(CXX).
3825         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3826         nonempty.
3828         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3829         to test for empty $(CXX) rather than $(CXX) of "no".
3831 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3833         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3835 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3836             H.J. Lu  <hongjiu.lu@intel.com>
3838         [BZ #18880]
3839         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3840         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3841         enable __memcpy_ssse3_back.
3843 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3845         [BZ #19758]
3846         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3847         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3849 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3851         [BZ #19490]
3852         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3853         (__fentry__): Likewise.
3855 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3857         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3858         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3860 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3862         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3863         __mcount_internal directly.
3864         (C_LABEL(__fentry__)): Likewise.
3865         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3866         directly.
3868 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3870         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3871         (__start_context): Call __setcontext directly.
3873 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3875         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3876         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3877         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3878         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3880         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3881         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3882         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3883         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3884         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3885         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3886         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3887         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3888         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3889         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3890         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3891         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3892         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3893         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3894         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3895         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3896         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3897         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3898         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3899         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3900         Remove conditional code.
3901         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3902         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3903         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3904         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3905         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3906         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3907         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3908         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3909         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3910         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3911         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3912         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3914 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3916         * NEWS (2.23): Fix typo in bug 19048 text.
3918 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3920         [BZ #14259]
3921         * Makeconfig: Rename msgcatdir to localedir.
3922         Rename inst_msgcatdir to inst_localedir.
3923         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3924         * config.make.in: Add localedir.
3925         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3926         (ldd-rewrite): Likewise.
3927         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3928         (install-others): Use inst_localedir.
3929         (CPPFLAGS): Use localedir.
3930         * locale/Makefile (locale-CPPFLAGS): Likewise.
3931         * po/Makefile (mo-installed): Use inst_localedir.
3933         [BZ #19575]
3934         * localedata/charmaps/GB18030: Update comments regarding PAU to
3935         non-PUA mappings.
3937 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3939         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3940         test for header.
3941         * sysdeps/unix/sysv/linux/configure: Regenerated.
3942         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3943         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3944         Remove conditional code.
3945         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3947         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3948         Define to 3.2.0.
3949         (arch_minimum_kernel): Likewise.
3950         * sysdeps/unix/sysv/linux/configure: Regenerated.
3951         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3952         Define to 2.6.32.
3953         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3954         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3955         (arch_minimum_kernel): Define to 2.6.32.
3956         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3957         * README: Document Linux 3.2 requirement.
3958         * manual/install.texi (Linux): Document Linux 3.2 headers
3959         requirement.
3960         * INSTALL: Regenerated.
3962 2016-02-24  Andreas Schwab  <schwab@suse.de>
3964         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3965         if !NO_LONG_DOUBLE.
3967 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3969         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3970         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3972 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3974         [BZ #19512]
3975         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3977 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3979         * posix/tst-dir.c: Include libc-internal.h.
3981 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3983         [BZ #19056]
3984         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3985         * manual/filesys.texi (Reading/Closing Directory): Mention
3986         deprecaion.
3987         * posix/tst-dir.c (main): Disable deprecation warning in test.
3989 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3991         [BZ #19679]
3992         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3993         Renamed to ...
3994         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3995         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3996         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3997         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3998         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3999         * sysdeps/x86_64/dl-trampoline.h
4000         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4001         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4003 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4005         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4007 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4009         * elf/elf.h (R_386_GOT32X): New.
4010         (R_386_NUM): Update.
4011         (R_X86_64_GOTPCRELX: New.
4012         (R_X86_64_REX_GOTPCRELX): New.
4013         (R_X86_64_NUM): Update.
4015 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4017         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4019 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4021         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4022         assign attr->stackaddr to it, and adjust it down when
4023         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4024         [_STACK_GROWS_UP]: Delete assert.
4025         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4026         Implement stack grows up logic.
4027         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4028         stack grows up logic.
4030 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4032         * NEWS: Update with 2.24 template.
4034 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4036         [BZ #19678]
4037         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4038         Ensure +0.0 is returned when taking the next value below the least
4039         positive value.
4041 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4043         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4044         available.  Do not define NO_THREADS.
4045         * malloc/malloc.c: Do not check NO_THREADS.
4046         * malloc/arena.c: Likewise.
4048 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4050         * malloc/malloc.c (__libc_mallinfo): Update comment.
4051         (struct malloc_par): Remove max_total_mem member, it was always 0.
4052         (int_mallinfo): Store 0 into usmblks (no functional change).
4053         * malloc/hooks.c (struct malloc_state): Document that
4054         max_total_mem is always 0.
4055         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4056         always 0.
4057         * manual/memory.texi (Statistics of Malloc): Likewise.
4059 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4061         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4062         * malloc/arena.c (arena_max): Remove.
4063         (heap_trim, _int_new_arena): Do not update arena_max.
4065 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4067         * resolv/res_init.c (res_ninit): Update comment.
4069 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4071         [BZ #19505]
4072         * posix/spawn_int.h: Add headers and include guard.
4073         (__spawn_valid_fd): New function.
4074         * posix/spawn_faction_addopen.c
4075         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4076         * posix/spawn_faction_addclose.c
4077         (posix_spawn_file_actions_addclose): Likewise.
4078         * posix/spawn_faction_adddup2.c
4079         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4080         second file descriptor.
4081         * posix/spawn_valid_fd.c: New file.
4082         * posix/tst-posix_spawn-fd.c: New file.
4083         * posix/Makefile (routines): Add spawn_valid_fd.
4084         (tests): Add tst-posix_spawn-fd.
4086 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4088         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4089         (do_test): Limit the number of arenas, so that we can use fewer
4090         outer threads.  Limit timeout to 3 seconds, in preparation for a
4091         larger TIMEOUT value.
4093 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4095         [BZ #19674]
4096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4097         sign in overflowing and underflowing results when overflow or
4098         underflow is detected early.  Include sign in result before rather
4099         than after scaling.
4101         [BZ #19603]
4102         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4103         (__ieee754_remainderl): Adjust sign of integer version of low part
4104         when taking absolute value of high part.
4105         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4106         * math/libm-test.inc (remainder_test_data): Add another test.
4107         (remquo_test_data): Likewise.
4109 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4111         [BZ #19602]
4112         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4113         equal high parts and both low parts zero specially.
4114         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4115         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4116         Add test-fmodl-ldbl-128ibm.
4118         [BZ #19595]
4119         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4120         common logic for all cases of shifting subnormal results.  Do not
4121         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4122         exponent to ldbl_insert_mantissa in subnormal case.
4124         [BZ #19594]
4125         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4126         on high and low parts then adjust result and use
4127         ldbl_canonicalize_int if needed.
4129         [BZ #19593]
4130         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4131         on high part and __floor or __ceil on low part then use
4132         ldbl_canonicalize_int if needed.
4134         [BZ #19592]
4135         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4136         high and low parts then use ldbl_canonicalize_int if needed.
4138         [BZ #17899]
4139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4140         New function.
4141         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4142         on high and low parts then use ldbl_canonicalize_int if needed.
4144 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4146         * configure: Regenerated.
4148         * po/libc.pot: Regenerated.
4150         * po/be.po: Updated translation.
4151         * po/bg.po: Likewise.
4152         * po/ca.po: Likewise.
4153         * po/cs.po: Likewise.
4154         * po/da.po: Likewise.
4155         * po/el.po: Likewise.
4156         * po/eo.po: Likewise.
4157         * po/es.po: Likewise.
4158         * po/fi.po: Likewise.
4159         * po/fr.po: Likewise.
4160         * po/gl.po: Likewise.
4161         * po/hr.po: Likewise.
4162         * po/hu.po: Likewise.
4163         * po/ia.po: Likewise.
4164         * po/id.po: Likewise.
4165         * po/it.po: Likewise.
4166         * po/ja.po: Likewise.
4167         * po/lt.po: Likewise.
4168         * po/nb.po: Likewise.
4169         * po/nl.po: Likewise.
4170         * po/pt_BR.po: Likewise.
4171         * po/rw.po: Likewise.
4172         * po/sk.po: Likewise.
4173         * po/sl.po: Likewise.
4174         * po/sv.po: Likewise.
4175         * po/tr.po: Likewise.
4176         * po/zh_CN.po: Likewise.
4177         * po/zh_TW.po: Likewise.
4179         * version.h (RELEAES): Set to "development".
4180         (VERSION): Set to 2.23.90.
4182         * version.h (RELEASE): Set to "stable".
4183         (VERSION): Set to 2.23.
4184         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4186         * NEWS: Updated fixed bugs.
4188 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4189             Wilco Dijkstra  <wdijkstr@arm.com>
4191         [BZ #19462]
4192         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4193         (_STRING_INLINE_unaligned): This.
4194         * include/string.h: Include <string_private.h>.
4195         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4196         _STRING_INLINE_unaligned.
4197         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4198         (_STRING_INLINE_unaligned): New.
4199         * sysdeps/aarch64/string_private.h: New file.
4200         * sysdeps/generic/string_private.h: Likewise.
4201         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4202         * sysdeps/s390/string_private.h: Likewise.
4203         * sysdeps/x86/string_private.h: Likewise.
4204         * sysdeps/m68k/m680x0/m68020/bits/string.h
4205         (_STRING_ARCH_unaligned): Renamed to ...
4206         (_STRING_INLINE_unaligned): This.
4207         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4208         to ...
4209         (_STRING_INLINE_unaligned): This.
4210         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4211         to ...
4212         (_STRING_INLINE_unaligned): This.
4213         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4214         to ...
4215         (_STRING_INLINE_unaligned): This.
4217 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4218             H.J. Lu  <hongjiu.lu@intel.com>
4220         [BZ #19590]
4221         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4222         relocation.
4224 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4226         [BZ #18665]
4227         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4228         *herrno_p.
4229         (gaih_getanswer): Document functional behviour. Return tryagain
4230         if any result is tryagain.
4231         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4232         when freed.
4233         * resolv/res_send.c: Add copyright text.
4234         (__libc_res_nsend): Document that MAXPACKET is expected.
4235         (send_vc): Document. Remove buffer reuse.
4236         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4237         size of the buffer. Add Dprint for truncated UDP buffer.
4239 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4241         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4242         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4243         * INSTALL: Regenerate.
4245 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4246             Jonathan Wakely  <jwakely@redhat.com>
4247             Carlos O'Donell  <carlos@redhat.com>
4249         [BZ 19439]
4250         * math/Makefile (tests): Add test-math-isinff.
4251         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4252         * math/bits/mathcalls.h [__USE_MISC]: Use
4253         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4254         functions not in C++11 and which don't conflict e.g. isinff,
4255         isinfl etc.
4256         * math/test-math-isinff.cc: New file.
4258 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4260         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4262 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4264         [BZ #19529]
4265         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4267 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4269         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4271 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4273         [BZ #19550]
4274         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4275         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4276         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4277         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4278         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4279         New syscall entry.
4280         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4281         New syscall entry.
4282         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4283         syscall entry.
4285 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4287         [BZ #18240]
4288         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4289         unsigned int wraparound.
4291 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4293         [BZ #18240]
4294         * misc/bug18240.c: New test.
4295         * misc/Makefile (tests): Add it.
4297 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4298             Joseph Myers  <joseph@codesourcery.com>
4300         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4301         load in branch delay slot when less than a word of input left.
4303 2016-01-27  Andreas Schwab  <schwab@suse.de>
4305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4306         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4307         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4308         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4310 2016-01-26  David S. Miller  <davem@davemloft.net>
4312         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4314 2016-01-25  David S. Miller  <davem@davemloft.net>
4316         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4317         __sqrtl_finite.
4318         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4319         instead using versioned_symbol.
4320         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4321         of entries.
4323         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4324         __sqrtl_finite to GLIBC_2.23
4326 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4328         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4330 2016-01-25  Andreas Schwab  <schwab@suse.de>
4332         [BZ #17514]
4333         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4334         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4335         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4336         * nptl/tst-mutex-errorcheck.c: New file.
4338 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4340         [BZ #18560]
4341         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4342         (IPCOP_semop): Likewise.
4343         (IPCOP_semget): Likewise.
4344         (IPCOP_semctl): Likewise.
4345         (IPCOP_msgsnd): Likewise.
4346         (IPCOP_msgrcv): Likewise.
4347         (IPCOP_msgget): Likewise.
4348         (IPCOP_msgctl): Likewise.
4349         (IPCOP_shmat): Likewise.
4350         (IPCOP_shmdt): Likewise.
4351         (IPCOP_shmget): Likewise.
4352         (IPCOP_shmctl): Likewise.
4354 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4356         * string/tst-endian.c: Include <libc-internal.h>.
4357         (do_test): Ignore tautological-compare warnings around
4358         "htobeXX (beXXtoh (i)) != i" and
4359         "htoleXX (leXXtoh (i)) != i" if-statements.
4361 2016-01-24  David S. Miller  <davem@davemloft.net>
4363         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4364         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4365         alias.
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4367         __sqrtl_finite.
4369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4371 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4373         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4374         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4375         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4377 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4379         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4380         (thread_func): Use new function to simplify barrier check.
4381         (do_test): Use new function to simplify checking barrier exit
4382         code, and actually join the child thread.
4384 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4386         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4387         semicolon.
4388         (__libc_tend): Likewise.
4389         (__libc_tabort): Likewise.
4391 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4393         * sysdeps/nios2/libm-test-ulps: Update.
4394         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4395         (__gtsf2): Likewise.
4396         (__unorddf2): Likewise.
4397         (__unordsf2): Likewise.
4398         (__ledf2): Likewise.
4400 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4402         * nis/nis_table.c (__follow_path): Disable diagnostic for
4403         uninitialized variable that is a false positive for gcc 4.7.
4404         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4406 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4408         * sysdeps/nacl/lowlevellock-futex.h
4409         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4410         Always evaluate PRIVATE argument.
4412 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4414         [BZ #19490]
4415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4416         (pthread_cond_broadcast): Use ENTRY/END
4417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4418         (pthread_cond_signal): Likewise.
4419         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4420         Likewise.
4421         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4422         Likewise.
4423         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4424         Likewise.
4426 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4428         * sysdeps/ieee754/dbl-64/s_finite.c
4429         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4430         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4431         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4433         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4436         (__gtsf2): Add as optional for libc.so.
4437         (__unordsf2): Likewise.
4438         (__signbit): Remove for libc.so.
4439         (__signbitl): Likewise.
4441 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4443         * iconvdata/bug-iconv11.c (test_ibm93x):
4444         Use %zu printf format specifier for size_t argument.
4446 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4448         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4449         already-recorded ulps.
4450         * sysdeps/arm/libm-test-ulps: Regenerated.
4451         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4452         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4453         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4455 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4456             Paul Pluzhnikov  <ppluzhnikov@google.com>
4458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4459         assembler not supporting AVX-512.
4461 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4463         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4465 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4467         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4468         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4470         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4472         * sysdeps/arm/libm-test-ulps: Regenerated.
4474 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4476         [BZ #19451]
4477         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4479 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         [BZ #19486]
4482         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4483         * sysdeps/generic/fix-fp-int-convert-overflow.h
4484         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4485         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4486         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4487         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4488         Likewise.
4489         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4490         Avoid conversions to long int where inexact exceptions
4491         could be raised.
4492         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4493         Likewise.
4494         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4495         Avoid conversions to long long int where inexact exceptions
4496         could be raised.
4497         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4498         Likewise.
4500 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4502         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4503         * configure: Regenerated.
4505 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4507         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4509 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4511         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4512         outside of comment.
4514 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4516         * nptl/tst-barrier1.c: Add description on first line.
4517         * nptl/tst-barrier2.c: Likewise.
4518         * nptl/tst-barrier3.c: Likewise.
4519         * nptl/tst-barrier4.c: Likewise.
4520         * nptl/tst-barrier5.c: Likewise.
4522 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4524         [BZ #18868]
4525         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4527 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4531         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4532         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4533         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4534         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4535         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4536         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4537         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4538         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4541 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4543         [BZ #13065]
4544         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4545         new implementation.
4546         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4547         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4548         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4549         (BARRIER_IN_THRESHOLD): New macro.
4550         * nptl/pthread_barrierattr_setpshared.c
4551         (pthread_barrierattr_setpshared): Clean up.
4552         * nptl/tst-barrier4.c: Correct comment.
4553         * nptl/tst-barrier5.c: New file.
4554         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4555         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4556         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4557         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4558         * nptl/lowlevelbarrier.sym: Remove.
4559         * nptl/DESIGN-barrier.txt: Remove.
4560         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4561         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4562         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4563         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4564         error.
4565         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4566         implementation.
4568 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4570         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4571         (do_child): Mask SIGRTMIN while thr is running.
4573 2016-01-15  Martin Sebor  <msebor@redhat.com>
4575         [BZ #19432]
4576         * iconvdata/Makefile: Add bug-iconv11.
4577         * iconvdata/bug-iconv11.c: New test.
4578         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4579         * iconvdata/ibm933.c: Same.
4580         * iconvdata/ibm935.c: Same.
4581         * iconvdata/ibm937.c: Same.
4582         * iconvdata/ibm939.c: Same.
4584 2016-01-15  Martin Sebor  <msebor@redhat.com>
4586         [BZ #19443]
4587         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4588         [DEBUG] (_ufc_set_bits): Declare used.
4589         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4590         [DEBUG] (print_all): Declare used.
4591         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4592         operands of the ternary ?: expression to target type.
4593         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4594         calling the undeclared abort.
4595         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4597 2016-01-15  Martin Sebor  <msebor@redhat.com>
4599         [BZ #18755]
4600         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4601         warnings.
4602         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4603         (__gai_create_helper_thread): Same.
4604         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4605         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4606         to suppress -Wmaybe-uninitialized warnings.
4608 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4610         [BZ #19465]
4611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4612         inside if.
4613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4614         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4617 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4619         [BZ #19466]
4620         * time/tst-mktime2.c (time_t_max): Removed.
4621         (time_t_min): Likewise.
4622         (TYPE_SIGNED): New.
4623         (TYPE_MINIMUM): Likewise.
4624         (TYPE_MAXIMUM): Likewise.
4625         (TIME_T_MIN): Likewise.
4626         (TIME_T_MAX): Likewise.
4627         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4628         and TIME_T_MIN.
4629         (do_test): Likewise.
4631 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4633         [BZ #19467]
4634         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4635         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4637 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4639         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4641 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4643         * benchtests/Makefile (PYTHON): Define.
4644         (bench-func): Use $(PYTHON) to run python scripts.
4645         ($(objpfx)bench-%.c): Likewise.
4647 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4649         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4650         leading slash when `file_name' is "/".
4652 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4654         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4655         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4656         Likewise.
4657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4658         Likewise.
4659         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4660         Likewise.
4661         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4662         enum constant and macro.
4663         (PTRACE_SETSIGMASK): Likewise.
4664         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4665         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4666         (PTRACE_GETSIGMASK): Likewise.
4667         (PTRACE_SETSIGMASK): Likewise.
4668         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4669         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4670         Likewise.
4671         (PTRACE_SETSIGMASK): Likewise.
4672         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4674         (PTRACE_GETSIGMASK): Likewise.
4675         (PTRACE_SETSIGMASK): Likewise.
4676         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4678         Likewise.
4679         (PTRACE_SETSIGMASK): Likewise.
4680         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4681         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4682         Likewise.
4683         (PTRACE_SETSIGMASK): Likewise.
4684         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4685         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4686         Likewise.
4687         (PTRACE_SETSIGMASK): Likewise.
4688         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4690 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4691             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4693         [BZ #19439]
4694         * math/bits/mathcalls.h
4695         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4696         prototype.
4697         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4699 2016-01-11  Andreas Schwab  <schwab@suse.de>
4701         [BZ #19253]
4702         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4703         cache when TZDEFRULES was used.
4704         * time/tst-tzname.c: New file.
4705         * time/Makefile (test): Add tst-tzname.
4706         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4707         * timezone/Makefile (test-zones): Add $(posixrules-file).
4708         ($(testdata)/$(posixrules-file)): New rule.
4710 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4712         Fix doc quoting problems with Texinfo 5
4713         Without this change, in the info file output, Texinfo 5 quotes code
4714         in text with undirected single quotes 'like this' and generates
4715         code examples that with many PDF readers cannot be cut out of PDFs
4716         and pasted into code.
4717         * manual/libc.texinfo: Configure the libc manual like the GNU
4718         Emacs manual, by using @documentencoding and setting
4719         txicodequoteundirected and txicodequotebacktick.  This way,
4720         Texinfo 5 quotes code in text with directed single quotes ‘like
4721         this’ and produces examples that can be cut out of PDFs.  This
4722         change causes Texinfo 5 to generate info files that contain UTF-8
4723         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4724         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4726 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4728         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4729         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4730         barriers to their respective compiler built-ins.
4731         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4732         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4733         * sysdeps/powerpc/sysdep.h: Likewise.
4734         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4735         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4738 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4740         * scripts/config.guess: Revert previous shebang change.
4741         * scripts/config.sub: Likewise.
4742         * scripts/mkinstalldirs: Likewise.
4744 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4746         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4747         PPC_FEATURE2_HAS_IEEE128.
4748         * sysdeps/powerpc/dl-procinfo.c:
4749         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4751 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4753         [BZ #19415]
4754         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4755         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4756         (_dl_lookup_address): Rewrite using function resolver trampoline.
4757         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4758         two bits in address.
4760 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4762         * longlong.h: Change !__SHMEDIA__ to
4763         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4764         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4766 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4767             Joseph Myers  <joseph@codesourcery.com>
4768             Mark Shinwell  <shinwell@codesourcery.com>
4769             Andrew Stubbs  <ams@codesourcery.com>
4770             Rich Felker <dalias@libc.org>
4772         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4774 2016-01-07  Richard Henderson  <rth@redhat.com>
4776         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4778 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4780         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4781         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4782         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4783         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4784         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4786 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4787             Joseph Myers  <joseph@codesourcery.com>
4789         * timezone/private.h: Update from tzcode 2015g.
4790         * timezone/tzfile.h: Likewise.
4791         * timezone/tzselect.ksh: Likewise.
4792         * timezone/zdump.c: Likewise.
4793         * timezone/zic.c: Likewise.
4794         * timezone/ialloc.c: Remove file.
4795         * timezone/scheck.c: Likewise.
4796         * timezone/Makefile (extra-objs): Remove variable.
4797         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4798         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4799         -Wno-maybe-uninitialized.
4800         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4801         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4802         (CFLAGS-ialloc.c): Remove variable.
4803         (CFLAGS-scheck.c): Likewise.
4804         * timezone/README: Update list of files from tzcode.
4806 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4808         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4809         instead of __fxprintf when _LIBC is undefined.
4811 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4813         * catgets/test-gencat.sh: Remove space after shebang.
4814         * conform/GlibcConform.pm: Likewise.
4815         * conform/check-header-lists.sh: Likewise.
4816         * conform/conformtest.pl: Likewise.
4817         * conform/linknamespace.pl: Likewise.
4818         * conform/list-header-symbols.pl: Likewise.
4819         * debug/catchsegv.sh: Likewise.
4820         * elf/genrtldtbl.awk: Likewise.
4821         * elf/tst-pathopt.sh: Likewise.
4822         * elf/tst-rtld-load-self.sh: Likewise.
4823         * grp/tst_fgetgrent.sh: Likewise.
4824         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4825         * iconvdata/gen-8bit-gap.sh: Likewise.
4826         * iconvdata/gen-8bit.sh: Likewise.
4827         * iconvdata/run-iconv-test.sh: Likewise.
4828         * intl/tst-gettext.sh: Likewise.
4829         * intl/tst-gettext2.sh: Likewise.
4830         * intl/tst-gettext4.sh: Likewise.
4831         * intl/tst-gettext6.sh: Likewise.
4832         * intl/tst-translit.sh: Likewise.
4833         * io/ftwtest-sh: Likewise.
4834         * libio/test-freopen.sh: Likewise.
4835         * locale/gen-translit.pl: Likewise.
4836         * malloc/tst-mtrace.sh: Likewise.
4837         * manual/check-safety.sh: Likewise.
4838         * manual/libc-texinfo.sh: Likewise.
4839         * manual/tsort.awk: Likewise.
4840         * manual/xtract-typefun.awk: Likewise.
4841         * nptl/tst-cancel-wrappers.sh: Likewise.
4842         * nptl/tst-tls6.sh: Likewise.
4843         * posix/globtest.sh: Likewise.
4844         * posix/tst-getconf.sh: Likewise.
4845         * posix/wordexp-tst.sh: Likewise.
4846         * scripts/check-c++-types.sh: Likewise.
4847         * scripts/check-local-headers.sh: Likewise.
4848         * scripts/config.guess: Likewise.
4849         * scripts/config.sub: Likewise.
4850         * scripts/cpp: Likewise.
4851         * scripts/cross-test-ssh.sh: Likewise.
4852         * scripts/documented.sh: Likewise.
4853         * scripts/evaluate-test.sh: Likewise.
4854         * scripts/gen-libc-abis: Likewise.
4855         * scripts/gen-sorted.awk: Likewise.
4856         * scripts/list-fixed-bugs.py: Likewise.
4857         * scripts/merge-test-results.sh: Likewise.
4858         * scripts/mkinstalldirs: Likewise.
4859         * scripts/rellns-sh: Likewise.
4860         * scripts/test-installation.pl: Likewise.
4861         * scripts/update-copyrights: Likewise.
4862         * stdio-common/tst-printf.sh: Likewise.
4863         * stdio-common/tst-unbputc.sh: Likewise.
4864         * stdlib/tst-fmtmsg.sh: Likewise.
4865         * stdlib/tst-setcontext3.sh: Likewise.
4866         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4867         * sysdeps/unix/make-syscalls.sh: Likewise.
4869 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4871         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4872         asm stw with atomic_exchange_rel.  Add explanatory comment.
4873         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4874         Likewise.
4876 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4878         [BZ #19122]
4879         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4880         * sysdeps/generic/dl-unistd.h: New file.
4881         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4883 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4885          [BZ #19122]
4886          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4887          * sysdeps/generic/dl-mman.h: New file.
4888          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4890 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4892         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4893         trailing whitespace removed.
4894         * scripts/config.guess: Update to version 2016-01-01.
4895         * scripts/config.sub: Update to version 2016-01-01.
4896         * scripts/move-if-change: Update from gnulib.
4898 2016-01-04  Anton Blanchard  <anton@samba.org>
4900         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4901         for array indices.
4902         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4904 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4906         * NEWS: Update copyright dates.
4907         * catgets/gencat.c (print_version): Likewise.
4908         * csu/version.c (banner): Likewise.
4909         * debug/catchsegv.sh: Likewise.
4910         * debug/pcprofiledump.c (print_version): Likewise.
4911         * debug/xtrace.sh (do_version): Likewise.
4912         * elf/ldconfig.c (print_version): Likewise.
4913         * elf/ldd.bash.in: Likewise.
4914         * elf/pldd.c (print_version): Likewise.
4915         * elf/sotruss.sh: Likewise.
4916         * elf/sprof.c (print_version): Likewise.
4917         * iconv/iconv_prog.c (print_version): Likewise.
4918         * iconv/iconvconfig.c (print_version): Likewise.
4919         * locale/programs/locale.c (print_version): Likewise.
4920         * locale/programs/localedef.c (print_version): Likewise.
4921         * login/programs/pt_chown.c (print_version): Likewise.
4922         * malloc/memusage.sh (do_version): Likewise.
4923         * malloc/memusagestat.c (print_version): Likewise.
4924         * malloc/mtrace.pl: Likewise.
4925         * manual/libc.texinfo: Likewise.
4926         * nptl/version.c (banner): Likewise.
4927         * nscd/nscd.c (print_version): Likewise.
4928         * nss/getent.c (print_version): Likewise.
4929         * nss/makedb.c (print_version): Likewise.
4930         * posix/getconf.c (main): Likewise.
4931         * scripts/test-installation.pl: Likewise.
4932         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4934         * All files with FSF copyright notices: Update copyright dates
4935         using scripts/update-copyrights.
4936         * intl/plural.c: Regenerated.
4937         * locale/programs/charmap-kw.h: Likewise.
4938         * locale/programs/locfile-kw.h: Likewise.
4940 2016-01-02  Helge Deller  <deller@gmx.de>
4942         [BZ #19285]
4943         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4944         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4945         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4946         (MADV_xxK_PAGES): Remove.
4948 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4950         [BZ #15421]
4951         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4952         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4953         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4954         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4956 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4958         [BZ #19408]
4959         * sysdeps/unix/sysv/linux/personality.c: New file.
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4961         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4962         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4963         (sysdep_routines): Add personality.
4964         (tests): Add tst-personality.
4965         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4967         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4968         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4969         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4970         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4971         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4972         Likewise.
4973         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4974         Likewise.
4975         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4976         Likewise.
4977         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4978         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4979         Likewise.
4981 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4983         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4984         (PATH_ARM_SYSTYPE): Remove.
4985         (PATH_CPUINFO): Likewise.
4986         (IO_BASE_FOOTBRIDGE): Likewise.
4987         (IO_SHIFT_FOOTBRIDGE): Likewise.
4988         (struct platform): Likewise.
4989         (init_iosys): Remove compatibility code for 2.4 kernels.
4990         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4992 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4994         * malloc/tst-malloc-thread-fail.c: New file.
4995         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4996         (tst-malloc-thread-fail): Link against libpthread.
4998 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5000         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5001         (get_parser): New function.
5002         (main): New function.
5004 2015-12-29  Rob Wu  <rob@robwu.nl>
5006         [BZ #19369]
5007         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5009 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5011         [BZ #19270]
5012         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5014 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5016         [BZ #15421]
5017         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5019 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5021         [BZ #13690]
5022         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5023         after releasing it.
5024         (__lll_robust_unlock): Likewise.
5025         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5026         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5027         (lll_robust_unlock): Likewise.
5028         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5029         Prevent warnings in callers.
5031 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5033         * malloc/arena.c (list_lock): Update comment.
5035 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5037         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5038         __parse_hwcap_and_convert_at_platform to libc.a.
5040 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5042         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5043         platform and feature support for POWER9.
5044         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5045         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5046         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5047         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5048         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5049         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5050         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5051         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5053 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5055         Harmonize generic stdio-lock support with nptl
5057         This fixes build when _IO_funlockfile is a macro, fixes build where
5058         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5059         stack unwind.
5061         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5062         _IO_release_lock ): Use cleanup attribute on new
5063         _IO_acquire_lock_file variable instead of assuming that
5064         _IO_release_lock will be called.
5065         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5066         _IO_acquire_lock_needs_exceptions_enabled.
5067         (_IO_acquire_lock_clear_flags2): New macro.
5069 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5071         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5073 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5075         [BZ #19182]
5076         * malloc/arena.c (list_lock): Document lock ordering requirements.
5077         (free_list_lock): New lock.
5078         (ptmalloc_lock_all): Comment on free_list_lock.
5079         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5080         (detach_arena): Update comment.  free_list_lock is now needed.
5081         (_int_new_arena): Use free_list_lock around detach_arena call.
5082         Acquire arena lock after list_lock.  Add comment, including FIXME
5083         about incorrect synchronization.
5084         (get_free_list): Switch to free_list_lock.
5085         (reused_arena): Acquire free_list_lock around detach_arena call
5086         and attached threads counter update.  Add two FIXMEs about
5087         incorrect synchronization.
5088         (arena_thread_freeres): Switch to free_list_lock.
5089         * malloc/malloc.c (struct malloc_state): Update comments to
5090         mention free_list_lock.
5092 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5094         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5095         Remove functions.
5096         (sloww, sloww1): Accept argument to offset quadrant.
5097         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5098         quadrant.
5099         (__sin, __cos): Consolidate common code into new functions.
5100         (reduce_sincos_1, do_sincos_1): New functions.
5101         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5104         code to new functions.
5105         (reduce_sincos_2, do_sincos_2): New functions.
5106         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5109         common code for sincos.
5110         (__cos) [!IN_SINCOS]: Likewise.
5111         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5112         New function.
5113         (__sincos): Use it.
5115 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5117         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5118         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5119         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5121 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5123         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5126         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5127         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5128         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5129         index_Prefer_No_VZEROUPPER): New feature.
5130         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5131         Prefer_No_VZEROUPPER for Knights Landing.
5133 015-12-18  Torvald Riegel  <triegel@redhat.com>
5135         * math/atest-exp2.c (mp_exp_m1): Remove.
5137 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5139         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5140         syscalls.
5141         (__SYSCALL0): New macro.
5142         (__SYSCALL1): Likewise.
5143         (__SYSCALL2): Likewise.
5144         (__SYSCALL3): Likewise.
5145         (__SYSCALL4): Likewise.
5146         (__SYSCALL5): Likewise.
5147         (__SYSCALL6): Likewise.
5148         (__SYSCALL_CONCAT_X): Likewise.
5149         (__SYSCALL_CONCAT): Likewise.
5150         (__SYSCALL_DIST): Likewise.
5151         (__SYSCALL_CALL): Likewise.
5153 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5155         [BZ #19363]
5156         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5158 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5160         [BZ #19375]
5161         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5162         negative subnormals.
5164 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5167         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5168         (INTERNAL_SYSCALL_NCS): Use it.
5169         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5171 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5173         [BZ #19243]
5174         * malloc/arena.c (get_free_list): Remove assert and adjust
5175         reference count handling.  Add comment about reused_arena
5176         interaction.
5177         (reused_arena): Add comments abount get_free_list interaction.
5178         * malloc/tst-malloc-thread-exit.c: New file.
5179         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5180         (tst-malloc-thread-exit): Link against libpthread.
5182 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5184         [BZ #19367]
5185         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5186         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5187         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5188         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5189         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5191 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5193         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5194         Silvermont optimizations for Knights Landing.
5196 2015-12-15  Andreas Schwab  <schwab@suse.de>
5198         [BZ #17197]
5199         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5200         immediately after emitting SI.
5201         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5202         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5203         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5204         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5205         * iconvdata/bug-iconv10.c: New file.
5206         * iconvdata/Makefile (tests): Add bug-iconv10.
5207         ($(objpfx)bug-iconv10.out): New rule.
5209 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5211         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5212         aliasing violation.
5214 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5216         [BZ #18472]
5217         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5218         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5219         conditionals for them.
5220         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5221         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5223         sys/kdaemon.h.
5224         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5225         compat-only syscall, obsoleted in glibc 2.23.
5226         (create_module): Likewise.
5227         (get_kernel_syms): Likewise.
5228         (query_module): Likewise.
5229         (uselib): Likewise.
5230         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5232 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5234         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5235         <linux/version.h>.
5236         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5237         conditional code.
5238         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5239         and ioshift_name initialization.
5241 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5243         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5244         Fix indentation.
5246 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5248         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5250 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5252         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5254 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5255             Jakub Wilk  <jwilk@debian.org>
5257         [BZ #19347]
5258         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5259         to change the group of the device to the tty group.
5261 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5263         Split large string section; add truncation advice
5264         * manual/examples/strncat.c: Remove.
5265         This example was misleading, as the code would have undefined
5266         behavior if "hello" was longer than SIZE.  Anyway, the manual
5267         shouldn't encourage strncpy+strncat for this sort of thing.
5268         * manual/string.texi (Copying Strings and Arrays): Split into
5269         three sections Copying Strings and Arrays, Concatenating Strings,
5270         and Truncating Strings, as this section was way too long.  All
5271         cross-referenced changed.  Add advice about string-truncation
5272         functions.  Remove misleading strncat example.
5274 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5276         * manual/nss.texi (NSS Modules Interface): Document
5277         NSS_STATUS_NOTFOUND and SUCCESS.
5279 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5281         [BZ 18568]
5282         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5283         201505L, for Unicode 8.
5285 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5287         * locale/C-translit.h: Regenerate.
5289 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5291         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5292         and U+0153.
5294 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5296         [BZ #19351]
5297         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5298         expanding log(1+z), compare z rather than its square with epsilon
5299         to determine when to avoid evaluating the expansion.
5301         [BZ #19350]
5302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5303         Increase overflow threshold.
5305         [BZ #19349]
5306         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5307         when small.
5309         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5311         New macro.
5312         [__LINUX_KERNEL_VERSION >= 0x040300]
5313         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5314         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5315         Likewise.
5316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5317         Likewise.
5318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5319         Likewise.
5320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5321         Likewise.
5322         [__LINUX_KERNEL_VERSION >= 0x040300]
5323         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5324         [__LINUX_KERNEL_VERSION >= 0x040300]
5325         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5326         [__LINUX_KERNEL_VERSION >= 0x040300]
5327         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5328         [__LINUX_KERNEL_VERSION >= 0x040300]
5329         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5330         [__LINUX_KERNEL_VERSION >= 0x040300]
5331         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5333         Likewise.
5334         [__LINUX_KERNEL_VERSION >= 0x040300]
5335         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5337         Likewise.
5338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5339         Likewise.
5340         [__LINUX_KERNEL_VERSION >= 0x040300]
5341         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5343         Likewise.
5344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5345         Likewise.
5346         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5348         Likewise.
5349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5350         Likewise.
5351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5352         Likewise.
5353         [__LINUX_KERNEL_VERSION >= 0x040300]
5354         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5356         Likewise.
5357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5358         Likewise.
5359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5360         Likewise.
5361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5362         Likewise.
5363         [__LINUX_KERNEL_VERSION >= 0x040300]
5364         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5365         [__LINUX_KERNEL_VERSION >= 0x040300]
5366         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5367         [__LINUX_KERNEL_VERSION >= 0x040300]
5368         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5369         [__LINUX_KERNEL_VERSION >= 0x040300]
5370         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5371         [__LINUX_KERNEL_VERSION >= 0x040300]
5372         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5373         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5374         Likewise.
5375         [__LINUX_KERNEL_VERSION >= 0x040300]
5376         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5378         Likewise.
5379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5380         Likewise.
5381         [__LINUX_KERNEL_VERSION >= 0x040300]
5382         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5384         Likewise.
5385         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5386         Likewise.
5387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5388         (__ASSUME_SOCKET_SYSCALL): Likewise.
5389         (__ASSUME_BIND_SYSCALL): Likewise.
5390         (__ASSUME_CONNECT_SYSCALL): Likewise.
5391         (__ASSUME_LISTEN_SYSCALL): Likewise.
5392         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5393         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5394         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5395         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5396         (__ASSUME_SEND_SYSCALL): Likewise.
5397         (__ASSUME_SENDTO_SYSCALL): Likewise.
5398         (__ASSUME_RECV_SYSCALL): Likewise.
5399         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5400         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5401         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5402         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5403         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5404         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5405         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5406         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5407         Likewise.
5408         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5409         Likewise.
5410         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5411         Likewise.
5412         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5413         Likewise.
5414         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5415         Likewise.
5416         [__LINUX_KERNEL_VERSION >= 0x020625]
5417         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5418         [__LINUX_KERNEL_VERSION >= 0x020625]
5419         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5420         [__LINUX_KERNEL_VERSION >= 0x020625]
5421         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5422         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5423         Likewise.
5424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5425         Likewise.
5426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5427         Likewise.
5428         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5429         Likewise.
5430         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5431         Likewise.
5432         [__LINUX_KERNEL_VERSION >= 0x020625]
5433         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5434         [__LINUX_KERNEL_VERSION >= 0x020625]
5435         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5436         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5437         Likewise.
5438         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5439         Likewise.
5441 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5443         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5444         record the current if the current ABI and CPU support the FP64
5445         extension.
5446         (has-modd-spreg): Define to record the current if the current ABI and
5447         CPU support 32-bit floating point values in odd FPU registers.
5448         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5449         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5450         $(has-modd-spreg) equals yes.
5451         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5452         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5453         $(has-modd-spreg) equal yes.
5455 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5457         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5458         basename.
5460 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5462         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5463         (bench-string): ... here.
5464         (bench): Add bench-string.
5465         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5466         to *-benchset to reflect what they are.
5467         (benchset): Adjust.
5469         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5470         cos-inputs.
5472 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5474         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5475         __attribute__ ((__simd__)) for vector math function declarations.
5477 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5479         Fix typo in strncat, wcsncat manual entries
5480         * manual/string.texi (Copying and Concatenation): Fix typos in
5481         sample implementations of strncat and wcsncat, by having them use
5482         the old value of the destination length, not the new one.
5484 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5486         [BZ #16961]
5487         [BZ #16962]
5488         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5489         string on the stack for strtod.
5490         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5491         a string on the stack for strtof.
5492         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5493         constructing a string on the stack for strtold.
5494         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5495         __strtold_nan to GLIBC_PRIVATE.
5496         * math/test-nan-overflow.c: New file.
5497         * math/test-nan-payload.c: Likewise.
5498         * math/Makefile (tests): Add test-nan-overflow and
5499         test-nan-payload.
5501 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5503         Consistency about byte vs character in string.texi
5504         * manual/string.texi (String and Array Utilities):
5505         Distinguish more carefully among bytes, multibyte characters,
5506         and wide characters.  Use "byte" when talking about C 'char',
5507         to distinguish it more clearly from multibyte characters.
5508         Say "wide character" or "multibyte character" instead of
5509         "character", when a wide or multibyte character is intended.
5510         Similarly for "multibyte string" versus "string".
5511         Define these terms more carefully.
5513 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5515         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5516         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5517         Likewise.
5518         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5519         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5520         * sysdeps/sh/math_private.h: New file.
5521         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5522         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5523         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5524         long double function name.
5525         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5526         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5527         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5531         Remove __finitel, __isinfl, and __isnanl.
5532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5533         Likewise.
5534         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5536         Remove __finitel.
5537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5538         Likewise.
5539         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5541 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5543         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5544         installed libmvec_nonshared.a.
5546 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5548         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5549         (sysdep_routines): Likewise.
5550         (sysdep-rtld-routines): Likewise.
5551         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5552         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5553         * sysdeps/powerpc/Versions: Added new
5554         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5555         * sysdeps/powerpc/hwcapinfo.c: New file.
5556         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5557         and parse hwcap, hwcap2 and platform number information.
5558         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5559         to store HWCAP+HWCAP2 and platform number.
5560         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5561         for HWCAP+HWCAP2 and platform number in the TCB.
5562         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5563         the HWCAP, HWCAP2 and platform number in the TCB.
5564         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5565         (TLS_INIT_TP): Included calls to add the hwcap and
5566         at_platform values in the TCB in TP initialization.
5567         (TLS_DEFINE_INIT_TP): Likewise.
5568         (THREAD_GET_HWCAP): New macro.
5569         (THREAD_SET_HWCAP): Likewise.
5570         (THREAD_GET_AT_PLATFORM): Likewise.
5571         (THREAD_SET_AT_PLATFORM): Likewise.
5572         * sysdeps/powerpc/powerpc32/dl-machine.h:
5573         (dl_platform_init): New function that calls
5574         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5575         powerpc32.
5576         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5577         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5578         this functionality, static linking case.
5579         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5580         linking case.
5581         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5582         __parse_hwcap_and_convert_at_platform for the static linking case.
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5584         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5585         ABI list for GLIBC 2.23.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5587         Likewise.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5589         Likewise.
5591 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5593         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5594         * configure: Regenerate.
5595         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5596         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5598 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5600         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5601         * iconvdata/ibm933.c: Likewise.
5602         * iconvdata/ibm935.c: Likewise.
5603         * iconvdata/ibm937.c: Likewise.
5604         * iconvdata/ibm939.c: Likewise.
5606 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5608         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5609         pthread_join.
5610         * nptl/tst-cancel21.c (tf): Likewise.
5612 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5614         [BZ #19313]
5615         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5616         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5617         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5618         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5619         Likewise.
5620         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5621         Likewise.
5622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5623         Likewise.
5624         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5625         Likewise.
5626         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5627         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5628         unsigned long int with __CPU_MASK_TYPE.
5630 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5632         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5634 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5637         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5638         t512.x.
5639         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5641 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5643         [BZ #19214]
5644         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5645         argument to return extended model.  Update family and model
5646         with extended family and model when family == 0x0f.
5647         (init_cpu_features): Updated.
5649 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5651         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5652         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5654         * sysdeps/mach/hurd/mmap64.c: New file.
5656 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5658         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5659         rights for its main user thread in NEWTASK.
5661 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5663         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5664         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5666 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5668         [BZ #14259]
5669         * Makeconfig: Rename localedir to complocaledir.
5670         Rename inst_localedir to inst_complocaledir.
5671         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5672         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5673         * configure.ac: Use libc_cv_complocaledir.
5674         * configure: Regenerate.
5675         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5676         -DCOMPLOCALEDIR.
5677         * locale/findlocale.c: Use COMPLOCALEDIR.
5678         * locale/loadarchive.c: Likewise.
5679         * locale/programs/locale.c: Likewise.
5680         * locale/programs/localedef.c: Likewise.
5681         * locale/programs/locarchive.c: Likewise.
5682         * localedata/Makefile: Use inst_complocaledir.
5683         * sysdeps/gnu/configure: Regenerate.
5684         * sysdeps/hppa/configure: Regenerate.
5685         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5686         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5688         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5689         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5690         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5691         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5693 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5695         [BZ #19058]
5696         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5697         AS_NEEDED.
5698         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5699         workaround.
5700         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5701         libmvec-static-only-routines): Added new file.
5702         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5704 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5706         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5707         of interrupted RPC instead of restoring it.
5709         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5710         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5711         libc_hidden_def.
5712         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5713         into initialized data instead of common. Define rtld_hidden_data_def.
5714         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5715         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5716         libc_hidden_def.
5717         (if_freenameindex): Add libc_hidden_weak.
5718         (if_nameindex): Add libc_hidden_weak.
5719         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5720         __open64.
5721         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5722         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5723         * sysdeps/mach/nanosleep.c: Include <time.h>
5724         (__nanosleep): Rename to __libc_nanosleep.
5725         (__nanosleep): Add weak_alias.
5726         (nanosleep): Update alias.
5728 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5730         * stdlib/strtod_nan.c: New file.
5731         * stdlib/strtod_nan_double.h: Likewise.
5732         * stdlib/strtod_nan_float.h: Likewise.
5733         * stdlib/strtod_nan_main.c: Likewise.
5734         * stdlib/strtod_nan_narrow.h: Likewise.
5735         * stdlib/strtod_nan_wide.h: Likewise.
5736         * stdlib/strtof_nan.c: Likewise.
5737         * stdlib/strtold_nan.c: Likewise.
5738         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5739         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5740         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5741         * wcsmbs/wcstod_nan.c: Likewise.
5742         * wcsmbs/wcstof_nan.c: Likewise.
5743         * wcsmbs/wcstold_nan.c: Likewise.
5744         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5745         strtold_nan.
5746         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5747         wcstof_nan.
5748         * include/stdlib.h (__strtof_nan): Declare and use
5749         libc_hidden_proto.
5750         (__strtod_nan): Likewise.
5751         (__strtold_nan): Likewise.
5752         (__wcstof_nan): Likewise.
5753         (__wcstod_nan): Likewise.
5754         (__wcstold_nan): Likewise.
5755         * include/wchar.h (____wcstoull_l_internal): Declare.
5756         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5757         (____strtoull_l_internal): Remove declaration.
5758         (STRTOF_NAN): Define macro.
5759         (SET_MANTISSA): Remove macro.
5760         (STRTOULL): Likewise.
5761         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5762         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5763         (STRTOF_NAN): Define macro.
5764         (SET_MANTISSA): Remove macro.
5765         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5766         (SET_MANTISSA): Remove macro.
5767         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5768         macro.
5769         (SET_MANTISSA): Remove macro.
5770         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5771         macro.
5772         (SET_MANTISSA): Remove macro.
5773         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5774         (SET_MANTISSA): Remove macro.
5775         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5776         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5777         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5779         [BZ #19266]
5780         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5781         upper case and lower case letters inside NAN(), not using TOLOWER.
5782         * stdlib/tst-strtod-nan-locale-main.c: New file.
5783         * stdlib/tst-strtod-nan-locale.c: Likewise.
5784         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5785         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5786         Depend on $(gen-locales).
5787         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5788         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5789         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5790         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5791         Depend on $(gen-locales).
5792         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5794 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5796         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5798         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5800         __finitel, __isinfl, and __isnanl.
5801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5802         Likewise.
5803         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5805         __finitel.
5806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5807         Likewise.
5808         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5810 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5812         * malloc/memusage.c (me): Remove redundant getenv call.
5814 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5816         [BZ #19143]
5817         [BZ #19164]
5818         * nptl/check-cpuset.h: Remove.
5819         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5820         Remove CPU set size check.
5821         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5822         Likewise.
5823         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5824         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5825         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5826         (__pthread_setaffinity_new): Remove CPU set size check.
5827         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5828         (__kernel_cpumask_size): Remove.
5829         (__sched_setaffinity_new): Remove CPU set size check.
5830         * manual/threads.texi (Default Thread Attributes): Remove stale
5831         reference to check_cpuset_attr, determine_cpumask_size in comment.
5832         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5833         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5834         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5835         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5836         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5837         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5838         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5839         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5840         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5841         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5842         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5843         skeleton test file.
5844         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5845         tst-affinity-pid.
5847 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5849         * scripts/update-abilist.sh: New file.
5850         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5851         * Makerules (update-all-abi-%, update-all-abi)
5852         (subdir_update-all-abi): New targets.
5853         * elf/Makefile (update-all-abi): New target.
5855 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5857         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5858         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5859         (__libc_lock_define_initialized): Use it.
5860         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5861         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5862         * malloc/malloc.c (main_arena): Likewise.
5863         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5864         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5866 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5868         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5869         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5870         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5871         (PTRACE_O_MASK): Update value.
5872         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5873         New value in enum __ptrace_setoptions.
5874         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5875         (PTRACE_O_MASK): Update value.
5876         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5877         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5878         (PTRACE_O_MASK): Update value.
5879         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5880         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5881         (PTRACE_O_MASK): Update value.
5882         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5883         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5884         (PTRACE_O_MASK): Update value.
5885         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5886         New value in enum __ptrace_setoptions.
5887         (PTRACE_O_MASK): Update value.
5888         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5889         New value in enum __ptrace_setoptions.
5890         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5891         (PTRACE_O_MASK): Update value.
5893         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5894         New macro.
5895         (PACKET_AUXDATA): Likewise.
5896         (PACKET_ORIGDEV): Likewise.
5897         (PACKET_VERSION): Likewise.
5898         (PACKET_HDRLEN): Likewise.
5899         (PACKET_RESERVE): Likewise.
5900         (PACKET_TX_RING): Likewise.
5901         (PACKET_LOSS): Likewise.
5902         (PACKET_VNET_HDR): Likewise.
5903         (PACKET_TX_TIMESTAMP): Likewise.
5904         (PACKET_TIMESTAMP): Likewise.
5905         (PACKET_FANOUT): Likewise.
5906         (PACKET_TX_HAS_OFF): Likewise.
5907         (PACKET_QDISC_BYPASS): Likewise.
5908         (PACKET_ROLLOVER_STATS): Likewise.
5909         (PACKET_FANOUT_DATA): Likewise.
5910         (PACKET_MR_UNICAST): Likewise.
5912         [BZ #19242]
5913         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5914         (TOUPPER): Likewise.
5915         * stdlib/tst-strtol-locale-main.c: New file.
5916         * stdlib/tst-strtol-locale.c: Likewise.
5917         * stdlib/Makefile (tests): Add tst-strtol-locale.
5918         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5919         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5920         Depend on $(gen-locales).
5921         * wcsmbs/tst-wcstol-locale.c: New file.
5922         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5923         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5924         tr_TR.ISO-8859-9.
5925         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5926         Depend on $(gen-locales).
5928 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5930         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5931         __glibc_likely instead of __builtin_expect.  After falling back to
5932         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5933         system interface to register the code pages as occupied.
5935 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5937         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5938         [!ARM_MATH_PRIVATE_H].
5939         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5940         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5941         [!HPPA_MATH_PRIVATE_H].
5942         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5943         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5944         to [!I386_MATH_PRIVATE_H].
5945         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5946         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5947         Change guard to [!M68K_MATH_PRIVATE_H].
5948         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5949         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5950         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5951         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5952         macro.
5953         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5954         [!MIPS_MATH_PRIVATE_H].
5955         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5956         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5957         [!NIO2_MATH_PRIVATE_H].
5958         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5959         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5960         [!TILE_MATH_PRIVATE_H].
5961         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5963         [BZ #15421]
5964         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5965         initialize with 0 and define as weak alias of __signgam.
5966         * include/math.h [!_ISOMAC] (__signgam): Declare.
5967         * math/Makefile (libm-calls): Add w_lgamma_compat.
5968         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5969         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5970         test-signgam-ullong-init.
5971         (tests-static): Add test-signgam-uchar-static,
5972         test-signgam-uchar-init-static, test-signgam-uint-static,
5973         test-signgam-uint-init-static, test-signgam-ullong-static and
5974         test-signgam-ullong-init-static.
5975         (CFLAGS-test-signgam-uchar.c): New variable.
5976         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5977         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5978         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5979         (CFLAGS-test-signgam-uint.c): Likewise.
5980         (CFLAGS-test-signgam-uint-init.c): Likewise.
5981         (CFLAGS-test-signgam-uint-static.c): Likewise.
5982         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5983         (CFLAGS-test-signgam-ullong.c): Likewise.
5984         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5985         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5986         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5987         * math/Versions (libm): Add GLIBC_2.23.
5988         * math/lgamma-compat.h: New file.
5989         * math/test-signgam-main.c: Likewise.
5990         * math/test-signgam-uchar-init-static.c: Likewise.
5991         * math/test-signgam-uchar-init.c: Likewise.
5992         * math/test-signgam-uchar-static.c: Likewise.
5993         * math/test-signgam-uchar.c: Likewise.
5994         * math/test-signgam-uint-init-static.c: Likewise.
5995         * math/test-signgam-uint-init.c: Likewise.
5996         * math/test-signgam-uint-static.c: Likewise.
5997         * math/test-signgam-uint.c: Likewise.
5998         * math/test-signgam-ullong-init-static.c: Likewise.
5999         * math/test-signgam-ullong-init.c: Likewise.
6000         * math/test-signgam-ullong-static.c: Likewise.
6001         * math/test-signgam-ullong.c: Likewise.
6002         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6003         wrapper of w_lgamma_main.c.
6004         * math/w_lgamma_compat.c: New file.
6005         * math/w_lgamma_compatf.c: Likewise.
6006         * math/w_lgamma_compatl.c: Likewise.
6007         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6008         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6009         defining compatibility symbols.
6010         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6011         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6012         wrapper of w_lgammaf_main.c.
6013         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6014         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6015         defining compatibility symbols.
6016         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6017         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6018         wrapper of w_lgammal_main.c.
6019         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6020         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6021         defining compatibility symbols.
6022         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6023         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6024         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6025         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6026         <lgamma-compat.h>.
6027         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6028         (__ieee754_gamma): Define as alias.
6029         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6030         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6031         <lgamma-compat.h>.
6032         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6033         (__ieee754_gammaf): Define as alias.
6034         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6035         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6036         <lgamma-compat.h>.
6037         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6038         (__ieee754_gammal): Define as alias.
6039         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6040         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6041         <math/w_lgamma_compat.c>.
6042         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6043         Define as alias of __lgamma_compat and use in defining lgammal.
6044         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6045         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6046         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6047         (USE_AS_COMPAT): New macro.
6048         (LGAMMA_OLD_VER): Undefine and redefine.
6049         (lgammal): Do not define here.
6050         (gammal): Only define here if [GAMMA_ALIAS].
6051         * conform/linknamespace.pl (@whitelist): Remove signgam.
6052         * sysdeps/nacl/libm.abilist: Update.
6053         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6054         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6055         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6056         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6068         Likewise.
6069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6070         Likewise.
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6072         Likewise.
6073         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6079         Likewise.
6080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6081         Likewise.
6082         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6086 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6088         [BZ #16364]
6089         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6090         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6092 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6094         * sysdeps/s390/fpu/bits/mathinline.h:
6095         Use __asm__ [__volatile__] instead of asm [volatile].
6096         * sysdeps/s390/abort-instr.h: Likewise.
6097         * sysdeps/s390/atomic-machine.h: Likewise.
6098         * sysdeps/s390/bits/string.h: Likewise.
6099         * sysdeps/s390/dl-tls.h: Likewise.
6100         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6101         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6102         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6103         * sysdeps/s390/fpu/fesetround.c: Likewise.
6104         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6105         * sysdeps/s390/fpu/s_fma.c: Likewise.
6106         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6107         * sysdeps/s390/memusage.h: Likewise.
6108         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6109         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6110         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6111         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6112         * sysdeps/s390/nptl/tls.h: Likewise.
6113         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6114         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6115         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6116         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6117         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6118         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6119         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6120         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6121         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6122         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6123         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6124         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6125         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6126         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6127         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6128         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6129         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6130         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6131         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6133         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6135         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6137 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6138             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6140         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6141         Add lwarx hint, and use macro for acquire instruction.
6142         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6143         Likewise.
6144         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6145         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6146         update to use new atomic macros.
6148 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6150         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6151         (__lll_trylock_elision): Fix setting of adapt_count.
6152         * sysdeps/unix/sysv/linux/powerpc/htm.h
6153         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6154         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6155         (_ABORT_SYSCALL): Renumber, and clarify definition.
6156         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6158 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6161         after system headers to prevent MIN/MAX redefinition.  Define
6162         HAVE_ALLOCA to preserve builtin alloca usage.
6164 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6167         static and don't set or restore rounding.
6168         (__cos)[IN_SINCOS]: Likewise.
6169         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6170         (__sincos): Set and restore rounding mode.  Remove check for infinite
6171         or NaN input.
6173         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6175         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6176         as used.
6178 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6180         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6182 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6184         * config.make.in (have-glob-dat-reloc): New.
6185         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6186         target supports GLOB_DAT relocaton. AC_SUBST.
6187         * configure: Regenerated.
6188         * elf/Makefile (tests): Add tst-prelink.
6189         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6190         (tst-prelink-ENV): New.
6191         ($(objpfx)tst-prelink-conflict.out): Likewise.
6192         ($(objpfx)tst-prelink-cmp.out): Likewise.
6193         * sysdeps/x86/tst-prelink.c: Moved to ...
6194         * elf/tst-prelink.c: Here.
6195         * sysdeps/x86/tst-prelink.exp: Moved to ...
6196         * elf/tst-prelink.exp: Here.
6197         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6198         (tst-prelink-ENV): Removed.
6199         ($(objpfx)tst-prelink-conflict.out): Likewise.
6200         ($(objpfx)tst-prelink-cmp.out): Likewise.
6201         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6203 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #14551]
6206         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6207         (__mpn_construct_long_double): If high part overflows to infinity,
6208         set errno and recompute overflowed result of the correct sign.
6209         * sysdeps/ieee754/ldbl-128ibm/Makefile
6210         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6211         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6212         $(libm).
6213         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6215 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #15479]
6218         [BZ #19238]
6219         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6220         floating-point state after first operation on input.  Restore full
6221         state rather than just rounding mode.
6222         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6223         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6224         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6226         [BZ #19235]
6227         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6228         add 0.5 to integer arguments.
6229         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6230         Likewise.
6231         (.LC2): New object.
6233 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6235         * scripts/pylintrc (reports): Set to no.
6237 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6239         * elf/dl-load.c (open_verify): Take new argument FD.
6240         Skip __open call if passed FD is not -1.
6241         (_dl_map_object, open_path): Update callers.
6242         * elf/dl-sysdep-open.h: New file.
6243         * elf/dl-load.c: Include it.
6244         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6245         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6246         * sysdeps/nacl/dl-sysdep-open.h: New file.
6247         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6248         from libc to rtld.
6250 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6252         [BZ #19228]
6253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6254         and restore full floating-point state.
6255         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6256         Likewise.
6257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6258         Likewise.
6259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6260         Likewise.
6261         * math/test-nearbyint-except-2.c: New file.
6262         * math/Makefile (tests): Add test-nearbyint-except-2.
6264 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6266         [BZ #19178]
6267         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6268         (tst-prelink-ENV): New.
6269         ($(objpfx)tst-prelink-conflict.out): Likewise.
6270         ($(objpfx)tst-prelink-cmp.out): Likewise.
6271         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6272         * sysdeps/x86/tst-prelink.c: New file.
6273         * sysdeps/x86/tst-prelink.exp: Likewise.
6275 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6277         * math/auto-libm-test-in: Add another test of pow.
6278         * math/auto-libm-test-out: Regenerated.
6279         * math/libm-test.inc (pow_test_data): Add another test.
6281 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6283         [BZ #19219]
6284         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6285         weak_alias to nearbyintl.
6287 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6289         * sysdeps/aarch64/bits/string.h: New file.
6290         (_STRING_ARCH_unaligned): Define.
6292 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6294         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6295         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6296         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6297         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6300 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6302         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6303         for original name of the DSO.  Add it to the name list of the DSO
6304         if it is actually given.
6305         (_dl_map_object): Keep track of whether an audit module rewrote
6306         the file name.  If yes, pass the original name to
6307         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6308         debugging is enabled, log the change of the file name.
6309         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6310         _dl_map_object_from_fd.
6311         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6312         * elf/tst-audit11.c: New file
6313         * elf/tst-auditmod11.c: New file.
6314         * elf/tst-audit11mod1.c: New file.
6315         * elf/tst-audit11mod2.c: New file.
6316         * elf/tst-audit11mod2.map: New file.
6317         * elf/tst-audit12.c: New file
6318         * elf/tst-auditmod12.c: New file.
6319         * elf/tst-audit12mod1.c: New file.
6320         * elf/tst-audit12mod2.c: New file.
6321         * elf/tst-audit12mod2.map: New file.
6322         * elf/tst-audit12mod3.c: New file.
6324 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6326         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6327         Don't create weak aliases,
6328         because versioned symbols are created later.
6329         * sysdeps/s390/s390-32/setjmp.S
6330         (setjmp, _setjmp): Remove weak and rename to an unique name
6331         in SHARED case due to existing versioned symbols.
6332         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6333         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6334         (getcontext): Create weak alias only in non SHARED case.
6335         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6337 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6339         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6340         (__ASSUME_*_SYSCALL) Define new macros.
6341         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6342         Remove socketcall syscalls.
6343         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6344         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6345         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6346         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6347         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6348         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6350 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6352         [BZ #12926]
6353         Terminate process on invalid netlink response.
6354         * sysdeps/unix/sysv/linux/netlinkaccess.h
6355         (__netlink_assert_response): Declare.
6356         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6357         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6358         (sysdep_routines): Add netlink_assert_response.
6359         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6360         __netlink_assert_response.
6361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6362         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6363         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6364         __netlink_assert_response.
6366 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6368         [BZ #19178]
6369         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6370         (RTYPE_CLASS_PLT): Likewise.
6371         (RTYPE_CLASS_COPY): Likewise.
6372         (RTYPE_CLASS_TLS): Likewise.
6373         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6374         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6375         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6376         DL_DEBUG_PRELINK.
6378 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6380         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6381         calls with argument -0.5.
6382         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6384         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6385         (libc_cv_z_nodlopen): Likewise.
6386         (libc_cv_z_initfirst): Likewise.
6387         * configure: Regenerated.
6389 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6391         Simplify abilist format to be line-based.
6392         * scripts/abilist.awk: Collect descriptors in the descs variable.
6393         (emit): Write descs variable and sort it
6394         externally, with sort.
6395         * sysdeps/**/*.abilist: Convert to new format.
6397 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6399         [BZ #11460]
6400         * io/Makefile (routines): Add fts64.
6401         (tests): Add tst-fts and tst-fts-lfs.
6402         (CFLAGS-fts64.c): New.
6403         * io/Versions (GLIBC_2.23): New.
6404         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6405         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6406         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6407         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6408         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6409         (FTSENT64): Likewise.
6410         (fts64_children): Likewise.
6411         (fts64_close): Likewise.
6412         (fts64_open): Likewise.
6413         (fts64_read): Likewise.
6414         (fts64_set): Likewise.
6415         * io/fts64.c: New file.
6416         * io/tst-fts.c: New test.
6417         * io/tst-fts-lfs.c: Likewise.
6418         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6419         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6420         fts64_set.
6421         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6425         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6426         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6435         Likewise.
6436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6450         * sysdeps/wordsize-64/fts.c: New file.
6451         * sysdeps/wordsize-64/fts64.c: Likewise.
6452         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6453         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6454         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6455         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6457 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6459         * math/libm-test.inc (NON_FINITE): New macro.
6460         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6461         * math/gen-libm-test.pl (show_exceptions): Add argument
6462         $non_finite.
6463         (parse_args): Update call to show_exceptions.
6464         * math/test-math-finite.h: New file.
6465         * math/test-math-no-finite.h: Likewise.
6466         * math/test-double-finite.c: Likewise.
6467         * math/test-float-finite.c: Likewise.
6468         * math/test-ldouble-finite.c: Likewise.
6469         * math/test-double.c: Include "test-math-no-finite.h".
6470         * math/test-float.c: Include "test-math-no-finite.h".
6471         * math/test-ldouble.c: Include "test-math-no-finite.h".
6472         * math/test-math-inline.h (TEST_FINITE): New macro.
6473         * math/test-math-vector.h (TEST_FINITE): Likewise.
6474         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6475         (libm-tests): Add test-float-finite and test-double-finite.
6476         ($(objpfx)test-float-finite.o): New dependency on
6477         $(objpfx)libm-test.stmp.
6478         ($(objpfx)test-double-finite.o): Likewise.
6479         ($(objpfx)test-ldouble-finite.o): Likewise.
6480         (libm-test-no-inline-cflags): New variable.
6481         (libm-test-finite-cflags): Likewise.
6482         (CFLAGS-test-float-finite.c): Likewise.
6483         (CFLAGS-test-double-finite.c): Likewise.
6484         (CFLAGS-test-ldouble-finite.c): Likewise.
6485         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6486         (CFLAGS-test-double.c): Likewise.
6487         (CFLAGS-test-ldouble.c): Likewise.
6489 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6491         * io/fcntl.c (__fcntl): Add ... to prototype.
6492         * misc/ioctl.c (__ioctl): Likewise.
6493         * misc/syscall.c (syscall): Likewise.
6495 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6497         * scripts/list-fixed-bugs.py: New file.
6499         [BZ #19213]
6500         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6501         returned for argument 1.
6502         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6503         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6504         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6505         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6506         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6507         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6509         [BZ #19211]
6510         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6511         __USE_XOPEN], not if [!__USE_ISOC99].
6512         (lgammaf): Likewise.
6513         (lgammal): Likewise.
6514         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6515         (gammaf): Likewise.
6516         (gammal): Likewise.
6517         * math/test-signgam-finite-c11.c: New file.
6518         * math/test-signgam-finite-c99.c: Likewise.
6519         * math/test-signgam-finite.c: Likewise.
6520         * math/Makefile (tests): Add test-signgam-finite,
6521         test-signgam-finite-c99 and test-signgam-finite-c11.
6522         (CFLAGS-test-signgam-finite.c): New variable.
6523         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6524         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6526         [BZ #19212]
6527         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6528         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6529         500].
6530         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6531         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6532         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6533         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6534         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6535         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6536         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6537         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6538         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6539         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6541         [BZ #19209]
6542         * math/bits/math-finite.h (ldexp): Remove declaration.
6543         (ldexpf): Likewise.
6544         (ldexpl): Likewise.
6546         [BZ #19205]
6547         * math/bits/math-finite.h (acosf): Condition declaration on
6548         [__USE_ISOC99].
6549         (acosl): Likewise.
6550         (acoshf): Likewise.
6551         (acoshl): Likewise.
6552         (asinf): Likewise.
6553         (asinl): Likewise.
6554         (atan2f): Likewise.
6555         (atan2l): Likewise.
6556         (atanhf): Likewise.
6557         (atanhl): Likewise.
6558         (coshf): Likewise.
6559         (coshl): Likewise.
6560         (expf): Likewise.
6561         (expl): Likewise.
6562         (fmodf): Likewise.
6563         (fmodl): Likewise.
6564         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6565         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6566         (j0l): Likewise.
6567         (y0f): Likewise.
6568         (y0l): Likewise.
6569         (j1f): Likewise.
6570         (j1l): Likewise.
6571         (y1f): Likewise.
6572         (y1l): Likewise.
6573         (jnf): Likewise.
6574         (jnl): Likewise.
6575         (ynf): Likewise.
6576         (ynl): Likewise.
6577         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6578         (lgammal_r): Likewise.
6579         (__lgamma_r_finite): New declaration.
6580         (__lgammaf_r_finite): Likewise.
6581         (__lgammal_r_finite): Likewise.
6582         (lgamma): Use __lgamma_r_finite.
6583         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6584         __lgammaf_r_finite.
6585         (lgammal): Condition definition on [__USE_ISOC99].  Use
6586         __lgammal_r_finite.
6587         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6588         __lgamma_r_finite.
6589         (gammaf): Condition definition on [__USE_ISOC99].  Use
6590         __lgammaf_r_finite.
6591         (gammal): Condition definition on [__USE_ISOC99].  Use
6592         __lgammal_r_finite.
6593         (logf): Condition declaration on [__USE_ISOC99].
6594         (logl): Likewise.
6595         (log10f): Likewise.
6596         (log10l): Likewise.
6597         (ldexpf): Likewise.
6598         (ldexpl): Likewise.
6599         (powf): Likewise.
6600         (powl): Likewise.
6601         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6602         __USE_ISOC99].
6603         (remainderf): Condition declaration on [__USE_ISOC99].
6604         (remainderl): Likewise.
6605         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6606         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6607         (scalbl): Likewise.
6608         (sinhf): Condition declaration on [__USE_ISOC99].
6609         (sinhl): Likewise.
6610         (sqrtf): Likewise.
6611         (sqrtl): Likewise.
6613 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6615         * sysdeps/arm/atomic-machine.h
6616         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6617         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6618         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6619         Remove conditional code.
6620         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6621         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6622         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6623         Change conditional to [__ASSEMBLER__].
6624         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6625         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6626         [!__ASSEMBLER__].
6627         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6628         code.
6629         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6630         conditional macro definitions.
6631         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6632         (__arch_compare_and_exchange_val_16_acq): Likewise.
6633         (__arch_compare_and_exchange_val_32_acq): Likewise.
6634         (atomic_exchange_and_add): Likewise.
6635         (atomic_add): Likewise.
6636         (atomic_add_negative): Likewise.
6637         (atomic_add_zero): Likewise.
6638         (atomic_bit_set): Likewise.
6639         (atomic_bit_test_set): Likewise.
6640         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6641         code unconditional.
6642         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6644         * math/test-math-errno.h: New file.
6645         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6646         empty.
6647         (TEST_ERRNO): New macro.
6648         (TEST_EXCEPTIONS): Likewise.
6649         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6650         (TEST_EXCEPTIONS): Likewise.
6651         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6652         * math/test-double.c: Include "test-math-errno.h".
6653         * math/test-float.c: Likewise.
6654         * math/test-ldouble.c: Likewise.
6655         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6656         code unconditional.
6657         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6658         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6659         unconditional.
6660         (test_errno): Only run code if TEST_ERRNO.
6661         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6663 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6665         * nptl/tst-once5.cc: Remove attribution.
6667 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6669         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6670         sqrt, tan, tanh, y0, y1 and yn.
6671         * math/auto-libm-test-out: Regenerated.
6672         * math/libm-test.inc (scalb_test_data): Add more tests.
6673         (scalbn_test_data): Likewise.
6674         (scalbln_test_data): Likewise.
6675         (signbit_test_data): Likewise.
6676         (sin_test_data): Likewise.
6677         (sincos_test_data): Likewise.
6678         (sinh_test_data): Likewise.
6679         (sqrt_test_data): Likewise.
6680         (tan_test_data): Likewise.
6681         (tanh_test_data): Likewise.
6682         (tgamma_test_data): Likewise.
6683         (y0_test_data): Likewise.
6684         (y1_test_data): Likewise.
6685         (yn_test_data): Likewise.
6686         (significand_test_data): Likewise.
6687         * sysdeps/i386/fpu/libm-test-ulps: Update.
6689 2015-11-03  David Kastrup  <dak@gnu.org>
6691         [BZ #18604]
6692         * assert/assert.h (assert): Don't macro-expand failed assertion
6693         expression in error message.
6694         * malloc/malloc.c (assert): Likewise.
6696 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6698         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6699         test.
6700         * configure: Regenerated.
6702 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6704         * math/libm-test.inc (modf_test_data): Add more tests.
6705         (nearbyint_test_data): Likewise.
6706         (nextafter_test_data): Likewise.
6707         (nexttoward_test_data): Likewise.
6708         (pow_test_data): Likewise.
6709         (remainder_test_data): Likewise.
6710         (remquo_test_data): Likewise.
6711         (rint_test_data): Likewise.
6713         [BZ #19201]
6714         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6715         Check for zero remainder in case of large exponents and ensure
6716         correct sign of result in that case.
6717         * math/libm-test.inc (remainder_test_data): Add more tests.
6719         [BZ #6799]
6720         * math/s_nextafter.c: Include <errno.h>.
6721         (__nextafter): Set errno on overflow and underflow.
6722         * math/s_nexttowardf.c: Include <errno.h>.
6723         (__nexttowardf): Set errno on overflow and underflow.
6724         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6725         (__nextafterl): Set errno on overflow and underflow.
6726         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6727         (__nexttoward): Set errno on overflow and underflow.
6728         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6729         (__nexttowardf): Set errno on overflow and underflow.
6730         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6731         (__nextafterf): Set errno on overflow and underflow.
6732         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6733         (__nextafterl): Set errno on overflow and underflow.
6734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6735         (__nexttoward): Set errno on overflow and underflow.
6736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6737         (__nexttowardf): Set errno on overflow and underflow.
6738         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6739         (__nextafterl): Set errno on overflow and underflow.
6740         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6741         (__nexttoward): Set errno on overflow and underflow.
6742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6743         (__nexttowardf): Set errno on overflow and underflow.
6744         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6745         (__nexttoward): Set errno on overflow and underflow.
6746         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6747         (__nexttowardf): Set errno on overflow and underflow.
6748         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6749         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6750         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6751         (__nextafterl): Set errno on overflow and underflow.
6752         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6753         setting to be missing on overflow.  Add more tests.
6754         (nexttoward_test_data): Likewise.
6756         * configure.ac (libc_cv_initfini_array): Remove configure test.
6757         * configure: Regenerated.
6759 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6761         [BZ #19189]
6762         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6763         non-finite argument handle arguments with negative sign.
6765         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6766         result from infinite argument.
6767         (j1_test_data): Likewise.
6768         (jn_test_data): Likewise.
6769         (y0_test_data): Likewise.
6770         (y1_test_data): Likewise.
6771         (yn_test_data): Likewise.
6773         [BZ #16171]
6774         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6775         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6776         * math/w_remainderf.c (dremf): Define as weak alias of
6777         __remainderf.
6778         * math/w_remainderl.c (dreml): Define as weak alias of
6779         __remainderl.
6780         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6781         __remainder.
6782         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6783         __remainderf.
6784         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6785         __remainderl.
6786         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6787         weak alias of remainderl.
6788         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6789         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6790         alias of __remainder.
6791         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6792         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6793         strong alias of __remainderl.
6794         (dreml): Use long_double_symbol.
6795         * math/Makefile (libm-calls): Remove w_drem.
6796         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6797         (CFLAGS-nldbl-drem.c): Remove variable.
6798         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6799         * math/w_drem.c: Remove file.
6800         * math/w_dremf.c: Likewise.
6801         * math/w_dreml.c: Likewise.
6802         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6803         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6804         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6806         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6807         * sysdeps/i386/configure: Regenerated.
6808         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6809         * sysdeps/x86_64/configure: Regenerated.
6811         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6812         test.
6813         (libc_cv_visibility_attribute): Likewise.
6814         (libc_cv_protected_data): Test unconditionally.
6815         (libc_cv_broken_visibility_attribute): Remove configure test.
6816         (libc_cv_have_sdata_section): Test unconditionally.
6817         * configure: Regenerated.
6819         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6820         * include/scratch_buffer.h: Include <stddef.h> instead of
6821         <libc-internal.h>.
6822         (struct scratch_buffer): Use max_align_t instead of
6823         libc_max_align_t.
6825 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6827         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6828         instead of extend_alloca.  Change control flow to avoid a goto.
6829         Remove assert which is trivially always true.
6831 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6833         [BZ #16068]
6834         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6835         (FE_ALL_EXCEPT_X86): New macro.
6836         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6837         FE_ALL_EXCEPT.  Ensure precision control is included in
6838         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6839         handle "denormal operand exception" and clear FZ and DAZ bits.
6840         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6841         (FE_ALL_EXCEPT_X86): New macro.
6842         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6843         FE_ALL_EXCEPT.  Ensure precision control is included in
6844         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6845         handle "denormal operand exception" and clear FZ and DAZ bits.
6846         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6847         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6848         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6849         test-fenv-x87 and test-fenv-sse-2.
6850         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6852         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6853         * math/test-double.h (BUILD_COMPLEX): New macro.
6854         * math/test-float.h (BUILD_COMPLEX): Likewise.
6855         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6857         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6858         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6859         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6861         instead of DBL_DENORM_MIN in comment.
6862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6863         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6864         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6865         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6867         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6869 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6871         [BZ# 19048]
6872         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6873         attached_threads member.
6874         (main_arena): Initialize attached_threads.
6875         * malloc/arena.c (list_lock): Update comment.
6876         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6877         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6878         (deattach_arena): New function.
6879         (_int_new_arena): Initialize arena reference count and deattach
6880         replaced arena.
6881         (get_free_list, reused_arena): Update reference count and deattach
6882         replaced arena.
6883         (arena_thread_freeres): Update arena reference count and only put
6884         unreferenced arenas on the free list.
6886 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6888         [BZ #19181]
6889         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6890         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6891         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6892         * math/test-fenv-clear-main.c: New file.
6893         * math/test-fenv-clear.c: Likewise.
6894         * math/Makefile (tests): Add test-fenv-clear.
6895         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6896         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6897         test-fenv-clear-sse.
6898         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6900         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6901         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6902         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6904 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6906         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6907         static libc.
6909 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6911         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6912         test.
6913         * sysdeps/i386/configure: Regenerated.
6914         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6915         test.
6916         * sysdeps/x86_64/configure: Regenerated.
6917         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6919         memset-avx2 unconditionally instead of conditionally on
6920         [$(config-cflags-avx2) = yes].
6921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6922         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6923         unconditional.
6924         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6925         * sysdeps/x86_64/multiarch/memset_chk.S
6926         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6927         to [IS_IN (libc) && SHARED].
6929 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6931         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6932         configure test.
6933         * sysdeps/arm/configure: Regenerated.
6934         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6935         Define variable if not already defined.
6937         [BZ #17404]
6938         * sysdeps/mips/atomic-machine.h
6939         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6940         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6941         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6943         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6944         unconditional.
6945         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6946         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6947         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6948         unconditional.
6949         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6950         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6951         unconditional.
6952         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6953         * stdlib/setenv.c
6954         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6955         code unconditional.
6956         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6957         Remove conditional code.
6958         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6959         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6960         unconditional.
6961         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6962         code.
6963         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6964         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6965         unconditional.
6966         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6967         code.
6968         * sysdeps/ieee754/ldbl-128/k_tanl.c
6969         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6970         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6971         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6972         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6973         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6975         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6976         unconditional.
6977         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6978         code.
6979         * sysdeps/ieee754/ldbl-96/k_tanl.c
6980         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6981         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6983         * nptl/tst-initializers1-c11.c: New file.
6984         * nptl/tst-initializers1-gnu11.c: Likewise.
6985         * nptl/Makefile (tests): Add these new tests.
6986         (CFLAGS-tst-initializers1-c11.c): New variable.
6987         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6989         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6990         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6991         instead of -std=gnu99.
6992         * configure.ac (systemtap): Test with -std=gnu11 instead of
6993         -std=gnu99.
6994         * configure: Regenerated.
6995         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6996         in compilation command in comment.
6998         * sysdeps/nptl/configure.ac: Remove file.
6999         * sysdeps/nptl/configure: Remove generated file.
7000         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7001         * configure: Regenerated.
7002         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7003         * config.make.in (have-forced-unwind): Remove variable.
7004         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7005         unconditional.
7006         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7007         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7008         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7009         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7010         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7011         unconditional.
7013 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7015         [BZ #19174]
7016         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7017         .skip_lock_out_of_tbegin_retries.
7018         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7019         (__lll_lock_elision): Likewise, and respect a value of
7020         try_tbegin <= 0.
7022 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7024         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7025         statement.
7027 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7029         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7030         variable.
7031         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7032         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7034         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7035         of -std=c1x -D_ISOC11_SOURCE.
7037         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7038         * configure: Regenerated.
7039         * manual/install.texi (Tools for Compilation): Document
7040         requirement for GCC 4.7 or later.
7041         * INSTALL: Regenerated.
7043 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7045         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7046         on CNT to a conditional jump to 'puntdata'.
7048 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7050         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7051         (libc_cv_gcc_tls_model_attr): Likewise.
7052         * configure: Regenerated.
7054         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7055         * configure: Regenerated.
7056         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7058 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7060         * configure.ac (old_glibc_headers): Remove configure test.
7061         * configure: Regenerated.
7062         * config.make.in (old-glibc-headers): Remove variable.
7063         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7064         (install): Remove dependency on remove-old-headers.
7065         (headers2_0): Remove variable.
7066         (remove-old-headers): Remove rule.
7068         * configure.ac (libc_cv_dot_text): Remove configure test.
7069         (libc_cv_asm_set_directive): Use .text instead of
7070         ${libc_cv_dot_text} in configure test.
7071         * configure: Regenerated.
7073 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7075         [BZ #19168]
7076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7078 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7080         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7081         not support static linking.
7082         * configure: Regenerate.
7084 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7086         * math/libm-test.inc (check_float_internal): Do not special-case
7087         errors up to 0.5 ulp.
7089         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7090         log2.
7091         * math/auto-libm-test-out: Regenerated.
7092         * math/libm-test.inc (MAX_EXP): New macro.
7093         (ilogb_test_data): Add more tests.
7094         (isfinite_test_data): Likewise.
7095         (isgreater_test_data): Likewise.
7096         (isgreaterequal_test_data): Likewise.
7097         (isinf_test_data): Likewise.
7098         (isless_test_data): Likewise.
7099         (islessequal_test_data): Likewise.
7100         (islessgreater_test_data): Likewise.
7101         (isnan_test_data): Likewise.
7102         (isnormal_test_data): Likewise.
7103         (issignaling_test_data): Likewise.
7104         (isunordered_test_data): Likewise.
7105         (j0_test_data): Likewise.
7106         (j1_test_data): Likewise.
7107         (jn_test_data): Likewise.
7108         (lgamma_test_data): Likewise.
7109         (log_test_data): Likewise.
7110         (log10_test_data): Likewise.
7111         (log1p_test_data): Likewise.
7112         (log2_test_data): Likewise.
7113         (logb_test_data): Likewise.
7114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7116         [BZ #18611]
7117         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7118         avoid excess range and precision on underflow.
7119         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7120         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7121         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7123         underflow.
7124         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7126         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7127         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7128         * math/auto-libm-test-in: Do not allow missing errno setting for
7129         tests of j1 and jn.
7130         * math/auto-libm-test-out: Regenerated.
7132 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7134         [BZ #15491]
7135         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7136         floating-point environment instead of clearing all exceptions.
7137         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7138         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7139         merging in "invalid" exceptions from frndint.
7140         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7141         * math/test-nearbyint-except.c: New file.
7142         * math/Makefile (tests): Add test-nearbyint-except.
7144 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7146         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7148         * sysdeps/tile/libm-test-ulps: Regenerated.
7150 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7153         (__NR_sync_file_range2): Assume it is always defined.
7154         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7155         (__NR_sync_file_range): Assume it is always defined.
7157 2015-10-22  Andreas Schwab  <schwab@suse.de>
7159         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7160         INTERNAL_SYSCALL_ERRNO.
7161         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7162         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7163         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7164         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7165         Likewise.
7166         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7168 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7170         * io/tst-fcntl.c (fd): New static variable.
7171         (do_prepare): Open temporary file here....
7172         (do_test): ...not here.
7174         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7176 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7178         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7179         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7180         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7181         Moved before "#ifdef __ASSEMBLER__".
7183 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7185         [BZ #19156]
7186         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7187         arguments very close to 0.
7189 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7191         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7192         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7194 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7196         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7197         New.  Defined for GCC 5 and above when not compiling for
7198         profiling.
7199         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7201         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7202         Renamed to ...
7203         (CFLAGS-epoll_pwait.o): This.
7204         (CFLAGS-mmap.c): Renamed to ...
7205         (CFLAGS-mmap.o): This.
7206         (CFLAGS-mmap64.c): Renamed to ...
7207         (CFLAGS-mmap64.o): This.
7208         (CFLAGS-epoll_pwait.os): New.
7209         (CFLAGS-mmap.os): Likewise.
7210         (CFLAGS-mmap64.os): Likewise.
7211         (CFLAGS-semtimedop.os): Likewise.
7212         (CFLAGS-semtimedop.c): Renamed to ...
7213         (CFLAGS-semtimedop.o): This.
7215 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7217         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7218         warning message.
7220 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7222         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7223         * Makefile ($(objpfx)c++-types-check.out): Filter out
7224         $(+gccwarn-c) instead of -Wstrict-prototypes.
7226         * io/fts.c (fts_open): Convert to prototype-style function
7227         definition.
7228         * malloc/mcheck.c (mcheck): Likewise.
7229         (mcheck_pedantic): Likewise.
7230         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7231         internal_function.
7232         (re_search_internal): Likewise.
7233         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7234         prototype-style function definition.
7235         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7236         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7237         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7238         (xdr_utmpptr): Likewise.
7239         (xdr_utmparr): Likewise.
7240         (xdr_utmpidle): Likewise.
7241         (xdr_utmpidleptr): Likewise.
7242         (xdr_utmpidlearr): Likewise.
7244         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7245         log, log10 and log2.
7246         * math/auto-libm-test-out: Regenerated.
7247         * math/libm-test.inc (fmod_test_data): Add more tests.
7248         (fpclassify_test_data): Likewise.
7249         (frexp_test_data): Likewise.
7250         (hypot_test_data): Likewise.
7251         (ilogb_test_data): Likewise.
7253 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7255         * debug/fortify_fail.c (__fortify_fail): Convert to
7256         prototype-style function definition.  Use internal_function.
7257         * libio/genops.c (save_for_backup): Convert to prototype-style
7258         function definition.
7259         * libio/wgenops.c (save_for_wbackup): Likewise.
7260         * login/grantpt.c (grantpt): Likewise.
7261         * login/ptsname.c (ptsname): Likewise.
7262         (__ptsname_r): Likewise.
7263         * login/unlockpt.c (unlockpt): Likewise.
7264         * mach/msgserver.c (__mach_msg_server): Likewise.
7265         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7266         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7267         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7268         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7269         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7270         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7271         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7272         Likewise.
7273         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7274         internal_function.
7275         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7276         prototype-style function definition.
7277         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7278         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7279         (__pthread_create_2_0): Likewise.
7280         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7281         * nptl/register-atfork.c (__register_atfork): Likewise.
7282         * posix/glob.c (glob): Likewise.
7283         * posix/regcomp.c (re_comp): Likewise.
7284         * posix/regexec.c (re_exec): Likewise.
7285         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7286         [!__STDC__]: Remove conditional code.
7287         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7288         [!__STDC__]: Remove conditional code.
7289         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7290         [!__STDC__]: Remove conditional code.
7291         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7292         [!__STDC__]: Remove conditional code.
7293         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7294         [!__STDC__]: Remove conditional code.
7295         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7296         [!__STDC__]: Remove conditional code.
7297         * stdlib/mul.c [__STDC__]: Make code unconditional.
7298         [!__STDC__]: Remove conditional code.
7299         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7300         [!__STDC__]: Remove conditional code.
7301         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7302         [!__STDC__]: Remove conditional code.
7303         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7304         function definition.
7305         (STRTOF): Likewise.
7306         * stdlib/strtod_l.c (__STRTOF): Likewise.
7307         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7308         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7309         (__strtol_l): Likewise.
7310         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7311         [!__STDC__]: Remove conditional code.
7312         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7313         definition.
7314         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7315         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7316         type.
7317         (__strcasecmp): Convert to prototype-style function definition.
7318         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7319         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7320         type.
7321         (__strncasecmp): Convert to prototype-style function definition.
7322         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7323         * sunrpc/xdr.c (xdr_union): Likewise.
7324         * sunrpc/xdr_array.c (xdr_array): Likewise.
7325         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7326         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7327         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7328         Likewise.
7329         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7330         Likewise.
7331         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7332         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7333         Likewise.
7334         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7335         (LOCALE_PARAM_PROTO): Likewise.
7336         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7337         argument type.
7338         (ut_argument_spec): Remove macro.
7339         (ut_argument_spec_iso): Rename to ut_argument_spec.
7340         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7341         prototype-style function definition.
7342         (memcpy_uppcase): Likewise.
7343         (__strftime_internal): Likewise.
7344         (my_strftime): Likewise.
7345         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7346         (LOCALE_PARAM_DECL): Likewise.
7347         [_LIBC] (LOCALE_PARAM): Include argument type.
7348         (__strptime_internal): Convert to prototype-style function
7349         definition.
7350         (strptime): Likewise.
7351         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7352         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7353         type.
7354         (__wcscasecmp): Convert to prototype-style function definition.
7355         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7356         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7357         type.
7358         (__wcsncasecmp): Convert to prototype-style function definition.
7360         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7361         function definition.
7362         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7363         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7364         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7365         * elf/dl-minimal.c (_itoa): Likewise.
7366         * hurd/hurdmalloc.c (malloc): Likewise.
7367         (free): Likewise.
7368         (realloc): Likewise.
7369         * inet/inet6_option.c (inet6_option_space): Likewise.
7370         (inet6_option_init): Likewise.
7371         (inet6_option_append): Likewise.
7372         (inet6_option_alloc): Likewise.
7373         (inet6_option_next): Likewise.
7374         (inet6_option_find): Likewise.
7375         * io/ftw.c (FTW_NAME): Likewise.
7376         (NFTW_NAME): Likewise.
7377         (NFTW_NEW_NAME): Likewise.
7378         (NFTW_OLD_NAME): Likewise.
7379         * libio/iofwide.c (_IO_fwide): Likewise.
7380         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7381         (_IO_str_init_static): Likewise.
7382         (_IO_str_init_readonly): Likewise.
7383         (_IO_str_overflow): Likewise.
7384         (_IO_str_underflow): Likewise.
7385         (_IO_str_count): Likewise.
7386         (_IO_str_seekoff): Likewise.
7387         (_IO_str_pbackfail): Likewise.
7388         (_IO_str_finish): Likewise.
7389         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7390         (_IO_wstr_overflow): Likewise.
7391         (_IO_wstr_underflow): Likewise.
7392         (_IO_wstr_count): Likewise.
7393         (_IO_wstr_seekoff): Likewise.
7394         (_IO_wstr_pbackfail): Likewise.
7395         (_IO_wstr_finish): Likewise.
7396         * locale/programs/localedef.c (normalize_codeset): Likewise.
7397         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7398         (add_locales_to_archive): Likewise.
7399         (delete_locales_from_archive): Likewise.
7400         * malloc/malloc.c (__libc_mallinfo): Likewise.
7401         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7402         * misc/tsearch.c (__tfind): Likewise.
7403         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7404         * nptl/pthread_attr_getdetachstate.c
7405         (__pthread_attr_getdetachstate): Likewise.
7406         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7407         Likewise.
7408         * nptl/pthread_attr_getinheritsched.c
7409         (__pthread_attr_getinheritsched): Likewise.
7410         * nptl/pthread_attr_getschedparam.c
7411         (__pthread_attr_getschedparam): Likewise.
7412         * nptl/pthread_attr_getschedpolicy.c
7413         (__pthread_attr_getschedpolicy): Likewise.
7414         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7415         Likewise.
7416         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7417         Likewise.
7418         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7419         Likewise.
7420         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7421         Likewise.
7422         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7423         (__pthread_attr_init_2_0): Likewise.
7424         * nptl/pthread_attr_setdetachstate.c
7425         (__pthread_attr_setdetachstate): Likewise.
7426         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7427         Likewise.
7428         * nptl/pthread_attr_setinheritsched.c
7429         (__pthread_attr_setinheritsched): Likewise.
7430         * nptl/pthread_attr_setschedparam.c
7431         (__pthread_attr_setschedparam): Likewise.
7432         * nptl/pthread_attr_setschedpolicy.c
7433         (__pthread_attr_setschedpolicy): Likewise.
7434         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7435         Likewise.
7436         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7437         Likewise.
7438         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7439         Likewise.
7440         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7441         Likewise.
7442         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7443         Likewise.
7444         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7445         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7446         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7447         use internal_function.
7448         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7449         prototype-style function definition.
7450         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7451         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7452         internal_function.
7453         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7454         Convert to prototype-style function definition.
7455         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7456         Likewise.
7457         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7458         Likewise.
7459         (__pthread_mutex_unlock): Likewise.
7460         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7461         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7462         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7463         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7464         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7465         * nss/makedb.c (process_input): Likewise.
7466         * posix/fnmatch.c (__strchrnul): Likewise.
7467         (__wcschrnul): Likewise.
7468         (fnmatch): Likewise.
7469         * posix/fnmatch_loop.c (FCT): Likewise.
7470         * posix/glob.c (globfree): Likewise.
7471         (__glob_pattern_type): Likewise.
7472         (__glob_pattern_p): Likewise.
7473         * posix/regcomp.c (re_compile_pattern): Likewise.
7474         (re_set_syntax): Likewise.
7475         (re_compile_fastmap): Likewise.
7476         (regcomp): Likewise.
7477         (regerror): Likewise.
7478         (regfree): Likewise.
7479         * posix/regexec.c (regexec): Likewise.
7480         (re_match): Likewise.
7481         (re_search): Likewise.
7482         (re_match_2): Likewise.
7483         (re_search_2): Likewise.
7484         (re_search_stub): Likewise.  Use internal_function
7485         (re_copy_regs): Likewise.
7486         (re_set_registers): Convert to prototype-style function
7487         definition.
7488         (prune_impossible_nodes): Likewise.  Use internal_function.
7489         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7490         prototype-style function definition.
7491         (inet_net_pton_ipv4): Likewise.
7492         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7493         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7494         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7495         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7496         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7497         Make variadic.
7498         * time/strptime_l.c (localtime_r): Convert to prototype-style
7499         function definition.
7500         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7501         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7502         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7503         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7505         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7506         definition.
7507         (_ufc_doit_r): Likewise.
7508         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7509         (_ufc_output_conversion_r): Likewise.
7510         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7511         * inet/rcmd.c (rcmd_af): Likewise.
7512         (rcmd): Likewise.
7513         (ruserok_af): Likewise.
7514         (ruserok): Likewise.
7515         (ruserok2_sa): Likewise.
7516         (ruserok_sa): Likewise.
7517         (iruserok_af): Likewise.
7518         (iruserok): Likewise.
7519         (__ivaliduser): Likewise.
7520         (__validuser2_sa): Likewise.
7521         * inet/rexec.c (rexec_af): Likewise.
7522         (rexec): Likewise.
7523         * inet/ruserpass.c (ruserpass): Likewise.
7524         * locale/programs/xmalloc.c (xcalloc): Likewise.
7525         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7526         * math/w_drem.c (__drem): Likewise.
7527         * math/w_dremf.c (__dremf): Likewise.
7528         * math/w_dreml.c (__dreml): Likewise.
7529         * misc/daemon.c (daemon): Likewise.
7530         * resolv/res_debug.c (p_fqnname): Likewise.
7531         * stdlib/div.c (div): Likewise.
7532         * string/memcmp.c (memcmp_bytes): Likewise.
7533         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7534         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7536         * crypt/cert.c (main): Convert to prototype-style function
7537         definition.
7538         * io/pipe.c (__pipe): Likewise.
7539         * io/pipe2.c (__pipe2): Likewise.
7540         * misc/futimesat.c (futimesat): Likewise.
7541         * misc/utimes.c (__utimes): Likewise.
7542         * posix/execve.c (__execve): Likewise.
7543         * posix/execvp.c (execvp): Likewise.
7544         * posix/execvpe.c (__execvpe): Likewise.
7545         * posix/fexecve.c (fexecve): Likewise.
7546         * socket/socketpair.c (socketpair): Likewise.
7547         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7548         * stdlib/erand48.c (erand48): Likewise.
7549         * stdlib/erand48_r.c (__erand48_r): Likewise.
7550         * stdlib/jrand48.c (jrand48): Likewise.
7551         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7552         * stdlib/lcong48.c (lcong48): Likewise.
7553         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7554         * stdlib/nrand48.c (nrand48): Likewise.
7555         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7556         * stdlib/seed48.c (seed48): Likewise.
7557         * stdlib/seed48_r.c (__seed48_r): Likewise.
7558         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7559         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7560         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7562 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7564         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7565         * configure: Regenerated.
7566         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7567         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7568         unconditional.
7569         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7570         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7571         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7572         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7573         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7574         unconditional.
7575         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7577         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7578         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7580         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7581         function definition.
7582         * crypt/crypt_util.c (__encrypt_r): Likewise.
7583         * libio/genops.c (_IO_no_init): Likewise.
7584         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7585         (_IO_old_fopencookie): Likewise.
7586         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7587         * libio/iogetline.c (_IO_getline): Likewise.
7588         (_IO_getline_info): Likewise.
7589         * libio/iogetwline.c (_IO_getwline): Likewise.
7590         (_IO_getwline_info): Likewise.
7591         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7592         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7593         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7594         (find_entry): Likewise.
7595         (iterate_table): Likewise.
7596         (lookup): Likewise.
7597         * login/forkpty.c (forkpty): Likewise.
7598         * misc/hsearch_r.c (__hsearch_r): Likewise.
7599         * misc/select.c (__select): Likewise.
7600         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7601         Likewise.
7602         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7603         Likewise.
7604         * nptl/old_pthread_cond_timedwait.c
7605         (__pthread_cond_timedwait_2_0): Likewise.
7606         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7607         * nptl/pthread_barrierattr_getpshared.c
7608         (pthread_barrierattr_getpshared): Likewise.
7609         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7610         Likewise.
7611         * nptl/pthread_mutex_setprioceiling.c
7612         (pthread_mutex_setprioceiling): Likewise.
7613         * nptl/pthread_mutexattr_getprioceiling.c
7614         (pthread_mutexattr_getprioceiling): Likewise.
7615         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7616         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7617         Likewise.
7618         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7619         Likewise.
7620         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7621         Likewise.
7622         * socket/recvfrom.c (__recvfrom): Likewise.
7623         * socket/sendto.c (__sendto): Likewise.
7624         * socket/setsockopt.c (__setsockopt): Likewise.
7625         * stdio-common/_itoa.c (_itoa): Likewise.
7626         * stdio-common/_itowa.c (_itowa): Likewise.
7627         * stdio-common/reg-printf.c (__register_printf_specifier):
7628         Likewise.
7629         (__register_printf_function): Likewise.
7630         * stdio-common/tempname.c (__path_search): Likewise.
7631         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7632         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7633         * stdlib/random_r.c (__initstate_r): Likewise.
7634         * stdlib/setenv.c (__add_to_environ): Likewise.
7635         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7636         * streams/getpmsg.c (getpmsg): Likewise.
7637         * streams/putmsg.c (putmsg): Likewise.
7638         * streams/putpmsg.c (putpmsg): Likewise.
7639         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7640         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7641         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7642         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7643         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7644         * sunrpc/svc_udp.c (cache_get): Likewise.
7645         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7646         * sysdeps/mach/hurd/getcwd.c
7647         (__canonicalize_directory_name_internal): Likewise.
7648         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7649         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7650         * sysdeps/mach/hurd/select.c (__select): Likewise.
7651         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7652         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7653         * sysdeps/sparc/nptl/pthread_barrier_init.c
7654         (__pthread_barrier_init): Likewise.
7655         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7656         (__pthread_cond_timedwait): Likewise.
7657         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7658         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7659         Likewise.
7660         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7661         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7662         Likewise.
7663         * sysvipc/semtimedop.c (semtimedop): Likewise.
7664         * time/setitimer.c (__setitimer): Likewise.
7665         * time/strftime_l.c (emacs_strftime): Likewise.
7667 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7669         * config.make.in (have-ssp): Delete.
7670         (stack-protector): New variable.
7671         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7672         cache test for -fstack-protector-strong.  Export stack_protector to
7673         the best ssp flag.
7674         * configure: Regenerated.
7675         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7676         * nscd/Makefile (CFLAGS-nscd): Likewise.
7677         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7679 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7681         [BZ #19122]
7682         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7683         attribute_hidden.
7685 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7687         [BZ #18743]
7688         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7689         code to...
7690         (ELIDE_LOCK): ...here.
7691         (__get_new_count): New function with part of the code from
7692         __elide_lock that updates the value of adapt_count after a
7693         transaction abort.
7694         (__elided_trylock): Moved this code to...
7695         (ELIDE_TRYLOCK): ...here.
7697 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7699         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7700         * configure: Regenerate.
7701         * INSTALL: Regenerate.
7702         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7703         and tweak grammar.
7705 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7707         * login/programs/pt_chown.c: Include signal.h
7708         (main): Clear any signal mask from the parent process.
7710 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7712         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7713         * configure: Regenerated.
7714         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7715         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7716         $(gnu89-inline-CFLAGS).
7718         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7719         test.
7720         (libc_cv_asm_weakext_directive): Likewise.
7721         * configure: Regenerated.
7722         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7723         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7724         * include/libc-symbols.h
7725         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7726         #error.
7727         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7728         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7730         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7731         prototype-style function definition.
7732         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7733         * sysdeps/i386/ffs.c (__ffs): Likewise.
7734         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7735         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7736         Likewise.
7737         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7738         Likewise.
7739         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7741         Likewise.
7742         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7743         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7744         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7745         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7746         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7747         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7748         * sysdeps/mach/hurd/access.c (__access): Likewise.
7749         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7750         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7751         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7752         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7753         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7754         (cthread_getspecific): Likewise.
7755         (cthread_setspecific): Likewise.
7756         (__libc_getspecific): Likewise.
7757         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7758         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7759         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7760         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7761         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7762         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7763         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7764         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7765         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7766         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7767         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7768         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7769         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7770         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7771         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7772         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7773         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7774         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7775         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7776         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7777         * sysdeps/mach/hurd/link.c (__link): Likewise.
7778         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7779         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7780         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7781         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7782         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7783         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7784         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7785         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7786         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7787         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7788         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7789         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7790         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7791         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7792         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7793         * sysdeps/mach/hurd/send.c (__send): Likewise.
7794         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7795         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7796         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7797         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7798         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7799         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7800         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7801         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7802         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7803         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7804         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7805         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7806         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7807         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7808         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7809         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7810         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7811         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7812         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7813         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7814         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7815         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7816         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7817         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7818         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7819         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7820         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7821         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7822         * sysdeps/posix/alarm.c (alarm): Likewise.
7823         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7824         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7825         * sysdeps/posix/dup.c (__dup): Likewise.
7826         * sysdeps/posix/dup2.c (__dup2): Likewise.
7827         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7828         (main): Likewise.
7829         * sysdeps/posix/flock.c (__flock): Likewise.
7830         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7831         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7832         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7833         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7834         * sysdeps/posix/isatty.c (__isatty): Likewise.
7835         * sysdeps/posix/killpg.c (killpg): Likewise.
7836         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7837         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7838         * sysdeps/posix/raise.c (raise): Likewise.
7839         * sysdeps/posix/remove.c (remove): Likewise.
7840         * sysdeps/posix/rename.c (rename): Likewise.
7841         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7842         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7843         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7844         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7845         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7846         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7847         * sysdeps/posix/sigset.c (sigset): Likewise.
7848         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7849         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7850         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7851         * sysdeps/posix/time.c (time): Likewise.
7852         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7853         (ttyname): Likewise.
7854         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7855         * sysdeps/posix/utime.c (utime): Likewise.
7856         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7857         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7858         Likewise.
7859         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7860         (pthread_spin_trylock): Likewise.
7861         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7862         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7863         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7864         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7865         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7866         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7867         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7868         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7869         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7870         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7871         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7872         * sysdeps/s390/ffs.c (__ffs): Likewise.
7873         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7874         Likewise.
7875         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7876         Likewise.
7877         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7878         Likewise.
7879         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7880         (pthread_barrier_destroy): Likewise.
7881         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7882         (__pthread_barrier_wait): Likewise.
7883         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7884         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7885         (__pthread_barrier_wait): Likewise.
7886         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7887         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7888         (memcmp_not_common_alignment): Likewise.
7889         (MEMCMP): Likewise.
7890         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7891         (_wordcopy_fwd_dest_aligned): Likewise.
7892         (_wordcopy_bwd_aligned): Likewise.
7893         (_wordcopy_bwd_dest_aligned): Likewise.
7894         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7895         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7896         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7897         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7898         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7899         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7900         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7901         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7902         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7903         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7904         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7905         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7906         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7907         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7908         * sysdeps/unix/stime.c (stime): Likewise.
7909         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7910         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7911         Likewise.  Use internal_function.
7912         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7913         Convert to prototype-style function definition.
7914         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7915         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7916         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7917         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7918         Likewise.  Use internal_function.
7919         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7920         prototype-style function definition
7921         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7922         Likewise.
7923         (__getlogin_r): Likewise.
7924         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7926         (__pthread_cond_broadcast): Likewise.
7927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7928         (__pthread_cond_destroy): Likewise.
7929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7930         (__pthread_cond_init): Likewise.
7931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7932         (__pthread_cond_signal): Likewise.
7933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7934         (__pthread_cond_wait): Likewise.
7935         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7936         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7937         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7942         Likewise.
7943         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7947         (__ftruncate64): Likewise.
7948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7949         (truncate64): Likewise.
7950         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7951         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7952         (pthread_getcpuclockid): Likewise.
7953         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7954         Likewise.
7955         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7958         Likewise.
7959         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7960         Likewise.
7961         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7962         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7963         (__libc_sigaction): Likewise.
7964         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7967         (__sigprocmask): Likewise.
7968         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7969         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7970         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7971         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7972         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7973         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7974         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7975         Likewise.
7976         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7977         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7978         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7979         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7980         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7983         (__sigprocmask): Likewise.
7984         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7985         (cfgetispeed): Likewise.
7986         (cfsetospeed): Likewise.
7987         (cfsetispeed): Likewise.
7988         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7989         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7990         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7991         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7992         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7993         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7994         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7995         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8002         Likewise.
8003         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8005 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8007         sunrpc: Rewrite with explicit TLS access using __thread.
8008         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8009         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8010         directly.
8011         (__rpc_thread_variables): Access thread_rpc_vars directly.
8012         Eliminate redundant assignment of the tvp variable.
8014 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8016         malloc: Rewrite with explicit TLS access using __thread.
8017         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8018         (tsd_setspecific, tsd_getspecific): Remove.
8019         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8020         (tsd_setspecific, tsd_getspecific): Likewise.
8021         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8022         (tsd_setspecific, tsd_getspecific): Likewise.
8023         * malloc/arena.c (thread_arena): New TLS variable.
8024         (arena_key): Remove variable.
8025         (arena_get): Use thread_arena.
8026         (arena_lookup): Remove macro.
8027         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8028         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8029         (_int_new_arena, get_free_list, reused_arena)
8030         (arena_thread_freeres): Use thread_arena.
8031         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8032         tsd_getspecific, tsd_setspecific from safety annotations.
8033         (Allocating Cleared Space): Remove arena_lookup from safety
8034         annotations.
8036 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8038         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8039         struct scratch_buffer instead of extend_alloca.
8041 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8043         * sysdeps/unix/sysv/linux/kernel-features.h
8044         (__ASSUME_SOCK_CLOEXEC): Remove.
8045         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8046         (__have_paccept): Remove unused macro.
8047         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8048         * misc/syslog.c (openlog_internal): Remove fallback code for
8049         !__ASSUME_SOCK_CLOEXEC.
8050         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8051         missing SOCK_CLOEXEC.
8052         * nscd/connections.c (have_sock_cloexec): Remove definition.
8053         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8054         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8055         !__ASSUME_SOCK_CLOEXEC.
8056         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8057         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8058         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8059         definition.
8060         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8061         code for !__ASSUME_SOCK_CLOEXEC.
8063 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8065         [BZ #18982]
8066         * manual/stdio.texi (Variable Arguments Output): Add portability
8067         note, explaining that vfprintf clobbers the va_list pointer.
8069 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8071         * math/libm-test.inc (fabs_test_data): Add more tests.
8072         (fdim_test_data): Likewise.
8073         (fma_test_data): Likewise.
8074         (fmax_test_data): Likewise.
8075         (fmin_test_data): Likewise.
8076         (fmod_test_data): Likewise.
8078 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8080         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8081         data.
8083 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8085         * math/libm-test.inc (ceil_test_data): Add more tests and more
8086         expectations for "inexact".
8087         (floor_test_data): Add more tests.
8088         (round_test_data): Likewise.
8089         (trunc_test_data): Likewise.
8091         * crypt/cert.c (good_bye): Convert to prototype-style function
8092         definition.
8093         (get8): Likewise.
8094         (put8): Likewise.
8095         * crypt/crypt-entry.c (crypt): Likewise.
8096         (__fcrypt): Likewise.
8097         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8098         (_ufc_set_bits): Likewise.
8099         (_ufc_clearmem): Likewise.
8100         (__init_des_r): Likewise.
8101         (shuffle_sb): Likewise.
8102         (shuffle_sb): Likewise.
8103         (_ufc_setup_salt_r): Likewise.
8104         (_ufc_mk_keytab_r): Likewise.
8105         (_ufc_dofinalperm_r): Likewise.
8106         (encrypt): Likewise.
8107         (__setkey_r): Likewise.
8108         (setkey): Likewise.
8109         * crypt/md5.c (md5_init_ctx): Likewise.
8110         (md5_read_ctx): Likewise.
8111         (md5_finish_ctx): Likewise.
8112         (md5_stream): Likewise.
8113         (md5_buffer): Likewise.
8114         (md5_process_bytes): Likewise.
8115         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8116         (__sha256_finish_ctx): Likewise.
8117         (__sha256_process_bytes): Likewise.
8118         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8119         (__sha512_finish_ctx): Likewise.
8120         (__sha512_process_bytes): Likewise.
8121         * ctype/isctype.c (__isctype): Likewise.
8122         * debug/backtrace.c (__backtrace): Likewise.
8123         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8124         * debug/fgets_chk.c (__fgets_chk): Likewise.
8125         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8126         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8127         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8128         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8129         * debug/memset_chk.c (__memset_chk): Likewise.
8130         * debug/strcat_chk.c (__strcat_chk): Likewise.
8131         * debug/strncat_chk.c (__strncat_chk): Likewise.
8132         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8133         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8134         * dirent/dirfd.c (dirfd): Likewise.
8135         * dirent/getdents.c (__getdirentries): Likewise.
8136         * dirent/getdents64.c (getdirentries64): Likewise.
8137         * dirent/rewinddir.c (__rewinddir): Likewise.
8138         * dirent/seekdir.c (seekdir): Likewise.
8139         * dirent/telldir.c (telldir): Likewise.
8140         * elf/sln.c (makesymlinks): Likewise.
8141         (makesymlink): Likewise.
8142         * gmon/gmon.c (__moncontrol): Likewise.
8143         (__monstartup): Likewise.
8144         (write_hist): Likewise.
8145         (write_call_graph): Likewise.
8146         (write_bb_counts): Likewise.
8147         * grp/setgroups.c (setgroups): Likewise.
8148         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8149         * inet/inet_net.c (inet_network): Likewise.
8150         * inet/inet_netof.c (inet_netof): Likewise.
8151         * inet/rcmd.c (rresvport_af): Likewise.
8152         (rresvport): Likewise.
8153         * io/access.c (__access): Likewise.
8154         * io/chdir.c (__chdir): Likewise.
8155         * io/chmod.c (__chmod): Likewise.
8156         * io/chown.c (__chown): Likewise.
8157         * io/close.c (__close): Likewise.
8158         * io/creat.c (creat): Likewise.
8159         * io/creat64.c (creat64): Likewise.
8160         * io/dup.c (__dup): Likewise.
8161         * io/dup2.c (__dup2): Likewise.
8162         * io/dup3.c (__dup3): Likewise.
8163         * io/euidaccess.c (__euidaccess): Likewise.
8164         * io/faccessat.c (faccessat): Likewise.
8165         * io/fchmod.c (__fchmod): Likewise.
8166         * io/fchmodat.c (fchmodat): Likewise.
8167         * io/fchown.c (__fchown): Likewise.
8168         * io/fchownat.c (fchownat): Likewise.
8169         * io/fcntl.c (__fcntl): Likewise.
8170         * io/flock.c (__flock): Likewise.
8171         * io/fts.c (fts_load): Likewise.
8172         (fts_close): Likewise.
8173         (fts_read): Likewise.
8174         (fts_set): Likewise.
8175         (fts_children): Likewise.
8176         (fts_build): Likewise.
8177         (fts_stat): Likewise.
8178         (fts_sort): Likewise.
8179         (fts_alloc): Likewise.
8180         (fts_lfree): Likewise.
8181         (fts_palloc): Likewise.
8182         (fts_padjust): Likewise.
8183         (fts_maxarglen): Likewise.
8184         (fts_safe_changedir): Likewise.
8185         * io/getwd.c (getwd): Likewise.
8186         * io/isatty.c (__isatty): Likewise.
8187         * io/lchown.c (__lchown): Likewise.
8188         * io/link.c (__link): Likewise.
8189         * io/linkat.c (linkat): Likewise.
8190         * io/lseek.c (__libc_lseek): Likewise.
8191         * io/mkdir.c (__mkdir): Likewise.
8192         * io/mkdirat.c (mkdirat): Likewise.
8193         * io/mkfifo.c (mkfifo): Likewise.
8194         * io/mkfifoat.c (mkfifoat): Likewise.
8195         * io/open.c (__libc_open): Likewise.
8196         * io/open64.c (__libc_open64): Likewise.
8197         * io/readlink.c (__readlink): Likewise.
8198         * io/readlinkat.c (readlinkat): Likewise.
8199         * io/rmdir.c (__rmdir): Likewise.
8200         * io/symlink.c (__symlink): Likewise.
8201         * io/symlinkat.c (symlinkat): Likewise.
8202         * io/ttyname.c (ttyname): Likewise.
8203         * io/ttyname_r.c (__ttyname_r): Likewise.
8204         * io/umask.c (__umask): Likewise.
8205         * io/unlink.c (__unlink): Likewise.
8206         * io/unlinkat.c (unlinkat): Likewise.
8207         * io/utime.c (utime): Likewise.
8208         * libio/clearerr.c (clearerr): Likewise.
8209         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8210         * libio/feof.c (_IO_feof): Likewise.
8211         * libio/feof_u.c (feof_unlocked): Likewise.
8212         * libio/ferror.c (_IO_ferror): Likewise.
8213         * libio/ferror_u.c (ferror_unlocked): Likewise.
8214         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8215         * libio/fileno.c (__fileno): Likewise.
8216         * libio/fputc.c (fputc): Likewise.
8217         * libio/fputc_u.c (fputc_unlocked): Likewise.
8218         * libio/fputwc.c (fputwc): Likewise.
8219         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8220         * libio/freopen.c (freopen): Likewise.
8221         * libio/freopen64.c (freopen64): Likewise.
8222         * libio/fseek.c (fseek): Likewise.
8223         * libio/fseeko.c (fseeko): Likewise.
8224         * libio/fseeko64.c (fseeko64): Likewise.
8225         * libio/ftello.c (__ftello): Likewise.
8226         * libio/ftello64.c (ftello64): Likewise.
8227         * libio/fwide.c (fwide): Likewise.
8228         * libio/genops.c (_IO_un_link): Likewise.
8229         (_IO_link_in): Likewise.
8230         (_IO_least_marker): Likewise.
8231         (_IO_switch_to_main_get_area): Likewise.
8232         (_IO_switch_to_backup_area): Likewise.
8233         (_IO_switch_to_get_mode): Likewise.
8234         (_IO_free_backup_area): Likewise.
8235         (_IO_switch_to_put_mode): Likewise.
8236         (__overflow): Likewise.
8237         (__underflow): Likewise.
8238         (__uflow): Likewise.
8239         (_IO_setb): Likewise.
8240         (_IO_doallocbuf): Likewise.
8241         (_IO_default_underflow): Likewise.
8242         (_IO_default_uflow): Likewise.
8243         (_IO_default_xsputn): Likewise.
8244         (_IO_sgetn): Likewise.
8245         (_IO_default_xsgetn): Likewise.
8246         (_IO_sync): Likewise.
8247         (_IO_default_setbuf): Likewise.
8248         (_IO_default_seekpos): Likewise.
8249         (_IO_default_doallocate): Likewise.
8250         (_IO_init): Likewise.
8251         (_IO_old_init): Likewise.
8252         (_IO_default_sync): Likewise.
8253         (_IO_default_finish): Likewise.
8254         (_IO_default_seekoff): Likewise.
8255         (_IO_sputbackc): Likewise.
8256         (_IO_sungetc): Likewise.
8257         (_IO_set_column): Likewise.
8258         (_IO_set_column): Likewise.
8259         (_IO_adjust_column): Likewise.
8260         (_IO_get_column): Likewise.
8261         (_IO_init_marker): Likewise.
8262         (_IO_remove_marker): Likewise.
8263         (_IO_marker_difference): Likewise.
8264         (_IO_marker_delta): Likewise.
8265         (_IO_seekmark): Likewise.
8266         (_IO_unsave_markers): Likewise.
8267         (_IO_nobackup_pbackfail): Likewise.
8268         (_IO_default_pbackfail): Likewise.
8269         (_IO_default_seek): Likewise.
8270         (_IO_default_stat): Likewise.
8271         (_IO_default_read): Likewise.
8272         (_IO_default_write): Likewise.
8273         (_IO_default_showmanyc): Likewise.
8274         (_IO_default_imbue): Likewise.
8275         (_IO_iter_next): Likewise.
8276         (_IO_iter_file): Likewise.
8277         * libio/getc.c (_IO_getc): Likewise.
8278         * libio/getwc.c (_IO_getwc): Likewise.
8279         * libio/iofclose.c (_IO_new_fclose): Likewise.
8280         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8281         * libio/iofflush.c (_IO_fflush): Likewise.
8282         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8283         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8284         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8285         * libio/iofgets.c (_IO_fgets): Likewise.
8286         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8287         * libio/iofgetws.c (fgetws): Likewise.
8288         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8289         * libio/iofopen64.c (_IO_fopen64): Likewise.
8290         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8291         (_IO_cookie_write): Likewise.
8292         (_IO_cookie_seek): Likewise.
8293         (_IO_cookie_close): Likewise.
8294         (_IO_cookie_seekoff): Likewise.
8295         (_IO_old_cookie_seek): Likewise.
8296         * libio/iofputs.c (_IO_fputs): Likewise.
8297         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8298         * libio/iofputws.c (fputws): Likewise.
8299         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8300         * libio/iofread.c (_IO_fread): Likewise.
8301         * libio/iofread_u.c (__fread_unlocked): Likewise.
8302         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8303         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8304         * libio/ioftell.c (_IO_ftell): Likewise.
8305         * libio/iofwrite.c (_IO_fwrite): Likewise.
8306         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8307         * libio/iogets.c (_IO_gets): Likewise.
8308         * libio/iopadn.c (_IO_padn): Likewise.
8309         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8310         (_IO_new_popen): Likewise.
8311         (_IO_new_proc_close): Likewise.
8312         * libio/ioputs.c (_IO_puts): Likewise.
8313         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8314         (_IO_seekoff): Likewise.
8315         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8316         (_IO_seekpos): Likewise.
8317         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8318         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8319         * libio/ioungetc.c (_IO_ungetc): Likewise.
8320         * libio/ioungetwc.c (ungetwc): Likewise.
8321         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8322         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8323         * libio/iowpadn.c (_IO_wpadn): Likewise.
8324         * libio/libc_fatal.c (__libc_fatal): Likewise.
8325         * libio/memstream.c (__open_memstream): Likewise.
8326         (_IO_mem_sync): Likewise.
8327         (_IO_mem_finish): Likewise.
8328         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8329         (_IO_old_file_close_it): Likewise.
8330         (_IO_old_file_finish): Likewise.
8331         (_IO_old_file_fopen): Likewise.
8332         (_IO_old_file_attach): Likewise.
8333         (_IO_old_file_setbuf): Likewise.
8334         (_IO_old_do_write): Likewise.
8335         (old_do_write): Likewise.
8336         (_IO_old_file_underflow): Likewise.
8337         (_IO_old_file_overflow): Likewise.
8338         (_IO_old_file_sync): Likewise.
8339         (_IO_old_file_seekoff): Likewise.
8340         (_IO_old_file_write): Likewise.
8341         (_IO_old_file_xsputn): Likewise.
8342         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8343         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8344         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8345         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8346         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8347         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8348         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8349         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8350         (_IO_old_popen): Likewise.
8351         (_IO_old_proc_close): Likewise.
8352         * libio/oldpclose.c (__old_pclose): Likewise.
8353         * libio/pclose.c (__new_pclose): Likewise.
8354         * libio/peekc.c (_IO_peekc_locked): Likewise.
8355         * libio/putc.c (_IO_putc): Likewise.
8356         * libio/putc_u.c (putc_unlocked): Likewise.
8357         * libio/putchar.c (putchar): Likewise.
8358         * libio/putchar_u.c (putchar_unlocked): Likewise.
8359         * libio/putwc.c (putwc): Likewise.
8360         * libio/putwc_u.c (putwc_unlocked): Likewise.
8361         * libio/putwchar.c (putwchar): Likewise.
8362         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8363         * libio/rewind.c (rewind): Likewise.
8364         * libio/setbuf.c (setbuf): Likewise.
8365         * libio/setlinebuf.c (setlinebuf): Likewise.
8366         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8367         * libio/vscanf.c (_IO_vscanf): Likewise.
8368         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8369         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8370         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8371         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8372         (_IO_switch_to_main_wget_area): Likewise.
8373         (_IO_switch_to_wbackup_area): Likewise.
8374         (_IO_wsetb): Likewise.
8375         (_IO_wdefault_pbackfail): Likewise.
8376         (_IO_wdefault_finish): Likewise.
8377         (_IO_wdefault_uflow): Likewise.
8378         (__woverflow): Likewise.
8379         (__wuflow): Likewise.
8380         (__wunderflow): Likewise.
8381         (_IO_wdefault_xsputn): Likewise.
8382         (_IO_wdefault_xsgetn): Likewise.
8383         (_IO_wdoallocbuf): Likewise.
8384         (_IO_wdefault_doallocate): Likewise.
8385         (_IO_switch_to_wget_mode): Likewise.
8386         (_IO_free_wbackup_area): Likewise.
8387         (_IO_switch_to_wput_mode): Likewise.
8388         (_IO_sputbackwc): Likewise.
8389         (_IO_sungetwc): Likewise.
8390         (_IO_adjust_wcolumn): Likewise.
8391         (_IO_init_wmarker): Likewise.
8392         (_IO_wmarker_delta): Likewise.
8393         (_IO_seekwmark): Likewise.
8394         (_IO_unsave_wmarkers): Likewise.
8395         * libio/wmemstream.c (open_wmemstream): Likewise.
8396         (_IO_wmem_sync): Likewise.
8397         (_IO_wmem_finish): Likewise.
8398         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8399         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8400         * locale/programs/simple-hash.c (init_hash): Likewise.
8401         (delete_hash): Likewise.
8402         (insert_entry): Likewise.
8403         (set_entry): Likewise.
8404         (next_prime): Likewise.
8405         (is_prime): Likewise.
8406         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8407         (xmalloc): Likewise.
8408         (xrealloc): Likewise.
8409         * locale/programs/xstrdup.c (xstrdup): Likewise.
8410         * localedata/collate-test.c (xstrcoll): Likewise.
8411         * localedata/xfrm-test.c (xstrcmp): Likewise.
8412         * login/getlogin_r.c (__getlogin_r): Likewise.
8413         * login/getpt.c (__posix_openpt): Likewise.
8414         * login/login_tty.c (login_tty): Likewise.
8415         * login/setlogin.c (setlogin): Likewise.
8416         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8417         (mach_msg_destroy_port): Likewise.
8418         (mach_msg_destroy_memory): Likewise.
8419         * malloc/mcheck.c (flood): Likewise.
8420         * misc/acct.c (acct): Likewise.
8421         * misc/brk.c (__brk): Likewise.
8422         * misc/chflags.c (chflags): Likewise.
8423         * misc/chroot.c (chroot): Likewise.
8424         * misc/fchflags.c (fchflags): Likewise.
8425         * misc/fstab.c (getfsspec): Likewise.
8426         (getfsfile): Likewise.
8427         * misc/fsync.c (fsync): Likewise.
8428         * misc/ftruncate.c (__ftruncate): Likewise.
8429         * misc/ftruncate64.c (__ftruncate64): Likewise.
8430         * misc/getdomain.c (getdomainname): Likewise.
8431         (getdomainname): Likewise.
8432         * misc/gethostname.c (__gethostname): Likewise.
8433         * misc/getpass.c (getpass): Likewise.
8434         * misc/getttyent.c (skip): Likewise.
8435         (value): Likewise.
8436         * misc/gtty.c (gtty): Likewise.
8437         * misc/hsearch.c (hsearch): Likewise.
8438         (hcreate): Likewise.
8439         * misc/hsearch_r.c (__hcreate_r): Likewise.
8440         (__hdestroy_r): Likewise.
8441         * misc/ioctl.c (__ioctl): Likewise.
8442         * misc/mkdtemp.c (mkdtemp): Likewise.
8443         * misc/mkostemp.c (mkostemp): Likewise.
8444         * misc/mkostemp64.c (mkostemp64): Likewise.
8445         * misc/mkostemps.c (mkostemps): Likewise.
8446         * misc/mkostemps64.c (mkostemps64): Likewise.
8447         * misc/mkstemp.c (mkstemp): Likewise.
8448         * misc/mkstemp64.c (mkstemp64): Likewise.
8449         * misc/mkstemps.c (mkstemps): Likewise.
8450         * misc/mkstemps64.c (mkstemps64): Likewise.
8451         * misc/mktemp.c (__mktemp): Likewise.
8452         * misc/preadv.c (preadv): Likewise.
8453         * misc/preadv64.c (preadv64): Likewise.
8454         * misc/pwritev.c (pwritev): Likewise.
8455         * misc/pwritev64.c (pwritev64): Likewise.
8456         * misc/readv.c (__readv): Likewise.
8457         * misc/revoke.c (revoke): Likewise.
8458         * misc/setdomain.c (setdomainname): Likewise.
8459         * misc/setegid.c (setegid): Likewise.
8460         * misc/seteuid.c (seteuid): Likewise.
8461         * misc/sethostid.c (sethostid): Likewise.
8462         * misc/sethostname.c (sethostname): Likewise.
8463         * misc/setregid.c (__setregid): Likewise.
8464         * misc/setreuid.c (__setreuid): Likewise.
8465         * misc/sstk.c (sstk): Likewise.
8466         * misc/stty.c (stty): Likewise.
8467         * misc/syscall.c (syscall): Likewise.
8468         * misc/syslog.c (setlogmask): Likewise.
8469         * misc/truncate.c (__truncate): Likewise.
8470         * misc/truncate64.c (truncate64): Likewise.
8471         * misc/ualarm.c (ualarm): Likewise.
8472         * misc/usleep.c (usleep): Likewise.
8473         * misc/ustat.c (ustat): Likewise.
8474         * misc/writev.c (__writev): Likewise.
8475         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8476         * nptl/old_pthread_cond_broadcast.c
8477         (__pthread_cond_broadcast_2_0): Likewise.
8478         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8479         Likewise.
8480         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8481         Likewise.
8482         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8483         Likewise.
8484         * nptl/pt-raise.c (raise): Likewise.
8485         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8486         Likewise.
8487         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8488         * nptl/pthread_barrierattr_destroy.c
8489         (pthread_barrierattr_destroy): Likewise.
8490         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8491         Likewise.
8492         * nptl/pthread_barrierattr_setpshared.c
8493         (pthread_barrierattr_setpshared): Likewise.
8494         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8495         Likewise.
8496         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8497         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8498         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8499         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8500         Likewise.
8501         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8502         Likewise.
8503         * nptl/pthread_condattr_getpshared.c
8504         (pthread_condattr_getpshared): Likewise.
8505         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8506         Likewise.
8507         * nptl/pthread_condattr_setpshared.c
8508         (pthread_condattr_setpshared): Likewise.
8509         * nptl/pthread_detach.c (pthread_detach): Likewise.
8510         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8511         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8512         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8513         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8514         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8515         Likewise.
8516         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8517         Likewise.
8518         * nptl/pthread_mutex_getprioceiling.c
8519         (pthread_mutex_getprioceiling): Likewise.
8520         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8521         Likewise.
8522         * nptl/pthread_mutexattr_getprotocol.c
8523         (pthread_mutexattr_getprotocol): Likewise.
8524         * nptl/pthread_mutexattr_getpshared.c
8525         (pthread_mutexattr_getpshared): Likewise.
8526         * nptl/pthread_mutexattr_getrobust.c
8527         (pthread_mutexattr_getrobust): Likewise.
8528         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8529         Likewise.
8530         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8531         Likewise.
8532         * nptl/pthread_mutexattr_setprioceiling.c
8533         (pthread_mutexattr_setprioceiling): Likewise.
8534         * nptl/pthread_mutexattr_setprotocol.c
8535         (pthread_mutexattr_setprotocol): Likewise.
8536         * nptl/pthread_mutexattr_setpshared.c
8537         (pthread_mutexattr_setpshared): Likewise.
8538         * nptl/pthread_mutexattr_setrobust.c
8539         (pthread_mutexattr_setrobust): Likewise.
8540         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8541         Likewise.
8542         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8543         Likewise.
8544         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8545         Likewise.
8546         * nptl/pthread_rwlockattr_getkind_np.c
8547         (pthread_rwlockattr_getkind_np): Likewise.
8548         * nptl/pthread_rwlockattr_getpshared.c
8549         (pthread_rwlockattr_getpshared): Likewise.
8550         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8551         Likewise.
8552         * nptl/pthread_rwlockattr_setkind_np.c
8553         (pthread_rwlockattr_setkind_np): Likewise.
8554         * nptl/pthread_rwlockattr_setpshared.c
8555         (pthread_rwlockattr_setpshared): Likewise.
8556         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8557         Likewise.
8558         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8559         Likewise.
8560         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8561         Likewise.
8562         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8563         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8564         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8565         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8566         * nptl/sem_close.c (sem_close): Likewise.
8567         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8568         * nptl/sem_init.c (__old_sem_init): Likewise.
8569         * nptl/sigaction.c (__sigaction): Likewise.
8570         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8571         * posix/_exit.c (_exit): Likewise.
8572         * posix/alarm.c (alarm): Likewise.
8573         * posix/confstr.c (confstr): Likewise.
8574         * posix/fpathconf.c (__fpathconf): Likewise.
8575         * posix/getgroups.c (__getgroups): Likewise.
8576         * posix/getpgid.c (__getpgid): Likewise.
8577         * posix/group_member.c (__group_member): Likewise.
8578         * posix/pathconf.c (__pathconf): Likewise.
8579         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8580         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8581         * posix/setgid.c (__setgid): Likewise.
8582         * posix/setpgid.c (__setpgid): Likewise.
8583         * posix/setuid.c (__setuid): Likewise.
8584         * posix/sleep.c (__sleep): Likewise.
8585         * posix/sysconf.c (__sysconf): Likewise.
8586         * posix/times.c (__times): Likewise.
8587         * posix/uname.c (__uname): Likewise.
8588         * posix/waitid.c (__waitid): Likewise.
8589         * pwd/getpw.c (__getpw): Likewise.
8590         * resolv/base64.c (b64_pton): Likewise.
8591         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8592         * resolv/gethnamaddr.c (Dprintf): Likewise.
8593         (gethostbyname): Likewise.
8594         (gethostbyname2): Likewise.
8595         (gethostbyaddr): Likewise.
8596         (_sethtent): Likewise.
8597         (_gethtbyname): Likewise.
8598         (_gethtbyname2): Likewise.
8599         (_gethtbyaddr): Likewise.
8600         (map_v4v6_address): Likewise.
8601         (map_v4v6_hostent): Likewise.
8602         (addrsort): Likewise.
8603         (ht_sethostent): Likewise.
8604         (ht_gethostbyname): Likewise.
8605         (ht_gethostbyaddr): Likewise.
8606         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8607         (inet_net_ntop_ipv4): Likewise.
8608         * resolv/inet_neta.c (inet_neta): Likewise.
8609         * resolv/inet_ntop.c (inet_ntop): Likewise.
8610         (inet_ntop4): Likewise.
8611         (inet_ntop6): Likewise.
8612         * resolv/inet_pton.c (__inet_pton): Likewise.
8613         (inet_pton4): Likewise.
8614         (inet_pton6): Likewise.
8615         * resolv/res_debug.c (loc_aton): Likewise.
8616         (loc_ntoa): Likewise.
8617         * resource/getpriority.c (__getpriority): Likewise.
8618         * resource/getrusage.c (__getrusage): Likewise.
8619         * resource/nice.c (nice): Likewise.
8620         * resource/setpriority.c (__setpriority): Likewise.
8621         * resource/setrlimit64.c (setrlimit64): Likewise.
8622         * resource/vlimit.c (vlimit): Likewise.
8623         * resource/vtimes.c (vtimes): Likewise.
8624         * rt/aio_error.c (aio_error): Likewise.
8625         * rt/aio_return.c (aio_return): Likewise.
8626         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8627         * signal/kill.c (__kill): Likewise.
8628         * signal/killpg.c (killpg): Likewise.
8629         * signal/raise.c (raise): Likewise.
8630         * signal/sigaction.c (__sigaction): Likewise.
8631         * signal/sigaddset.c (sigaddset): Likewise.
8632         * signal/sigaltstack.c (sigaltstack): Likewise.
8633         * signal/sigandset.c (sigandset): Likewise.
8634         * signal/sigblock.c (__sigblock): Likewise.
8635         * signal/sigdelset.c (sigdelset): Likewise.
8636         * signal/sigempty.c (sigemptyset): Likewise.
8637         * signal/sigfillset.c (sigfillset): Likewise.
8638         * signal/sighold.c (sighold): Likewise.
8639         * signal/sigignore.c (sigignore): Likewise.
8640         * signal/sigintr.c (siginterrupt): Likewise.
8641         * signal/sigisempty.c (sigisemptyset): Likewise.
8642         * signal/sigismem.c (sigismember): Likewise.
8643         * signal/signal.c (signal): Likewise.
8644         * signal/sigorset.c (sigorset): Likewise.
8645         * signal/sigpause.c (__sigpause): Likewise.
8646         * signal/sigpending.c (sigpending): Likewise.
8647         * signal/sigprocmask.c (__sigprocmask): Likewise.
8648         * signal/sigrelse.c (sigrelse): Likewise.
8649         * signal/sigreturn.c (__sigreturn): Likewise.
8650         * signal/sigset.c (sigset): Likewise.
8651         * signal/sigsetmask.c (__sigsetmask): Likewise.
8652         * signal/sigstack.c (sigstack): Likewise.
8653         * signal/sigsuspend.c (__sigsuspend): Likewise.
8654         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8655         * signal/sysv_signal.c (__sysv_signal): Likewise.
8656         * socket/accept.c (accept): Likewise.
8657         * socket/accept4.c (__libc_accept4): Likewise.
8658         * socket/bind.c (__bind): Likewise.
8659         * socket/connect.c (__connect): Likewise.
8660         * socket/getpeername.c (getpeername): Likewise.
8661         * socket/getsockname.c (__getsockname): Likewise.
8662         * socket/getsockopt.c (getsockopt): Likewise.
8663         * socket/listen.c (__listen): Likewise.
8664         * socket/recv.c (__recv): Likewise.
8665         * socket/recvmsg.c (__recvmsg): Likewise.
8666         * socket/send.c (__send): Likewise.
8667         * socket/sendmsg.c (__sendmsg): Likewise.
8668         * socket/shutdown.c (shutdown): Likewise.
8669         * socket/sockatmark.c (sockatmark): Likewise.
8670         * socket/socket.c (__socket): Likewise.
8671         * stdio-common/ctermid.c (ctermid): Likewise.
8672         * stdio-common/cuserid.c (cuserid): Likewise.
8673         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8674         * stdio-common/remove.c (remove): Likewise.
8675         * stdio-common/rename.c (rename): Likewise.
8676         * stdio-common/renameat.c (renameat): Likewise.
8677         * stdio-common/tempname.c (__gen_tempname): Likewise.
8678         * stdio-common/xbug.c (InitBuffer): Likewise.
8679         (AppendToBuffer): Likewise.
8680         (ReadFile): Likewise.
8681         * stdlib/a64l.c (a64l): Likewise.
8682         * stdlib/drand48_r.c (drand48_r): Likewise.
8683         * stdlib/getcontext.c (getcontext): Likewise.
8684         * stdlib/getenv.c (getenv): Likewise.
8685         * stdlib/l64a.c (l64a): Likewise.
8686         * stdlib/llabs.c (llabs): Likewise.
8687         * stdlib/lldiv.c (lldiv): Likewise.
8688         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8689         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8690         * stdlib/putenv.c (putenv): Likewise.
8691         * stdlib/random.c (__srandom): Likewise.
8692         (__initstate): Likewise.
8693         (__setstate): Likewise.
8694         * stdlib/random_r.c (__srandom_r): Likewise.
8695         (__setstate_r): Likewise.
8696         (__random_r): Likewise.
8697         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8698         * stdlib/setcontext.c (setcontext): Likewise.
8699         * stdlib/setenv.c (setenv): Likewise.
8700         (unsetenv): Likewise.
8701         * stdlib/srand48.c (srand48): Likewise.
8702         * stdlib/srand48_r.c (__srand48_r): Likewise.
8703         * stdlib/swapcontext.c (swapcontext): Likewise.
8704         * stdlib/system.c (__libc_system): Likewise.
8705         * stdlib/tst-strtod.c (expand): Likewise.
8706         * stdlib/tst-strtol.c (expand): Likewise.
8707         * stdlib/tst-strtoll.c (expand): Likewise.
8708         * streams/fattach.c (fattach): Likewise.
8709         * streams/fdetach.c (fdetach): Likewise.
8710         * streams/getmsg.c (getmsg): Likewise.
8711         * streams/isastream.c (isastream): Likewise.
8712         * string/ffs.c (__ffs): Likewise.
8713         * string/ffsll.c (ffsll): Likewise.
8714         * string/memcmp.c (memcmp_common_alignment): Likewise.
8715         (memcmp_not_common_alignment): Likewise.
8716         (MEMCMP): Likewise.
8717         * string/memcpy.c (memcpy): Likewise.
8718         * string/memmove.c (MEMMOVE): Likewise.
8719         * string/memset.c (memset): Likewise.
8720         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8721         * string/strchrnul.c (STRCHRNUL): Likewise.
8722         * string/strerror.c (strerror): Likewise.
8723         * string/strndup.c (__strndup): Likewise.
8724         * string/strverscmp.c (__strverscmp): Likewise.
8725         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8726         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8727         (clnttcp_freeres): Likewise.
8728         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8729         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8730         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8731         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8732         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8733         (xdr_callhdr): Likewise.
8734         * sunrpc/rpcinfo.c (udpping): Likewise.
8735         (tcpping): Likewise.
8736         (pstatus): Likewise.
8737         (pmapdump): Likewise.
8738         (brdcst): Likewise.
8739         (deletereg): Likewise.
8740         (getprognum): Likewise.
8741         (getvers): Likewise.
8742         (get_inet_address): Likewise.
8743         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8744         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8745         (svcudp_stat): Likewise.
8746         (svcudp_recv): Likewise.
8747         (svcudp_reply): Likewise.
8748         (svcudp_getargs): Likewise.
8749         (svcudp_freeargs): Likewise.
8750         (svcudp_destroy): Likewise.
8751         * sunrpc/xdr.c (xdr_bytes): Likewise.
8752         (xdr_netobj): Likewise.
8753         (xdr_string): Likewise.
8754         (xdr_wrapstring): Likewise.
8755         * sunrpc/xdr_float.c (xdr_float): Likewise.
8756         (xdr_double): Likewise.
8757         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8758         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8759         * sysvipc/ftok.c (ftok): Likewise.
8760         * sysvipc/msgctl.c (msgctl): Likewise.
8761         * sysvipc/msgget.c (msgget): Likewise.
8762         * sysvipc/msgrcv.c (msgrcv): Likewise.
8763         * sysvipc/msgsnd.c (msgsnd): Likewise.
8764         * sysvipc/semget.c (semget): Likewise.
8765         * sysvipc/semop.c (semop): Likewise.
8766         * sysvipc/shmat.c (shmat): Likewise.
8767         * sysvipc/shmctl.c (shmctl): Likewise.
8768         * sysvipc/shmdt.c (shmdt): Likewise.
8769         * sysvipc/shmget.c (shmget): Likewise.
8770         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8771         * termios/speed.c (cfgetospeed): Likewise.
8772         (cfgetispeed): Likewise.
8773         (cfsetospeed): Likewise.
8774         (cfsetispeed): Likewise.
8775         * termios/tcflow.c (tcflow): Likewise.
8776         * termios/tcflush.c (tcflush): Likewise.
8777         * termios/tcgetattr.c (__tcgetattr): Likewise.
8778         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8779         * termios/tcgetsid.c (tcgetsid): Likewise.
8780         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8781         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8782         * time/adjtime.c (__adjtime): Likewise.
8783         * time/dysize.c (dysize): Likewise.
8784         * time/ftime.c (ftime): Likewise.
8785         * time/getitimer.c (__getitimer): Likewise.
8786         * time/gettimeofday.c (__gettimeofday): Likewise.
8787         * time/gmtime.c (__gmtime_r): Likewise.
8788         (gmtime): Likewise.
8789         * time/localtime.c (__localtime_r): Likewise.
8790         (localtime): Likewise.
8791         * time/offtime.c (__offtime): Likewise.
8792         * time/settimeofday.c (__settimeofday): Likewise.
8793         * time/stime.c (stime): Likewise.
8794         * time/strftime_l.c (tm_diff): Likewise.
8795         (iso_week_days): Likewise.
8796         * time/strptime.c (strptime): Likewise.
8797         * time/time.c (time): Likewise.
8798         * time/timespec_get.c (timespec_get): Likewise.
8799         * time/tzset.c (tzset_internal): Likewise.
8800         (compute_change): Likewise.
8801         (__tz_compute): Likewise.
8802         * wcsmbs/btowc.c (__btowc): Likewise.
8803         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8804         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8805         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8806         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8807         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8808         * wcsmbs/wcscat.c (__wcscat): Likewise.
8809         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8810         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8811         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8812         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8813         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8814         * wcsmbs/wcslen.c (__wcslen): Likewise.
8815         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8816         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8817         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8818         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8819         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8820         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8821         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8822         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8823         * wcsmbs/wcstok.c (wcstok): Likewise.
8824         * wcsmbs/wctob.c (wctob): Likewise.
8825         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8826         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8827         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8828         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8829         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8830         * wcsmbs/wmemset.c (__wmemset): Likewise.
8831         * wctype/wcfuncs.c (__towlower): Likewise.
8832         (__towupper): Likewise.
8834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8835         (lll_unlock_elision): Add adapt_count parameter.
8837 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8839         * sysdeps/nptl/configure.ac: Do not give errors based on the
8840         results of top-level configure tests.
8841         * sysdeps/nptl/configure: Regenerated.
8843         * configure.ac (libc_cv_Bgroup): Remove configure test.
8844         * configure: Regenerated.
8845         * config.make.in (have-Bgroup): Remove variable.
8847         * configure.ac (sizeof_long_double): Remove configure test.
8848         * configure: Regenerated.
8849         * config.make.in (sizeof-long-double): Remove variable.
8851         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8852         * configure: Regenerated.
8853         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8854         variable.
8855         (exceptions): Likewise.
8856         * sysdeps/arm/configure: Regenerated.
8857         * config.make.in (exceptions): Remove variable.
8858         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8859         $(exceptions).
8860         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8861         (CFLAGS-vdprintf_chk.c): Likewise.
8862         (CFLAGS-printf_chk.c): Likewise.
8863         (CFLAGS-fprintf_chk.c): Likewise.
8864         (CFLAGS-vprintf_chk.c): Likewise.
8865         (CFLAGS-vfprintf_chk.c): Likewise.
8866         (CFLAGS-gets_chk.c): Likewise.
8867         (CFLAGS-fgets_chk.c): Likewise.
8868         (CFLAGS-fgets_u_chk.c): Likewise.
8869         (CFLAGS-fread_chk.c): Likewise.
8870         (CFLAGS-fread_u_chk.c): Likewise.
8871         (CFLAGS-wprintf_chk.c): Likewise.
8872         (CFLAGS-fwprintf_chk.c): Likewise.
8873         (CFLAGS-vwprintf_chk.c): Likewise.
8874         (CFLAGS-vfwprintf_chk.c): Likewise.
8875         (CFLAGS-fgetws_chk.c): Likewise.
8876         (CFLAGS-fgetws_u_chk.c): Likewise.
8877         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8878         (CFLAGS-fputc.c): Likewise.
8879         (CFLAGS-fputwc.c): Likewise.
8880         (CFLAGS-freopen64.c): Likewise.
8881         (CFLAGS-freopen.c): Likewise.
8882         (CFLAGS-fseek.c): Likewise.
8883         (CFLAGS-fseeko64.c): Likewise.
8884         (CFLAGS-fseeko.c): Likewise.
8885         (CFLAGS-ftello64.c): Likewise.
8886         (CFLAGS-ftello.c): Likewise.
8887         (CFLAGS-fwide.c): Likewise.
8888         (CFLAGS-genops.c): Likewise.
8889         (CFLAGS-getc.c): Likewise.
8890         (CFLAGS-getchar.c): Likewise.
8891         (CFLAGS-getwc.c): Likewise.
8892         (CFLAGS-getwchar.c): Likewise.
8893         (CFLAGS-iofclose.c): Likewise.
8894         (CFLAGS-iofflush.c): Likewise.
8895         (CFLAGS-iofgetpos64.c): Likewise.
8896         (CFLAGS-iofgetpos.c): Likewise.
8897         (CFLAGS-iofgets.c): Likewise.
8898         (CFLAGS-iofgetws.c): Likewise.
8899         (CFLAGS-iofputs.c): Likewise.
8900         (CFLAGS-iofputws.c): Likewise.
8901         (CFLAGS-iofread.c): Likewise.
8902         (CFLAGS-iofsetpos64.c): Likewise.
8903         (CFLAGS-iofsetpos.c): Likewise.
8904         (CFLAGS-ioftell.c): Likewise.
8905         (CFLAGS-iofwrite.c): Likewise.
8906         (CFLAGS-iogetdelim.c): Likewise.
8907         (CFLAGS-iogetline.c): Likewise.
8908         (CFLAGS-iogets.c): Likewise.
8909         (CFLAGS-iogetwline.c): Likewise.
8910         (CFLAGS-ioputs.c): Likewise.
8911         (CFLAGS-ioseekoff.c): Likewise.
8912         (CFLAGS-ioseekpos.c): Likewise.
8913         (CFLAGS-iosetbuffer.c): Likewise.
8914         (CFLAGS-iosetvbuf.c): Likewise.
8915         (CFLAGS-ioungetc.c): Likewise.
8916         (CFLAGS-ioungetwc.c): Likewise.
8917         (CFLAGS-oldfileops.c): Likewise.
8918         (CFLAGS-oldiofclose.c): Likewise.
8919         (CFLAGS-oldiofgetpos64.c): Likewise.
8920         (CFLAGS-oldiofgetpos.c): Likewise.
8921         (CFLAGS-oldiofsetpos64.c): Likewise.
8922         (CFLAGS-oldiofsetpos.c): Likewise.
8923         (CFLAGS-peekc.c): Likewise.
8924         (CFLAGS-putc.c): Likewise.
8925         (CFLAGS-putchar.c): Likewise.
8926         (CFLAGS-putwc.c): Likewise.
8927         (CFLAGS-putwchar.c): Likewise.
8928         (CFLAGS-rewind.c): Likewise.
8929         (CFLAGS-wfileops.c): Likewise.
8930         (CFLAGS-wgenops.c): Likewise.
8931         (CFLAGS-oldiofopen.c): Likewise.
8932         (CFLAGS-iofopen.c): Likewise.
8933         (CFLAGS-iofopen64.c): Likewise.
8934         (CFLAGS-oldtmpfile.c): Likewise.
8935         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8936         (CFLAGS-fprintf.c): Likewise.
8937         (CFLAGS-printf.c): Likewise.
8938         (CFLAGS-vfwprintf.c): Likewise.
8939         (CFLAGS-vfscanf.c): Likewise.
8940         (CFLAGS-vfwscanf.c): Likewise.
8941         (CFLAGS-fscanf.c): Likewise.
8942         (CFLAGS-scanf.c): Likewise.
8943         (CFLAGS-isoc99_vfscanf.c): Likewise.
8944         (CFLAGS-isoc99_vscanf.c): Likewise.
8945         (CFLAGS-isoc99_fscanf.c): Likewise.
8946         (CFLAGS-isoc99_scanf.c): Likewise.
8947         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8948         (CFLAGS-isoc99_fwscanf.c): Likewise.
8949         (CFLAGS-isoc99_vwscanf.c): Likewise.
8950         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8952         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8953         after mkstemp64.
8954         * login/tst-utmp.c (do_prepare): Likewise.
8955         * rt/tst-aio.c (do_prepare): Likewise.
8956         * rt/tst-aio64.c (do_prepare): Likewise.
8958 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8960         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8961         (__lll_lock_elision): Remove adapt_count decrement...
8962         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8963         (__lll_trylock_elision): Likewise.
8964         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8965         (__lll_unlock_elision): ... to here. And utilize
8966         new adapt_count parameter.
8967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8968         (__lll_unlock_elision): Update to include adapt_count
8969         parameter.
8970         (lll_unlock_elision): Pass pointer to adapt_count
8971         variable.
8973 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8975         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8976         Add elision adapt_count parameter to list of arguments.
8977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8978         (lll_unlock_elision): Update with new parameter list
8979         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8980         (lll_unlock_elision): Likewise.
8981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8982         (lll_unlock_elision): Likewise.
8984 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8986         [BZ #19122]
8987         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8988         attribute_hidden.
8990         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8991         attribute_hidden.
8992         [IS_IN (rtld)] (__strdup): Likewise.
8993         [IS_IN (rtld)] (__strerror_r): Likewise.
8994         [IS_IN (rtld)] (__strsep_g): Likewise.
8995         [IS_IN (rtld)] (memchr): Likewise.
8996         [IS_IN (rtld)] (memcmp): Likewise.
8997         [IS_IN (rtld)] (memcpy): Likewise.
8998         [IS_IN (rtld)] (memmove): Likewise.
8999         [IS_IN (rtld)] (memset): Likewise.
9000         [IS_IN (rtld)] (rawmemchr): Likewise.
9001         [IS_IN (rtld)] (stpcpy): Likewise.
9002         [IS_IN (rtld)] (strchr): Likewise.
9003         [IS_IN (rtld)] (strcmp): Likewise.
9004         [IS_IN (rtld)] (strlen): Likewise.
9005         [IS_IN (rtld)] (strnlen): Likewise.
9006         [IS_IN (rtld)] (strsep): Likewise.
9008         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9009         attribute_hidden.
9010         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9012         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9013         attribute_hidden.
9014         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9016         * include/setjmp.h (__longjmp): Add attribute_hidden.
9017         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9019         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9020         Add attribute_hidden.
9022         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9023         [IS_IN (rtld)] (__open): Likewise.
9024         [IS_IN (rtld)] (__fcntl): Likewise.
9026         * include/dirent.h (__opendirat): Add attribute_hidden.
9027         (__getdents): Likewise.
9028         (__getdents64): Likewise.
9029         (__alloc_dir): Likewise.
9030         [IS_IN (rtld)] (__closedir): Likewise.
9031         [IS_IN (rtld)] (__fdopendir): Likewise.
9032         [IS_IN (rtld)] (__readdir): Likewise.
9033         [IS_IN (rtld)] (__readdir64): Likewise.
9034         [IS_IN (rtld)] (__rewinddir): Likewise.
9036         * include/dlfcn.h (_dl_catch_error): Moved to ...
9037         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9038         attribute_hidden.
9040         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9041         (_itoa_word): Likewise.
9043         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9044         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9045         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9046         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9047         (_dl_higher_prime_number): Likewise.
9048         (_dl_debug_printf_c): Likewise.
9049         (_dl_signal_cerror): Likewise.
9050         (_dl_receive_error): Likewise.
9051         (_dl_reloc_bad_type): Likewise.
9052         (_dl_resolve_conflicts): Likewise.
9053         (_dl_check_all_versions): Likewise.
9054         (_dl_check_map_versions): Likewise.
9055         (_dl_sort_fini): Likewise.
9056         (_dl_debug_initialize): Likewise.
9057         (_dl_init_paths): Likewise.
9058         (_dl_show_auxv): Likewise.
9059         (_dl_next_ld_env_entry): Likewise.
9060         (_dl_important_hwcaps): Likewise.
9061         (_dl_load_cache_lookup): Likewise.
9062         (_dl_update_slotinfo): Likewise.
9063         (_dl_show_scope): Likewise.
9065         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9066         attribute_hidden.
9067         (_wordcopy_fwd_dest_aligned): Likewise.
9068         (_wordcopy_bwd_aligned): Likewise.
9069         (_wordcopy_bwd_dest_aligned): Likewise.
9071         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9072         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9073         Likewise.
9074         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9075         Likewise.
9076         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9078 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9080         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9081         GCC 5 requirement.
9083 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9085         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9086         test.
9087         * sysdeps/i386/configure: Regenerated.
9088         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9089         code unconditional.
9091         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9092         test.
9093         (libc_cv_asm_popsection_directive): Likewise.
9094         * configure: Regenerated.
9095         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9096         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9097         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9098         (__make_section_unallocated): Make definition unconditional.
9099         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9100         Remove conditional definition.
9101         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9102         (__make_section_unallocated): Likewise.
9104         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9105         * configure: Regenerated.
9106         * config.make.in (static-libgcc): Remove variable.
9107         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9108         $(static-libgcc).
9109         (build-module-helper): Likewise.
9111         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9112         * configure: Regenerated.
9114 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9116         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9117         (struct char_buffer): New type.
9118         (char_buffer_start, char_buffer_size, char_buffer_error)
9119         (char_buffer_rewind, char_buffer_add): New functions.
9120         (ADDW): Remove macro, replaced by the char_buffer_add function.
9121         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9122         of extend_alloca.  Make control flow more explicit.
9124 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9126         [BZ #19137]
9127         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9128         Add -fomit-frame-pointer.
9129         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9131 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9133         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9134         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9136         only if !__GNUC_PREREQ (5,0).
9137         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9138         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9139         (INTERNAL_SYSCALL_NCS): Likewise.
9140         (LOADREGS_0): New macro for GCC 5.
9141         (ASMARGS_0): Likewise.
9142         (LOADREGS_1): Likewise.
9143         (ASMARGS_1): Likewise.
9144         (LOADREGS_2): Likewise.
9145         (ASMARGS_2): Likewise.
9146         (LOADREGS_3): Likewise.
9147         (ASMARGS_3): Likewise.
9148         (LOADREGS_4): Likewise.
9149         (ASMARGS_4): Likewise.
9150         (LOADREGS_5): Likewise.
9151         (ASMARGS_5): Likewise.
9152         (LOADREGS_6): Likewise.
9153         (ASMARGS_6): Likewise.
9155 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9157         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9158         -fomit-frame-pointer.
9159         (CFLAGS-mmap64.c): Likewise.
9160         (CFLAGS-semtimedop.c): Likewise.
9161         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9162         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9163         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9164         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9166 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9168         [BZ #18928]
9169         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9170         _dl_pointer_guard member.
9171         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9172         initializer.
9173         (security_init): Always set up pointer guard.
9174         (process_envvars): Do not process LD_POINTER_GUARD.
9176 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9178         [BZ #19134]
9179         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9180         (.LC2): Likewise.
9181         (.LC3): Likewise.
9182         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9184 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9186         [BZ #19129]
9187         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9188         r0 and r1.
9190 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9192         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9194 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9196         * include/stap-probe.h: Fix macro definition formatting.
9198 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9200         [BZ #19074]
9201         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9202         load and store num_ifs.
9204 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9206         [BZ #18822]
9207         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9208         (__sched_getaffinity_new): Add libc_hidden_proto and
9209         libc_hidden_def.
9211 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9213         [BZ #19007]
9214         * scripts/localplt.awk: Also allow GOT references.
9215         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9216         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9217         with "+ REL R_386_GLOB_DAT".
9218         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9219         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9221 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9223         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9224         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9225         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9226         Likewise.
9227         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9228         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9229         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9230         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9231         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9232         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9233         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9234         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9238 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9240         [BZ #19125]
9241         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9242         <math_private.h> and <stdint.h>.
9243         (__llround): Avoid conversions to and from long long int, and
9244         subtractions, where those might raise spurious exceptions.
9245         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9246         <math_private.h> and <stdint.h>.
9247         (__llroundf): Avoid conversions to and from long long int, and
9248         subtractions, where those might raise spurious exceptions.
9250 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9253         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9254         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9255         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9256         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9257         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9258         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9259         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9260         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9261         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9262         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9263         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9264         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9265         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9266         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9267         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9268         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9269         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9270         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9271         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9272         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9273         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9274         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9275         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9276         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9277         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9278         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9279         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9280         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9281         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9282         (__xstat64_conv): Likewise.
9283         (__xstat32_conv): Likewise.
9285 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9287         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9288         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9289         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9290         <sysdeps/unix/sysv/linux/sysdep.h>.
9291         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9292         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9293         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9295         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9296         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9297         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9298         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9299         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9304         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9305         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9307         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9308         (sysdep-dl-routines): Add sysdep.
9309         [$(subdir) == nptl] (libpthread-routines): Likewise.
9310         [$(subdir) == rt] (librt-routines): Likewise.
9311         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9312         PIC when branching to SYSCALL_ERROR_LABEL.
9313         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9315         <sysdeps/unix/sysv/linux/sysdep.h>.
9316         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9317         (SYSCALL_ERROR_ERRNO): Removed.
9318         (SYSCALL_ERROR_HANDLER): Changed to empty.
9319         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9320         (__syscall_error): New prototype.
9321         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9322         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9324 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9326         [BZ #19124]
9327         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9328         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9329         _dl_runtime_resolve_avx.
9330         (_dl_runtime_profile_avx512): Make it a hidden alias of
9331         _dl_runtime_profile_avx.
9333 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9335         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9336         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9337         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9338         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9340         [BZ #16422]
9341         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9342         New configure test.
9343         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9344         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9345         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9346         <math_private.h> and <stdint.h>.
9347         (__llrint): Avoid conversions to long long int where those might
9348         raise spurious exceptions.
9349         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9350         <math_private.h> and <stdint.h>.
9351         (__llrintf): Avoid conversions to long long int where those might
9352         raise spurious exceptions.
9354 2015-10-12  Andreas Schwab  <schwab@suse.de>
9356         [BZ #18969]
9357         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9358         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9359         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9360         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9361         $(gen-locales).
9362         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9363         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9364         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9365         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9366         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9367         $(gen-locales).
9368         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9369         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9370         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9371         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9372         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9373         ($(objpfx)tst-ftell-active-handler.out)
9374         ($(objpfx)tst-ftell-append.out)
9375         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9376         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9377         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9378         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9379         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9380         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9381         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9382         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9383         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9384         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9385         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9386         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9387         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9388         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9389         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9390         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9391         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9392         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9393         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9394         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9395         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9396         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9397         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9398         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9399         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9400         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9401         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9402         $(gen-locales).
9403         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9404         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9405         $(gen-locales).
9406         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9407         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9408         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9409         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9410         $(gen-locales).
9411         * libio/tst_wprintf2.c (main): Use explicit locale.
9412         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9414 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9416         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9417         __msg_sig_post.
9418         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9420 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9422         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9425         * sysdeps/arm/libm-test-ulps: Regenerated.
9427         [BZ #15470]
9428         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9430         [BZ #16399]
9431         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9432         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9433         and <fix-fp-int-convert-overflow.h>.
9434         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9435         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9436         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9437         and <fix-fp-int-convert-overflow.h>.
9438         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9439         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9440         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9441         <fix-fp-int-convert-overflow.h>.
9442         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9443         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9444         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9445         <fix-fp-int-convert-overflow.h>.
9446         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9447         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9448         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9449         and <fix-fp-int-convert-overflow.h>.
9450         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9451         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9452         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9453         <limits.h> and <fix-fp-int-convert-overflow.h>.
9454         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9455         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9456         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9457         and <fix-fp-int-convert-overflow.h>.
9458         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9459         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9460         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9461         and <fix-fp-int-convert-overflow.h>.
9462         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9463         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9464         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9466 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9468         [BZ #18589]
9469         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9470         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9471         $(gen-locales).
9473 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9474             Phil Blundell <pb@pbcl.net>
9476         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9477         * nptl/tst-cancel26.c: New file.
9478         * nptl/tst-cancel27.c: Likewise.
9480 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9482         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9483         __ILP32__ isn't defined.
9484         (lrint): Likewise.
9485         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9486         (lrintf): Likewise.
9487         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9488         (lrintl): Likewise.
9489         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9490         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9491         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9493 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9496         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9499         file.
9500         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9501         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9503 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9505         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9506         configure test.
9507         * sysdeps/i386/configure: Regenerated.
9508         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9509         configure test.
9510         * sysdeps/x86_64/configure: Regenerated.
9511         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9512         Make code unconditional.
9514         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9515         test.
9516         * sysdeps/i386/configure: Regenerated.
9517         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9518         test.
9519         * sysdeps/x86_64/configure: Regenerated.
9520         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9521         Make code unconditional.
9522         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9523         Likewise.
9524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9525         Likewise.
9526         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9527         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9528         code unconditional.
9529         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9530         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9531         code unconditional.
9532         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9533         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9534         code unconditional.
9535         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9536         code unconditional.
9537         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9538         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9539         code unconditional.
9540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9541         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9542         code unconditional.
9543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9544         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9545         code unconditional.
9546         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9547         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9548         code unconditional.
9549         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9550         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9552         [BZ #19095]
9553         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9554         mantissa to long int before shifting left.
9556 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9558         [BZ #19094]
9559         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9560         <limits.h>.
9561         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9562         when result overflows but exception would not result from cast.
9563         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9564         <limits.h>.
9565         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9566         when result overflows but exception would not result from cast.
9567         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9568         <limits.h>.
9569         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9570         when result overflows but exception would not result from cast.
9571         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9572         <limits.h>.
9573         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9574         when result overflows but exception would not result from cast.
9575         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9576         <limits.h>.
9577         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9578         when result overflows but exception would not result from cast.
9579         * math/libm-test.inc (lrint_test_data): Add more tests.
9580         (llrint_test_data): Likewise.
9582 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9584         [BZ #18872]
9585         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9586         Move out from under [$(run-built-tests) = yes] conditional.
9587         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9588         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9590 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9592         [BZ #18589]
9593         * string/Makefile (tests): Add bug-strcoll2.
9594         (LOCALES): Add cs_CZ.UTF-8.
9595         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9597         [BZ #18589]
9598         * string/bug-strcoll2.c: New file.
9599         * locale/categories.def: Revert commit
9600         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9601         * locale/langinfo.h: Likewise.
9602         * locale/localeinfo.h: Likewise.
9603         * locale/C-collate.c: Likewise.
9604         * locale/programs/ld-collate.c (collate_output): Likewise.
9605         * string/strcoll_l.c (STRDIFF): Likewise.
9606         (STRCOLL): Likewise.
9607         * wcsmbs/wcscoll_l.c: Likewise.
9609 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9611         * math/libm-test.inc (lround_test_data): Do not expect the absence
9612         of "inexact" for some tests with non-integer arguments.
9613         (llround_test_data): Likewise.
9615         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9616         test.
9617         (libc_cv_cc_sse2avx): Likewise.
9618         * sysdeps/i386/configure: Regenerated.
9619         * sysdeps/i386/i686/multiarch/Makefile
9620         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9621         [$(subdir) = math].
9622         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9623         code unconditional.
9624         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9625         Likewise.
9626         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9627         Likewise.
9628         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9629         Likewise.
9630         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9631         test.
9632         (libc_cv_cc_sse2avx): Likewise.
9633         * sysdeps/x86_64/configure: Regenerated.
9634         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9635         unconditional.
9636         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9637         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9638         unconditional.
9639         (_dl_runtime_profile)
9640         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9641         conditional code.
9642         * sysdeps/x86_64/fpu/multiarch/Makefile
9643         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9644         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9645         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9646         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9647         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9648         * sysdeps/x86_64/fpu/multiarch/e_log.c
9649         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9650         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9651         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9652         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9653         Likewise.
9654         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9655         Likewise.
9656         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9658         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9659         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9660         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9661         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9662         (HAVE_SSE2AVX_SUPPORT): Likewise.
9664 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9666         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9667         instead of #pragma optimize.
9669 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9671         [BZ #17195]
9672         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9673         as is similarly done in systrim and _int_free already.
9675 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9677         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9679 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #19088]
9682         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9683         <limits.h>.
9684         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9685         overflows but exception would not result from cast.
9686         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9687         and <limits.h>.
9688         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9689         overflows but exception would not result from cast.
9690         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9691         <limits.h>.
9692         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9693         overflows but exception would not result from cast.
9694         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9695         <limits.h>.
9696         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9697         overflows but exception would not result from cast.
9698         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9699         <limits.h>.
9700         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9701         overflows but exception would not result from cast.
9702         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9703         <limits.h>.
9704         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9705         overflows but exception would not result from cast.
9706         * math/libm-test.inc (lround_test_data): Add more tests.
9707         (llround_test_data): Likewise.
9709 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9711         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9712         (CFLAGS-ialloc.c): Ditto.
9713         (CFLAGS-scheck.c): Ditto.
9715 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9717         [BZ #19086]
9718         * manual/filesys.texi (Storage Allocation): Fix argument order for
9719         posix_fallocate64.
9721 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9723         [BZ #19085]
9724         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9725         exponent below 48 inside case for non-overflowing exponent.
9726         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9728 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9730         * iconvdata/cp737.h (from_idx): Add const.
9731         * iconvdata/cp775.h (from_idx): Likewise.
9733 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9735         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9736         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9737         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9739         [BZ #19079]
9740         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9741         file, conditioned on [!_LP64].
9742         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9743         [!_LP64] (__lround): Do not define as function or alias.
9744         [!_LP64] (lround): Likewise.
9745         [!_LP64] (__lroundl): Likewise.
9746         [!_LP64] (lroundl): Likewise.
9747         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9748         macro.
9749         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9750         Likewise.
9752 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9754         * math/libm-test.inc (lrint_test_data): Add more tests.
9755         (llrint_test_data): Likewise.
9756         (lround_test_data): Likewise.
9757         (llround_test_data): Likewise.
9759         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9760         (llrint_test_data): Add tests used for lrint.
9762         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9763         test.
9764         * sysdeps/i386/configure: Regenerated.
9765         * sysdeps/i386/i686/multiarch/Makefile
9766         [$(config-cflags-sse4) = yes]: Make code unconditional.
9767         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9768         Likewise.
9769         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9770         Likewise.
9771         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9772         test.
9773         * sysdeps/x86_64/configure: Regenerated.
9774         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9775         Make code unconditional.
9776         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9777         Likewise.
9778         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9779         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9781         * scripts/rpm2dynsym.sh: Remove file.
9783 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9785         * configure.ac (libc_cv_cxx_thread_local): Define.
9786         * configure: Regenerate.
9787         * config.make.in (have-cxx-thread_local): Define.
9788         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9789         (LDLIBS-tst-thread_local1): Define.
9790         (tests): Add tst-thread_local1.
9791         [have-cxx-thread_local != yes] (tests-unsupported): Add
9792         tst-thread_local1.
9793         * nptl/tst-thread_local1.cc: New file.
9795 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9797         [BZ #19078]
9798         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9799         (u_thres): Likewise.
9800         (__expl): Determine whether to call __kernel_standard_l based on
9801         value of result, not argument.
9803         * math/libm-test.inc (scalb_test_data): Add more expectations for
9804         the "inexact" exception.
9806         [BZ #19077]
9807         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9808         0.0L for argument 1.0L.
9810         [BZ #19076]
9811         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9812         constant 0.0L when computing infinite result.
9814 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9816         [BZ #10432]
9817         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9818         malloc_usable_size.
9820 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9822         [BZ #19018]
9823         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9824         Mangle function pointer before storing it.
9825         (__call_tls_dtors): Demangle function pointer before calling it.
9827 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9829         [BZ #19012]
9830         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9831         Clean up on failure.
9833 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9835         [BZ #19071]
9836         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9837         long int variable to store possibly incremented high part of
9838         mantissa.
9839         * math/libm-test.inc (lround_test_data): Add tests used for
9840         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9841         for tests requiring 64-bit long.  Do not condition tests on
9842         [TEST_FLOAT] unnecessarily.
9843         (llround_test_data): Add tests used for lround.  Add another
9844         expectation for the "inexact" exception.  Do not condition tests
9845         on [TEST_FLOAT] unnecessarily.
9847         [BZ #887]
9848         [BZ #19049]
9849         [BZ #19050]
9850         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9851         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9852         <fix-int-fp-convert-zero.h>.
9853         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9854         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9855         <fix-int-fp-convert-zero.h>.
9856         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9857         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9858         <fix-int-fp-convert-zero.h>.
9859         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9860         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9861         <fix-int-fp-convert-zero.h>.
9862         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9863         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9864         <fix-int-fp-convert-zero.h>.
9865         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9866         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9867         <fix-int-fp-convert-zero.h>.
9868         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9869         * sysdeps/ieee754/flt-32/s_erff.c: Include
9870         <fix-int-fp-convert-zero.h>.
9871         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9872         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9873         <fix-int-fp-convert-zero.h>.
9874         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9875         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9876         <fix-int-fp-convert-zero.h>.
9877         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9879         <fix-int-fp-convert-zero.h>.
9880         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9881         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9882         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9883         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9884         file.
9885         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9887 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9891 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9893         [BZ #19059]
9894         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9895         overflowing computation.
9896         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9897         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9898         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9899         Likewise.
9900         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9901         Likewise.
9902         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9903         Likewise.
9904         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9905         Likewise.
9906         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9907         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9908         Likewise.
9909         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9910         Likewise.
9911         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9913         * nss/rewrite_field.c (__nss_rewrite_field): Use
9914         internal_function.
9915         * nss/valid_field.c (__nss_valid_field): Likewise.
9916         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9918 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9920         [BZ #18724]
9921         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9922         (__nss_invalid_field_characters, __nss_valid_field)
9923         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9924         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9925         tst-field.c: New file.
9926         * nss/Makefile (routines): Add valid_field, rewrite_field.
9927         (tests-static): Define unconditionally.
9928         (tests): Include tests-static.
9929         [build-static-nss] (tests-static): Use append.
9930         [build-static-nss] (tests): Remove modification.
9931         * nss/getent.c (print_group): Call putgrent.  Report error.
9932         (print_gshadow): Call putsgent.  Report error.
9933         (print_passwd): Call putpwent.  Report error.
9934         (print_shadow): Call putspent.  Report error.
9935         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9936         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9937         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9938         name, password, directory, shell fields for valid syntax.  Rewrite
9939         GECOS field to match syntax.
9940         * pwd/Makefile (tests): Add tst-putpwent.
9941         * pwd/tst-putpwent.c: New file.
9942         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9943         Check grName, grpasswd, gr_mem fields for valid syntax.
9944         Change loop variable i to size_t.
9945         * grp/Makefile (tests): Add tst-putgrent.
9946         * grp/tst-putgrent.c: New file.
9947         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9948         valid syntax.
9949         * shadow/Makefile (tests): Add tst-putspent.
9950         * shadow/tst-putspent.c: New file.
9951         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9952         sg_mem fields for valid syntax.
9953         * gshadow/Makefile (tests): Add tst-putsgent.
9954         * gshadow/tst-putsgent.c: New file.
9956 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9958         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9959         assembly instructions.
9961 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9963         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9964         prefix from operands.
9966 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9968         [BZ #16347]
9969         [BZ #19046]
9970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9971         <libc-internal.h>.
9972         (MAXLGM): Do not use diagnostic control macros.
9973         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9974         threshold for ldbl-128ibm.
9975         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9976         instead of multiplying by log then subtracting.
9977         * math/auto-libm-test-in: Add more tests of lgamma.
9978         * math/auto-libm-test-out: Regenerated.
9980         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9981         (TYPE_HEX_DIG): Likewise.
9982         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9983         precisions when printing floating-point numbers.
9984         (check_float_internal): Likewise.
9986 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9988         [BZ #16620]
9989         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9990         of log (10) rounded downward to 48 bits.
9991         (log10_low): Use corresponding low part of log (10).
9993         [BZ #19032]
9994         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9995         compute result as (x - x) / (x - x) not as 0 / 0.
9996         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9997         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9999         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10000         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10001         and expm1.
10002         * math/auto-libm-test-out: Regenerated.
10003         * math/libm-test.inc (acos_test_data): Add more tests.
10004         (asin_test_data): Likewise.
10005         (asinh_test_data): Likewise.
10006         (atan_test_data): Likewise.
10007         (atanh_test_data): Likewise.
10008         (atan2_test_data): Likewise.
10009         (cbrt_test_data): Likewise.
10010         (ceil_test_data): Likewise.
10011         (copysign_test_data): Likewise.
10012         (cos_test_data): Likewise.
10013         (cosh_test_data): Likewise.
10014         (erf_test_data): Likewise.
10015         (erfc_test_data): Likewise.
10016         (exp_test_data): Likewise.
10017         (exp10_test_data): Likewise.
10018         (exp2_test_data): Likewise.
10019         (expm1_test_data): Likewise.
10020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10022 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10024         [BZ #19006]
10025         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10026         to ...
10027         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10028         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10029         to ...
10030         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10031         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10032         to ...
10033         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10034         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10035         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10036         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10037         to ...
10038         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10039         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10040         Moved to ...
10041         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10042         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10043         Moved to ...
10044         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10045         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10046         to ...
10047         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10049         Moved to ...
10050         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10051         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10052         to ...
10053         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10054         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10055         Removed.
10056         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10057         Likewise.
10058         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10059         Likewise.
10060         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10061         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10062         Likewise.
10063         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10070         Likewise.
10071         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10072         Likewise.
10073         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10074         Likewise.
10075         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10080         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10091         Replace ../i486/pthread_cond_timedwait.S with
10092         ../pthread_cond_timedwait.S.
10094 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10096         * math/libm-test.inc (acos_test_data): Refine expectations for
10097         errno and "inexact" exceptions.
10098         (acosh_test_data): Likewise.
10099         (asin_test_data): Likewise.
10100         (asinh_test_data): Likewise.
10101         (atan_test_data): Likewise.
10102         (atanh_test_data): Likewise.
10103         (atan2_test_data): Likewise.
10104         (cbrt_test_data): Likewise.
10105         (ceil_test_data): Likewise.
10106         (copysign_test_data): Likewise.
10107         (cosh_test_data): Likewise.
10108         (erf_test_data): Likewise.
10109         (erfc_test_data): Likewise.
10110         (exp_test_data): Likewise.
10111         (exp10_test_data): Likewise.
10112         (exp2_test_data): Likewise.
10113         (expm1_test_data): Likewise.
10114         (fabs_test_data): Likewise.
10115         (floor_test_data): Likewise.
10116         (fma_test_data): Likewise.
10117         (fmax_test_data): Likewise.
10118         (fmin_test_data): Likewise.
10119         (fmod_test_data): Likewise.
10120         (fpclassify_test_data): Likewise.
10121         (frexp_test_data): Likewise.
10122         (hypot_test_data): Likewise.
10123         (ilogb_test_data): Likewise.
10124         (isgreater_test_data): Likewise.
10125         (isgreaterequal_test_data): Likewise.
10126         (isinf_test_data): Likewise.
10127         (isless_test_data): Likewise.
10128         (islessequal_test_data): Likewise.
10129         (islessgreater_test_data): Likewise.
10130         (isnan_test_data): Likewise.
10131         (isnormal_test_data): Likewise.
10132         (issignaling_test_data): Likewise.
10133         (isunordered_test_data): Likewise.
10134         (j0_test_data): Likewise.
10135         (j1_test_data): Likewise.
10136         (jn_test_data): Likewise.
10137         (lgamma_test_data): Likewise.
10138         (lrint_test_data): Likewise.
10139         (llrint_test_data): Likewise.
10140         (log_test_data): Likewise.
10141         (log10_test_data): Likewise.
10142         (log1p_test_data): Likewise.
10143         (log2_test_data): Likewise.
10144         (logb_test_data): Likewise.
10145         (lround_test_data): Likewise.
10146         (llround_test_data): Likewise.
10147         (modf_test_data): Likewise.
10148         (nearbyint_test_data): Likewise.
10149         (nextafter_test_data): Likewise.
10150         (nexttoward_test_data): Likewise.
10151         (pow_test_data): Likewise.
10152         (remainder_test_data): Likewise.
10153         (remquo_test_data): Likewise.
10154         (rint_test_data): Likewise.
10155         (round_test_data): Likewise.
10156         (signbit_test_data): Likewise.
10157         (sinh_test_data): Likewise.
10158         (sqrt_test_data): Likewise.
10159         (tanh_test_data): Likewise.
10160         (tgamma_test_data): Likewise.
10161         (trunc_test_data): Likewise.
10162         (y0_test_data): Likewise.
10163         (y1_test_data): Likewise.
10164         (yn_test_data): Likewise.
10165         (significand_test_data): Likewise.
10167 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10169         * manual/filesys.texi (Storage Allocation): Document that
10170         posix_fallocate emulation fails when fd is open with O_WRONLY.
10172 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10174         [BZ #19016]
10175         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10176         allow more cases with X^2 + Y^2 >= 0.5.
10177         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10178         normal element in sum instead of special-casing based on values of
10179         arguments.
10180         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10181         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10182         -1 as normal element in sum instead of special-casing based on
10183         values of arguments.
10184         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10185         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10186         (__x2y2m1): Update comment.
10187         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10188         as normal element in sum instead of special-casing based on values
10189         of arguments.
10190         * math/s_clog.c (__clog): Handle more cases using log1p without
10191         hypot.
10192         * math/s_clog10.c (__clog10): Likewise.
10193         * math/s_clog10f.c (__clog10f): Likewise.
10194         * math/s_clog10l.c (__clog10l): Likewise.
10195         * math/s_clogf.c (__clogf): Likewise.
10196         * math/s_clogl.c (__clogl): Likewise.
10197         * math/auto-libm-test-in: Add more tests of clog and clog10.
10198         * math/auto-libm-test-out: Regenerated.
10199         * sysdeps/i386/fpu/libm-test-ulps: Update.
10200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202 2015-09-28  Martin Sebor  <msebor@redhat.com>
10204         [BZ #18969]
10205         * string/Makefile (LOCALES): Define.
10206         (gen-locales.mk): Include.
10207         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10208         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10209         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10210         on setlocale failure.
10212 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10214         [BZ #18985]
10215         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10216         (__strftime_internal): Likewise.
10217         * time/tst-strftime.c (do_bz18985): New test.
10218         (do_test): Call it.
10220 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10222         [BZ #18956]
10223         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10224         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10225         extracting high part.
10226         * math/auto-libm-test-in: Add another test of pow.
10227         * math/auto-libm-test-out: Regenerated.
10228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10230 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10232         [BZ #18825]
10233         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10234         New macro.
10235         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10236         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10237         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10238         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10239         DBL_NARROW_EVAL, reloading the PIC register as needed.
10240         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10241         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10242         FLT_NARROW_EVAL.  Use separate return path for case when first
10243         argument is NaN.
10244         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10245         DEFINE_LDBL_MIN.
10246         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10247         PIC register.
10248         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10249         math_check_force_underflow_nonneg.
10250         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10251         underflow for subnormal result.
10252         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10254         math_check_force_underflow_nonneg.
10255         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10256         math_check_force_underflow.
10257         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10258         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10259         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10260         DEFINE_LDBL_MIN.
10261         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10262         * math/auto-libm-test-in: Add more tests of pow.
10263         * math/auto-libm-test-out: Regenerated.
10265 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10267         * nss/bug17079.c (init_test_items): Add diagnostic for
10268         inconsistent entries.
10269         (test_buffer_size): Skip inconsistent entries.
10271 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #13304]
10274         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10275         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10276         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10278         [BZ #13304]
10279         * sysdeps/microblaze/s_fma.c: New file.
10280         * sysdeps/microblaze/s_fmaf.c: Likewise.
10281         * sysdeps/microblaze/sfp-machine.h: Likewise.
10283 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10285         [BZ #17250]
10286         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10287         member.
10289 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #18803]
10292         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10293         (MO): New macro.
10294         (__ieee754_hypot) [PIC]: Load PIC register.
10295         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10296         DBL_NARROW_EVAL.
10297         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10298         math_check_force_underflow_nonneg in case where result might be
10299         tiny.
10300         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10301         Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10303         Likewise.
10304         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10305         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10306         * math/auto-libm-test-in: Add more tests of hypot.
10307         * math/auto-libm-test-out: Regenerated.
10309 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10311         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10313 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10315         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10316         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10317         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10318         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10319         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10320         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10321         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10323         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10324         LOAD_PIC_REG.
10326         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10327         (FLT_CHECK_FORCE_UFLOW): Likewise.
10328         (DBL_CHECK_FORCE_UFLOW): Likewise.
10329         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10330         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10331         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10332         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10333         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10334         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10335         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10336         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10337         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10338         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10339         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10340         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10341         (flt_min): Replace with use of DEFINE_FLT_MIN.
10342         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10343         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10344         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10345         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10346         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10347         (flt_min): Replace with use of DEFINE_FLT_MIN.
10348         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10349         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10350         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10351         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10352         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10353         (flt_min): Replace with use of DEFINE_FLT_MIN.
10354         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10355         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10356         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10357         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10358         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10359         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10360         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10361         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10362         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10363         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10364         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10365         (flt_min): Replace with use of DEFINE_FLT_MIN.
10366         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10367         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10368         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10369         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10370         main computation.
10371         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10372         (flt_min): Replace with use of DEFINE_FLT_MIN.
10373         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10374         main computation.
10375         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10376         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10377         (MO): New macro.
10378         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10379         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10380         (flt_min): Replace with use of DEFINE_FLT_MIN.
10381         (MO): New macro.
10382         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10383         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10384         (__log1pl): Use MO.
10386         [BZ #19003]
10387         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10388         $(config-cflags-nofma).
10390 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10392         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10394 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10396         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10397         (TWO127): Likewise.
10399         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10400         (min_of_type): Likewise.
10401         (math_check_force_underflow): Likewise.
10402         (math_check_force_underflow_nonneg): Likewise.
10403         (math_check_force_underflow_complex): Likewise.
10404         * math/e_exp2l.c (__ieee754_exp2l): Use
10405         math_check_force_underflow_nonneg.
10406         * math/k_casinh.c (__kernel_casinh): Likewise.
10407         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10408         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10409         * math/s_catan.c (__catan): Use
10410         math_check_force_underflow_complex.
10411         * math/s_catanf.c (__catanf): Likewise.
10412         * math/s_catanh.c (__catanh): Likewise.
10413         * math/s_catanhf.c (__catanhf): Likewise.
10414         * math/s_catanhl.c (__catanhl): Likewise.
10415         * math/s_catanl.c (__catanl): Likewise.
10416         * math/s_ccosh.c (__ccosh): Likewise.
10417         * math/s_ccoshf.c (__ccoshf): Likewise.
10418         * math/s_ccoshl.c (__ccoshl): Likewise.
10419         * math/s_cexp.c (__cexp): Likewise.
10420         * math/s_cexpf.c (__cexpf): Likewise.
10421         * math/s_cexpl.c (__cexpl): Likewise.
10422         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10423         * math/s_clog10.c (__clog10): Likewise.
10424         * math/s_clog10f.c (__clog10f): Likewise.
10425         * math/s_clog10l.c (__clog10l): Likewise.
10426         * math/s_clogf.c (__clogf): Likewise.
10427         * math/s_clogl.c (__clogl): Likewise.
10428         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10429         * math/s_csinf.c (__csinf): Likewise.
10430         * math/s_csinh.c (__csinh): Likewise.
10431         * math/s_csinhf.c (__csinhf): Likewise.
10432         * math/s_csinhl.c (__csinhl): Likewise.
10433         * math/s_csinl.c (__csinl): Likewise.
10434         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10435         * math/s_csqrtf.c (__csqrtf): Likewise.
10436         * math/s_csqrtl.c (__csqrtl): Likewise.
10437         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10438         * math/s_ctanf.c (__ctanf): Likewise.
10439         * math/s_ctanh.c (__ctanh): Likewise.
10440         * math/s_ctanhf.c (__ctanhf): Likewise.
10441         * math/s_ctanhl.c (__ctanhl): Likewise.
10442         * math/s_ctanl.c (__ctanl): Likewise.
10443         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10444         instead of volatile.
10445         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10446         math_check_force_underflow.
10447         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10448         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10449         volatile when forcing underflow.
10450         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10451         math_check_force_underflow_nonneg.
10452         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10453         Likewise.
10454         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10455         math_check_force_underflow.
10456         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10457         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10458         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10459         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10460         math_check_force_underflow_nonneg.
10461         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10462         math_check_force_underflow.
10463         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10465         instead of volatile.
10466         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10467         math_check_force_underflow.
10468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10469         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10470         math_check_force_underflow_nonneg.
10471         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10472         math_check_force_underflow.
10473         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10474         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10475         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10476         math_check_force_underflow_nonneg.
10477         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10478         Likewise.
10479         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10480         math_check_force_underflow.
10481         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10482         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10483         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10484         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10485         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10486         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10487         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10488         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10489         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10490         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10491         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10492         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10493         Likewise.
10494         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10495         math_check_force_underflow_nonneg.
10496         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10497         Likewise.
10498         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10499         math_check_force_underflow.
10500         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10501         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10502         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10503         Likewise.
10504         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10505         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10506         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10507         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10508         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10509         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10511         instead of volatile.
10512         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10513         math_check_force_underflow.
10514         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10515         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10516         math_check_force_underflow.
10517         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10518         Likewise.
10519         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10520         Use math_check_force_underflow_nonneg.
10521         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10522         math_check_force_underflow.
10523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10524         Likewise.
10525         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10526         Likewise.
10527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10531         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10533         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10534         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10535         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10536         math_check_force_underflow_nonneg.
10537         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10538         math_check_force_underflow.
10539         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10540         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10541         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10542         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10543         math_check_force_underflow_nonneg.
10544         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10545         math_check_force_underflow.
10546         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10548         instead of volatile.
10549         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10550         math_check_force_underflow.
10552         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10553         * stdlib/strtod_l.c: Include <math_private.h>.
10554         (overflow_value): Use math_narrow_eval.
10555         (underflow_value): Likewise.
10556         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10557         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10558         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10559         (__ieee754_gamma_r): Likewise.
10560         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10561         Likewise.
10562         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10563         Likewise.
10564         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10565         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10566         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10567         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10568         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10569         (__ieee754_gammaf_r): Likewise.
10570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10571         Likewise.
10572         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10573         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10574         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10575         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10576         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10577         volatile.
10578         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10579         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10580         math_narrow_eval.
10581         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10582         Likewise.
10583         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10584         Likewise.
10585         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10586         Likewise.
10587         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10588         volatile.
10589         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10591         math_narrow_eval.
10592         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10593         Likewise.
10594         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10595         Likewise.
10597 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10599         * nptl/Versions: Remove ignored symbols.
10601 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10603         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10604         * nss/Makefile (tests): Update.
10606 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10608         * nss/bug18287.c: New file.
10609         * nss/Makefile (tests): Add bug18287.
10611 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10613         * mach/Versions (__mach_host_self_): Add symbol.
10615 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10617         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10618         vm_page_size.
10620 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10622         Really fix sysdeps/i386/fpu/s_scalbn.S build
10624         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10625         (libc: GLIBC_2_22): Remove unused version set.
10627 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10629         * config.make.in (enable-timezone-tools): New variable.
10630         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10631         (enable_timezone_tools): Export to generated files.
10632         * configure: Regenerate.
10633         * INSTALL: Regenerate.
10634         * manual/install.texi (--disable-timezone-tools): Document new flag.
10635         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10636         ifeq ($(enable-timezone-tools),yes) check.
10638 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10640         * timezone/Makefile: Revert previous change.
10642         [BZ #18980]
10643         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10644         (DEFINE_DBL_MIN): Likewise.
10645         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10646         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10647         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10648         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10649         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10650         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10651         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10652         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10653         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10654         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10655         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10656         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10657         (flt_min): Replace with use of DEFINE_FLT_MIN.
10658         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10659         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10660         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10661         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10662         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10663         (flt_min): Replace with use of DEFINE_FLT_MIN.
10664         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10665         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10666         (flt_min): Replace with use of DEFINE_FLT_MIN.
10667         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10668         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10669         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10670         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10671         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10672         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10673         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10674         (__ieee754_pow): Use DBL_NARROW_EVAL.
10675         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10676         (__ieee754_powf): Use FLT_NARROW_EVAL.
10677         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10678         (__ieee754_expf_sse2): Convert double-precision result to single
10679         precision.
10680         * sysdeps/i386/fpu/libm-test-ulps: Update.
10682 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10684         * timezone/Makefile: Ignore unused variable errors due to private.h
10685         (time_t_min) and (time_t_max).
10686         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10687         Likewise.
10689 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10691         [BZ #18981]
10692         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10693         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10694         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10695         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10696         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10697         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10698         (__scalbn): Use DBL_NARROW_EVAL.
10699         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10700         (__scalbnf): Use FLT_NARROW_EVAL.
10702 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10704         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10705         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10706         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10707         * stdio-common/printf_fp.c (___printf_fp):
10708         Use signbit to get the sign. Use isinf macro to allow inlining.
10709         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10710         * stdio-common/printf_size.c (__printf_size): Likewise.
10712 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10714         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10716 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10718         [BZ #18980]
10719         * sysdeps/generic/math_private.h: Include <float.h>.
10720         (math_narrow_eval): New macro.
10721         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10722         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10723         math_narrow_eval on overflowing return value.
10724         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10725         Likewise.
10726         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10727         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10729         Likewise.
10730         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10732 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10734         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10735         * math/Makefile: Remove isinf_ns.c.
10736         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10737         * math/multc3.c (__multc3): Likewise.
10738         * math/s_casin.c (__casin): Likewise.
10739         * math/s_casinf.c (__casinf): Likewise.
10740         * math/s_casinl.c (__casinl): Likewise.
10741         * math/s_cproj.c (__cproj): Likewise.
10742         * math/s_cprojf.c (__cprojf): Likewise.
10743         * math/s_cprojl.c (__cprofl): Likewise.
10744         * math/s_ctan.c (__ctan): Likewise.
10745         * math/s_ctanf.c (__ctanf): Likewise.
10746         * math/s_ctanh.c (__ctanh): Likewise.
10747         * math/s_ctanhf.c (__ctanhf): Likewise.
10748         * math/s_ctanhl.c (__ctanhl): Likewise.
10749         * math/s_ctanl.c (__ctanl): Likewise.
10750         * math/w_fmod.c (__fmod): Likewise.
10751         * math/w_fmodf.c (__fmodf): Likewise.
10752         * math/w_fmodl.c (_fmodl): Likewise.
10753         * math/w_remainder.c (__remainder): Likewise.
10754         * math/w_remainderf.c (__remainderf): Likewise.
10755         * math/w_remainderl.c (__remainderl): Likewise.
10756         * math/w_scalb.c (__scalb): Likewise.
10757         * math/w_scalbf.c (__scalbf): Likewise.
10758         * math/w_scalbl.c (__scalbl): Likewise.
10759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10760         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10761         with isinf.
10762         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10763         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10764         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10765         __isinf_nsf with isinf.
10766         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10767         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10768         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10769         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10770         with isinf.
10771         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10772         __isinf_nsl with isinf.
10773         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10774         with isinf.
10775         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10776         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10777         __isinf_nsl with isinf.
10778         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10779         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10780         with isinf.
10782 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10784         * resolv/base64.c (rcsid): Remove unused static.
10785         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10786         static.  (tqpi1): Likewise.
10787         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10788         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10789         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10790         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10792         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10793         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10794         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10795         Likewise.
10797 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10799         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10800         <nptl/pthreadP.h>.
10801         (_longjmp_unwind): Use __libc_ptf_call.
10802         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10804 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10806         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10807         * sysdeps/arm/__longjmp.S: Likewise.
10809 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10811         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10812         Use __builtin_signbit.
10813         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10814         Use __builtin_signbitf.
10815         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10816         Use __builtin_signbitl.
10817         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10818         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10820 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10822         [BZ #15367]
10823         [BZ #17441]
10825         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10826         * math/math.h (fpclassify): Use __builtin_fpclassify when
10827         available.  (signbit): Use __builtin_signbit(f/l).
10828         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10829         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10830         (isinf): Use __builtin_isinf_sign.
10832 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10834         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10835         * benchtests/bench-math-inlines.c: New benchmark.
10836         * benchtests/bench-util.h: New file.
10837         * benchtests/bench-util.c: New file.
10838         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10840 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10842         * elf/tst-dlmopen1.c: Define TEST_SO.
10843         (do_test): Use TEST_SO.
10845         * elf/dl-load.c: Include libc-internal.h.
10846         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10848 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10850         [BZ #17887]
10851         * time/strptime_l.c (__strptime_internal): Make %z accept
10852         [+-]HH:MM time zones.
10854 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10856         [BZ #17886]
10857         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10858         valid time zone.
10860 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10862         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10863         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10864         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10865         (__ASSUME_FDATASYNC): Delete.
10867 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10869         * conform/linknamespace.pl: Require weak undefined symbols to be
10870         in the standard namespace.
10871         (%strong_syms): Rename to %seen_syms.
10872         (%strong_seen): Rename to %seen_where.
10874 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10876         [BZ #18970]
10877         * misc/error.c (error): Replace pthread_setcancelstate with
10878         __pthread_setcancelstate.
10879         (error_at_line): Likewise.
10880         * posix/wordexp.c (parse_comm): Likewise.
10881         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10882         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10883         (__pthread_setcancelstate): This.
10884         (pthread_setcancelstate): Add an alias.
10885         * nptl/nptl-init.c (pthread_functions): Replace
10886         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10887         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10888         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10889         hidden_proto.
10890         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10891         it with hidden_def.
10892         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10893         (pthread_setcancelstate): Renamed to ...
10894         (__pthread_setcancelstate): This.
10895         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10896         __libc_ptf_call with __pthread_setcancelstate.
10898 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10899             Andreas Schwab  <schwab@suse.de>
10901         [BZ #17118]
10902         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10903         result when imaginary part of argument is infinite using sine and
10904         cosine.
10905         * math/s_ctanf.c (__ctanf): Likewise.
10906         * math/s_ctanl.c (__ctanl): Likewise.
10907         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10908         of result when real part of argument is infinite using sine and
10909         cosine.
10910         * math/s_ctanhf.c (__ctanhf): Likewise.
10911         * math/s_ctanhl.c (__ctanhl): Likewise.
10912         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10913         (ctanh_test_data): Add more tests of ctanh.
10915 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10917         [BZ #15384]
10918         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10919         bit-mask as in subtraction.
10920         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10921         Likewise.
10922         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10923         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10924         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10926         [BZ #18951]
10927         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10928         underflow exception for small results.
10929         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10930         Likewise.
10931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10932         Likewise.
10933         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10934         Likewise.
10935         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10936         Likewise.
10937         * math/auto-libm-test-in: Add more tests of tgamma.
10938         * math/auto-libm-test-out: Regenerated.
10940 2015-09-17  Andreas Schwab  <schwab@suse.de>
10942         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10944 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10946         [BZ #18977]
10947         * math/bits/mathcalls.h
10948         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10949         not declare.
10950         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10951         Likewise.
10952         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10953         Likewise.
10954         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10955         Likewise.
10956         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10957         Likewise.
10958         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10959         Likewise.
10960         * conform/data/math.h-data
10961         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10962         function.
10963         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10973         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10975         [BZ #6803]
10976         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10977         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10978         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10979         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10980         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10981         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10982         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10983         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10984         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10985         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10986         Likewise.
10987         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10988         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10989         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10991         long_double_symbol calls.
10992         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10993         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10994         strong alias of __ldexpl.
10995         (scalbnl): Define using long_double_symbol.
10996         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10997         Remove alias.
10998         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10999         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11000         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11001         (scalbln_test_data): Add more errno expectations.
11003 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11005         Cache the host port like we cache the task port.  This way we do not
11006         need to call the kernel just to get the port.  Furthermore, we no
11007         longer increase the reference count on every invocation of
11008         `mach_host_self'.
11010         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11011         Protect declarations against the macro expansion.
11012         * mach/mach_init.c (__mach_host_self_): New variable.
11013         (mach_init): Initialize `__mach_host_self_'.
11014         * mach/mach_init.h (__mach_host_self_): New declaration.
11015         (__mach_host_self, mach_host_self): New macros.
11016         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11017         Release reference.
11019 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11021         [BZ #4404]
11022         * po/de.po: Update from Translation Project.
11024         [BZ #16415]
11025         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11026         (__expm1l): Remove code to handle positive infinity and overflow.
11027         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11028         variable.
11029         (__expm1l): Remove code to handle positive infinity and overflow.
11031 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11032             Paul Pluzhnikov  <ppluzhnikov@google.com>
11034         [BZ #18872]
11035         * stdio-common/Makefile (tst-printf-bz18872): New test.
11036         (tst-printf-bz18872-mem.out): Likewise.
11037         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11038         * stdio-common/vfprintf.c: Fix memory leaks.
11040 2015-09-16  Andreas Schwab  <schwab@suse.de>
11042         [BZ #17244]
11043         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11044         Remove extra va_start/va_end calls.
11046         [BZ #17243]
11047         * posix/execl.c (execl): Add missing va_end.
11048         * posix/execle.c (execle): Likewise.
11049         * posix/execlp.c (execlp): Likewise.
11051 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11053         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11054         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11056 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11058         [BZ #18967]
11059         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11060         undefine around includes of <bits/mathcalls.h>.
11061         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11062         not declare function.
11063         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11064         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11065         (scalb): Likewise.
11066         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11067         not define macro.
11068         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11069         variable.
11070         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11071         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11072         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11074         [BZ #18857]
11075         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11076         return non-finite argument without doing ordered comparisons on
11077         it.
11079         [BZ #16296]
11080         * math/fenv.h (fegetround): Use __attribute_pure__.
11081         * include/fenv.h (__fegetround): Likewise.
11083         [BZ #18595]
11084         * math/s_ctan.c (__ctan): Force underflow exception for results
11085         whose real or imaginary part has small absolute value.
11086         * math/s_ctanf.c (__ctanf): Likewise.
11087         * math/s_ctanh.c (__ctanh): Likewise.
11088         * math/s_ctanhf.c (__ctanhf): Likewise.
11089         * math/s_ctanhl.c (__ctanhl): Likewise.
11090         * math/s_ctanl.c (__ctanl): Likewise.
11091         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11092         and ctanh.  Add more tests of ctan and ctanh.
11094         [BZ #15918]
11095         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11096         handling of cases where one argument is an infinity.
11098         [BZ #18875]
11099         [BZ #18966]
11100         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11101         (MO): New macro.
11102         (__ieee754_exp10): For small results, force underflow exception
11103         and remove excess range and precision from return value.
11104         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11105         (MO): New macro.
11106         (__ieee754_exp10f): For small results, force underflow exception
11107         and remove excess range and precision from return value.
11108         * math/auto-libm-test-in: Add more tests of exp10.
11109         * math/auto-libm-test-out: Regenerated.
11111 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11113         [BZ #18875]
11114         [BZ #18961]
11115         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11116         (MO): New macro.
11117         (__ieee754_exp): For small results, force underflow exception and
11118         remove excess range and precision from return value.
11119         (__exp_finite): Likewise.
11120         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11121         (MO): New macro.
11122         (__ieee754_expf): For small results, force underflow exception and
11123         remove excess range and precision from return value.
11124         (__expf_finite): Likewise.
11125         * math/auto-libm-test-in: Add more tests of exp.
11126         * math/auto-libm-test-out: Regenerated.
11128         [BZ #16521]
11129         [BZ #18875]
11130         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11131         small results.
11132         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11133         (MO): New macro.
11134         (__ieee754_exp2): For small results, force underflow exception and
11135         remove excess range and precision from return value.
11136         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11137         (MO): New macro.
11138         (__ieee754_exp2f): For small results, force underflow exception
11139         and remove excess range and precision from return value.
11140         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11141         (MO): New macro.
11142         (__ieee754_exp2l): Force underflow exception for small results.
11143         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11144         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11145         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11146         (MO): New macro.
11147         (__ieee754_exp2l): Force underflow exception for small results.
11148         * math/auto-libm-test-in: Add more tests or exp2.
11149         * math/auto-libm-test-out: Regenerated.
11151 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11153         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11155         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11156         /dev/null.
11158 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11160         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11161         io fs process)): Drop spurious backslash.
11163 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11166         Use sysinfo system call instead of parsing /proc/meminfo.
11167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11168         Likewise.
11170 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11172         [BZ #16985]
11173         * programs/localedef.c (main): Display argv[remaining] when
11174         output_path is NULL.
11176 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11178         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11179         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11180         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11181         tanh.
11182         * math/auto-libm-test-out: Regenerated.
11183         * sysdeps/i386/fpu/libm-test-ulps: Update.
11184         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11185         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11188 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11190         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11191         Use 'override' keyword to freeze the value here, preventing
11192         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11194 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11196         [BZ #14912]
11197         * sysdeps/aarch64/bits/atomic.h: Move to ...
11198         * sysdeps/aarch64/atomic-machine.h: ...here.
11199         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11200         _AARCH64_ATOMIC_MACHINE_H.
11201         * sysdeps/alpha/bits/atomic.h: Move to ...
11202         * sysdeps/alpha/atomic-machine.h: ...here.
11203         * sysdeps/arm/bits/atomic.h: Move to ...
11204         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11205         * bits/atomic.h: Move to ...
11206         * sysdeps/generic/atomic-machine.h: ...here.
11207         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11208         * sysdeps/i386/bits/atomic.h: Move to ...
11209         * sysdeps/i386/atomic-machine.h: ...here.
11210         * sysdeps/ia64/bits/atomic.h: Move to ...
11211         * sysdeps/ia64/atomic-machine.h: ...here.
11212         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11213         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11214         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11215         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11216         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11217         * sysdeps/microblaze/bits/atomic.h: Move to ...
11218         * sysdeps/microblaze/atomic-machine.h: ...here.
11219         * sysdeps/mips/bits/atomic.h: Move to ...
11220         * sysdeps/mips/atomic-machine.h: ...here.
11221         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11222         * sysdeps/powerpc/bits/atomic.h: Move to ...
11223         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11224         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11225         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11226         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11227         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11228         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11229         <atomic-machine.h> instead of <bits/atomic.h>.
11230         * sysdeps/s390/bits/atomic.h: Move to ...
11231         * sysdeps/s390/atomic-machine.h: ...here.
11232         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11233         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11234         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11235         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11236         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11237         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11238         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11239         * sysdeps/tile/bits/atomic.h: Move to ...
11240         * sysdeps/tile/atomic-machine.h: ...here.
11241         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11242         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11243         <sysdeps/tile/atomic-machine.h> instead of
11244         <sysdeps/tile/bits/atomic.h>.
11245         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11246         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11247         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11248         <sysdeps/tile/atomic-machine.h> instead of
11249         <sysdeps/tile/bits/atomic.h>.
11250         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11251         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11252         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11253         <sysdeps/arm/atomic-machine.h> instead of
11254         <sysdeps/arm/bits/atomic.h>.
11255         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11256         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11257         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11258         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11259         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11260         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11261         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11262         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11263         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11264         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11265         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11266         * sysdeps/x86_64/bits/atomic.h: Move to ...
11267         * sysdeps/x86_64/atomic-machine.h: ...here.
11268         * include/atomic.h: Include <atomic-machine.h> instead of
11269         <bits/atomic.h>.
11271         * sysdeps/mips/mips32/libm-test-ulps: Update.
11272         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11274         [BZ #18952]
11275         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11276         not convert non-integer negative arguments to int to determine the
11277         value of signgam.
11278         * math/auto-libm-test-in: Add more tests of lgamma.
11279         * math/auto-libm-test-out: Regenerated.
11281         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11282         cosh, csqrt, erfc, expm1 and lgamma.
11283         * math/auto-libm-test-out: Regenerated.
11284         * sysdeps/i386/fpu/libm-test-ulps: Update.
11285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11287 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11289         [BZ #2542]
11290         [BZ #2543]
11291         [BZ #2558]
11292         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11293         __lgamma_neg for arguments from -28.0 to -2.0.
11294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11295         __lgamma_negf for arguments from -15.0 to -2.0.
11296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11297         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11299         Call __lgamma_negl for arguments from -33.0 to -2.0.
11300         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11301         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11302         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11303         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11304         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11305         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11306         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11307         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11308         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11309         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11310         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11311         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11312         (__lgamma_neg): Likewise.
11313         (__lgamma_negl): Likewise.
11314         (__lgamma_product): Likewise.
11315         (__lgamma_productl): Likewise.
11316         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11317         * math/auto-libm-test-in: Add more tests of lgamma.
11318         * math/auto-libm-test-out: Regenerated.
11319         * sysdeps/i386/fpu/libm-test-ulps: Update.
11320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11324         [BZ #18675]
11325         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11327 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11329         [BZ #14912]
11330         * bits/libc-lock.h: Move to ...
11331         * sysdeps/generic/libc-lock.h: ...here.
11332         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11333         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11334         * sysdeps/mach/hurd/libc-lock.h: ...here.
11335         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11336         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11337         * sysdeps/mach/bits/libc-lock.h: Move to ...
11338         * sysdeps/mach/libc-lock.h: ...here.
11339         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11340         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11341         * sysdeps/nptl/libc-lock.h: ...here.
11342         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11343         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11344         * sysdeps/nptl/libc-lockP.h: ...here.
11345         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11346         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11347         <bits/libc-lock.h>.
11348         * dirent/scandir-tail.c: Likewise.
11349         * dlfcn/dlerror.c: Likewise.
11350         * elf/dl-close.c: Likewise.
11351         * elf/dl-iteratephdr.c: Likewise.
11352         * elf/dl-lookup.c: Likewise.
11353         * elf/dl-open.c: Likewise.
11354         * elf/dl-support.c: Likewise.
11355         * elf/dl-writev.h: Likewise.
11356         * elf/rtld.c: Likewise.
11357         * grp/fgetgrent.c: Likewise.
11358         * gshadow/fgetsgent.c: Likewise.
11359         * gshadow/sgetsgent.c: Likewise.
11360         * iconv/gconv_conf.c: Likewise.
11361         * iconv/gconv_db.c: Likewise.
11362         * iconv/gconv_dl.c: Likewise.
11363         * iconv/gconv_int.h: Likewise.
11364         * iconv/gconv_trans.c: Likewise.
11365         * include/link.h: Likewise.
11366         * inet/getnameinfo.c: Likewise.
11367         * inet/getnetgrent.c: Likewise.
11368         * inet/getnetgrent_r.c: Likewise.
11369         * intl/bindtextdom.c: Likewise.
11370         * intl/dcigettext.c: Likewise.
11371         * intl/finddomain.c: Likewise.
11372         * intl/gettextP.h: Likewise.
11373         * intl/loadmsgcat.c: Likewise.
11374         * intl/localealias.c: Likewise.
11375         * intl/textdomain.c: Likewise.
11376         * libidn/idn-stub.c: Likewise.
11377         * libio/libioP.h: Likewise.
11378         * locale/duplocale.c: Likewise.
11379         * locale/freelocale.c: Likewise.
11380         * locale/newlocale.c: Likewise.
11381         * locale/setlocale.c: Likewise.
11382         * login/getutent_r.c: Likewise.
11383         * login/getutid_r.c: Likewise.
11384         * login/getutline_r.c: Likewise.
11385         * login/utmp-private.h: Likewise.
11386         * login/utmpname.c: Likewise.
11387         * malloc/mtrace.c: Likewise.
11388         * misc/efgcvt.c: Likewise.
11389         * misc/error.c: Likewise.
11390         * misc/fstab.c: Likewise.
11391         * misc/getpass.c: Likewise.
11392         * misc/mntent.c: Likewise.
11393         * misc/syslog.c: Likewise.
11394         * nis/nis_call.c: Likewise.
11395         * nis/nis_callback.c: Likewise.
11396         * nis/nss-default.c: Likewise.
11397         * nis/nss_compat/compat-grp.c: Likewise.
11398         * nis/nss_compat/compat-initgroups.c: Likewise.
11399         * nis/nss_compat/compat-pwd.c: Likewise.
11400         * nis/nss_compat/compat-spwd.c: Likewise.
11401         * nis/nss_nis/nis-alias.c: Likewise.
11402         * nis/nss_nis/nis-ethers.c: Likewise.
11403         * nis/nss_nis/nis-grp.c: Likewise.
11404         * nis/nss_nis/nis-hosts.c: Likewise.
11405         * nis/nss_nis/nis-network.c: Likewise.
11406         * nis/nss_nis/nis-proto.c: Likewise.
11407         * nis/nss_nis/nis-pwd.c: Likewise.
11408         * nis/nss_nis/nis-rpc.c: Likewise.
11409         * nis/nss_nis/nis-service.c: Likewise.
11410         * nis/nss_nis/nis-spwd.c: Likewise.
11411         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11412         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11413         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11414         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11415         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11416         * nis/nss_nisplus/nisplus-network.c: Likewise.
11417         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11418         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11419         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11420         * nis/nss_nisplus/nisplus-service.c: Likewise.
11421         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11422         * nis/ypclnt.c: Likewise.
11423         * nptl/libc_pthread_init.c: Likewise.
11424         * nss/getXXbyYY.c: Likewise.
11425         * nss/getXXent.c: Likewise.
11426         * nss/getXXent_r.c: Likewise.
11427         * nss/nss_db/db-XXX.c: Likewise.
11428         * nss/nss_db/db-netgrp.c: Likewise.
11429         * nss/nss_db/nss_db.h: Likewise.
11430         * nss/nss_files/files-XXX.c: Likewise.
11431         * nss/nss_files/files-alias.c: Likewise.
11432         * nss/nsswitch.c: Likewise.
11433         * posix/regex_internal.h: Likewise.
11434         * posix/wordexp.c: Likewise.
11435         * pwd/fgetpwent.c: Likewise.
11436         * resolv/res_hconf.c: Likewise.
11437         * resolv/res_libc.c: Likewise.
11438         * shadow/fgetspent.c: Likewise.
11439         * shadow/lckpwdf.c: Likewise.
11440         * shadow/sgetspent.c: Likewise.
11441         * socket/opensock.c: Likewise.
11442         * stdio-common/reg-modifier.c: Likewise.
11443         * stdio-common/reg-printf.c: Likewise.
11444         * stdio-common/reg-type.c: Likewise.
11445         * stdio-common/vfprintf.c: Likewise.
11446         * stdio-common/vfscanf.c: Likewise.
11447         * stdlib/abort.c: Likewise.
11448         * stdlib/cxa_atexit.c: Likewise.
11449         * stdlib/fmtmsg.c: Likewise.
11450         * stdlib/random.c: Likewise.
11451         * stdlib/setenv.c: Likewise.
11452         * string/strsignal.c: Likewise.
11453         * sunrpc/auth_none.c: Likewise.
11454         * sunrpc/bindrsvprt.c: Likewise.
11455         * sunrpc/create_xid.c: Likewise.
11456         * sunrpc/key_call.c: Likewise.
11457         * sunrpc/rpc_thread.c: Likewise.
11458         * sysdeps/arm/backtrace.c: Likewise.
11459         * sysdeps/generic/ldsodefs.h: Likewise.
11460         * sysdeps/generic/stdio-lock.h: Likewise.
11461         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11462         * sysdeps/i386/backtrace.c: Likewise.
11463         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11464         * sysdeps/m68k/backtrace.c: Likewise.
11465         * sysdeps/mach/hurd/cthreads.c: Likewise.
11466         * sysdeps/mach/hurd/dirstream.h: Likewise.
11467         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11468         * sysdeps/nptl/malloc-machine.h: Likewise.
11469         * sysdeps/nptl/stdio-lock.h: Likewise.
11470         * sysdeps/posix/dirstream.h: Likewise.
11471         * sysdeps/posix/getaddrinfo.c: Likewise.
11472         * sysdeps/posix/system.c: Likewise.
11473         * sysdeps/pthread/aio_suspend.c: Likewise.
11474         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11475         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11476         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11477         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11478         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11479         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11480         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11481         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11482         * sysdeps/unix/sysv/linux/system.c: Likewise.
11483         * sysdeps/x86_64/backtrace.c: Likewise.
11484         * time/alt_digit.c: Likewise.
11485         * time/era.c: Likewise.
11486         * time/tzset.c: Likewise.
11487         * wcsmbs/wcsmbsload.c: Likewise.
11488         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11489         instead of <bits/libc-lock.h> in comment.
11491 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11493         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11494         Only use .set mips2 if the current ISA is below mips2.
11495         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11496         Likewise.
11497         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11498         mips32r2 if the current ISA is below mips32r2.
11499         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11500         (TLS_IE): Updated to use the TLD_RDHWR macro.
11501         (TLS_LE): Likewise.
11502         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11503         __ASSEMBLER__ condition.
11505 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11507         Fix parallel build of before-compile targets.
11509         * sysdeps/mach/Makefile ($(patsubst
11510         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11511         mach-before-compile target.
11512         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11513         io fs process)): Move rule to dedicated hurd-before-compile target.
11515 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11517         Fix rules generating headers in hurd/ and mach/ when initial make call
11518         has subdir= explicitly set.
11520         * sysdeps/mach/Makefile ($(patsubst
11521         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11522         calling $(MAKE).
11523         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11524         io fs process)): Force subdir to hurd when calling $(MAKE).
11525         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11526         subdir to mach when calling $(MAKE).
11528 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11530         Check sysheaders when looking for Mach and Hurd headers
11532         * sysdeps/mach/configure.ac: Add sysheaders check.
11533         * sysdeps/mach/configure: Regenerate.
11534         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11535         * sysdeps/mach/hurd/configure: Regenerate.
11537 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11539         [BZ #18921]
11540         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11541         Fix inverted sense of test of 'o_directory_works' value.
11542         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11543         Bernhard Voelker <mail@bernhard-voelker.de>.
11545 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11547         [BZ #14912]
11548         * bits/linkmap.h: Move to ...
11549         * sysdeps/generic/linkmap.h: ...here.
11550         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11551         * sysdeps/aarch64/linkmap.h: ...here.
11552         * sysdeps/arm/bits/linkmap.h: Move to ...
11553         * sysdeps/arm/linkmap.h: ...here.
11554         * sysdeps/hppa/bits/linkmap.h: Move to ...
11555         * sysdeps/hppa/linkmap.h: ...here.
11556         * sysdeps/ia64/bits/linkmap.h: Move to ...
11557         * sysdeps/ia64/linkmap.h: ...here.
11558         * sysdeps/mips/bits/linkmap.h: Move to ...
11559         * sysdeps/mips/linkmap.h: ...here.
11560         * sysdeps/s390/bits/linkmap.h: Move to ...
11561         * sysdeps/s390/linkmap.h: ...here.
11562         * sysdeps/sh/bits/linkmap.h: Move to ...
11563         * sysdeps/sh/linkmap.h: ...here.
11564         * sysdeps/x86/bits/linkmap.h: Move to ...
11565         * sysdeps/x86/linkmap.h: ...here.
11566         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11568 2015-09-04  Andreas Schwab  <schwab@suse.de>
11570         [BZ #18635]
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11572         (__makecontext): Terminate FDE before return label.
11573         (__novec_makecontext): Likewise.
11575 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11577         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11578         first member of struct sv in syscall macro.
11580 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11582         [BZ #14912]
11583         * bits/stdio-lock.h: Move to ...
11584         * sysdeps/generic/stdio-lock.h: ...here.
11585         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11586         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11587         * sysdeps/nptl/stdio-lock.h: ...here.
11588         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11589         * include/libio.h: Include <stdio-lock.h> instead of
11590         <bits/stdio-lock.h>.
11591         * sysdeps/nptl/fork.c: Likewise.
11592         * sysdeps/pthread/flockfile.c: Likewise.
11593         * sysdeps/pthread/ftrylockfile.c: Likewise.
11594         * sysdeps/pthread/funlockfile.c: Likewise.
11596         [BZ #14912]
11597         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11598         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11599         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11600         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11601         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11602         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11603         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11605 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11607         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11608         (test-xfail-tst-protected1b): New variable.
11610 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11612         [BZ #14912]
11613         * bits/libc-tsd.h: Move to ...
11614         * sysdeps/generic/libc-tsd.h: ...here.
11615         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11616         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11617         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11618         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11619         * include/ctype.h: Include <libc-tsd.h> instead of
11620         <bits/libc-tsd.h>.
11621         * include/rpc/rpc.h: Likewise.
11622         * locale/localeinfo.h: Likewise.
11623         * sunrpc/rpc_thread.c: Likewise.
11624         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11625         * sysdeps/nptl/malloc-machine.h: Likewise.
11627         * Makefile (headers): Remove bits/libc-lock.h.
11628         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11630         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11631         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11632         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11633         <bits/stdio-lock.h>.
11634         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11635         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11637 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11639         [BZ #18757]
11640         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11641         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11642         BZ #18757.
11644 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11646         * malloc/mtrace.pl: Filter out NULL entries.
11648 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11650         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11651         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11652         macro.
11654         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11655         (TCP_CC_INFO): Likewise.
11656         (TCP_SAVE_SYN): Likewise.
11657         (TCP_SAVED_SYN): Likewise.
11659 2015-08-31  Brett Neumeier <brett@neumeier.us>
11661         [BZ #18870]
11662         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11664 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11666         [BZ #18873]
11667         Fix broken overflow check in posix_fallocate
11668         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11669         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11670         Fix parenthesization typo.
11672 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11674         [BZ #18887]
11675         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11676         tst-mntent-blank-passno.
11677         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11678         * misc/tst-mntent-blank-corrupt.c: New test.
11679         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11680         * misc/tst-mntent.c (do_test): ... here.
11682 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11684         [BZ #4404]
11685         * po/de.po: Fix SIGALRM typo.
11687 2015-08-28  James Perkins  <james@loowit.net>
11689         * time/tst-strptime2.c (tests): Replace short list of test
11690         strings for strptime %z specifier with code which exhaustively
11691         tests every combination of sign and 0 to 5 digits. Tests for
11692         rejection of invalid strings.
11694 2015-08-28  James Perkins  <james@loowit.net>
11696         [BZ #16141]
11697         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11698         calculation, removing incorrect decimal time rounding, so that
11699         all minute values result in a valid seconds value.
11700         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11701         offset range limits to UTC-99:59 through UTC+99:59 to parse
11702         current and historical use cases.
11703         * time/tst-strptime2.c (tests): Modify and add tests for the
11704         strptime %z input field descriptor, specifically conversion of
11705         minutes to seconds and validating an offset range of -9959 to
11706         +9959.
11708 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11709             Dmitry V. Levin  <ldv@altlinux.org>
11711         [BZ #18877]
11712         * posix/Makefile (tests): Add tst-mmap-offset.
11713         * posix/tst-mmap.c: New file.
11714         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11715         offset calculation for negative values.
11717 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11719         * sysdeps/i386/init-arch.h: New file.
11720         * sysdeps/i386/i586/init-arch.h: Likewise.
11721         * sysdeps/i386/i686/init-arch.h: Likewise.
11722         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11723         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11724         * sysdeps/x86/cpu-features.h (bit_I586): New.
11725         (bit_I686): Likewise.
11726         (bit_CX8): Likewise.
11727         (bit_CMOV): Likewise.
11728         (index_CX8): Likewise.
11729         (index_CMOV): Likewise.
11730         (index_I586): Likewise.
11731         (index_I686): Likewise.
11732         (reg_CX8): Likewise.
11733         (reg_CMOV): Likewise.
11734         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11735         available at compile-time.
11736         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11737         available at compile-time.
11738         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11739         (USE_I686): Likewise.
11741 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11743         * sysdeps/i386/bcopy.S: New file.
11744         * sysdeps/i386/bzero.S: Likewise.
11745         * sysdeps/i386/memcpy.S: Likewise.
11746         * sysdeps/i386/memmove.S: Likewise.
11747         * sysdeps/i386/mempcpy.S: Likewise.
11748         * sysdeps/i386/memset.S: Likewise.
11749         * sysdeps/i386/bzero.c: Removed.
11750         * sysdeps/i386/memset.c: Likewise.
11751         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11752         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11753         * sysdeps/i386/i586/memset_chk.S: Likewise.
11754         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11755         * sysdeps/i386/memcpy_chk.S: Here.
11756         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11757         * sysdeps/i386/memmove_chk.S: Here.
11758         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11759         * sysdeps/i386/mempcpy_chk.S: Likewise.
11760         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11761         * sysdeps/i386/memset_chk.S: Likewise.
11763 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11765         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11766         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11767         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11768         * soft-fp/fmadf4.c: Ditto.
11769         * soft-fp/fmatf4.c: Ditto.
11771 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11773         * sysdeps/i386/i586/Implies: Removed.
11774         * sysdeps/i386/i686/Implies: Likewise.
11776 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11778         * sysdeps/i386/i486/strlen.S: Moved to ...
11779         * sysdeps/i386/strlen.S: Here.
11781 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11783         * sysdeps/i386/i486/strcat.S: Moved to ...
11784         * sysdeps/i386/strcat.S: Here.
11786 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11788         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11789         * sysdeps/i386/pthread_spin_trylock.S: Here.
11790         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11791         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11793 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11795         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11796         * sysdeps/i386/string-inlines.c: Here.
11798 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11800         * sysdeps/i386/i486/htonl.S: Moved ...
11801         * sysdeps/i386/htonl.S: here.
11803 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11805         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11806         * sysdeps/i386/bits/atomic.h: Here.
11808 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11810         * sysdeps/i386/i486/Versions: Removed.
11812 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11814         [BZ #2898]
11815         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11816         Based on patch by Aurelien Jarno.
11818 2015-08-26  Stan Shebs  <stanshebs@google.com>
11820         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11821         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11823 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11825         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11826         * sysdeps/powerpc/dl-procinfo.c:
11827         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11828         feature so it shows when LD_SHOW_AUXV=1.
11830 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11832         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11833         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11834         definition.  ISA 2.07B no longer requires full sync.
11836 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11838         [BZ #18863]
11839         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11840         (si_call_addr): Define.
11841         (si_syscall): Define.
11842         (si_arch): Define.
11844 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11846         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11847         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11848         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11849         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11850         (__memset_zero_constant_len_parameter): New.
11851         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11852         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11853         (__memset_zero_constant_len_parameter): Don't define if
11854         __memset_chk or USE_AS_BZERO are defined.
11856         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11857         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11858         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11860         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11861         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11862         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11863         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11864         comments.
11865         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11866         -mno-mmx for $(all-rtld-routines).
11867         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11868         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11869         i386.
11871 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11873         * sysdeps/generic/unwind.h
11874         (_Unwind_Word): Use __mode__(__unwind_word__)
11875         instead of __mode__(__word__).
11876         (_Unwind_Sword): Likewise.
11878         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11879         (MAX_NEEDED_INPUT): New define.
11880         (MAX_NEEDED_OUTPUT): New define.
11882         * NEWS: New item for IBM z13 string optimizations.
11884         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11885         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11886         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11887         * sysdeps/s390/multiarch/Makefile
11888         (sysdep_routines): Add memrchr functions.
11889         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11890         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11892         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11893         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11894         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11895         * sysdeps/s390/multiarch/Makefile
11896         (sysdep_routines): Add wmemcmp functions.
11897         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11898         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11899         * benchtests/bench-wmemcmp.c: New File.
11900         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11902         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11903         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11904         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11905         * sysdeps/s390/multiarch/Makefile
11906         (sysdep_routines): Add wmemset functions.
11907         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11908         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11909         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11910         * string/test-memset.c: Add wmemset support.
11911         * wcsmbs/test-wmemset.c: New File.
11912         * wcsmbs/Makefile (strop-tests): Add wmemset.
11913         * benchtests/bench-memset.c: Add wmemset support.
11914         * benchtests/bench-wmemset.c: New File.
11915         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11917         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11918         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11919         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11920         * sysdeps/s390/multiarch/Makefile
11921         (sysdep_routines): Add memccpy functions.
11922         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11923         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11924         * string/memccpy.c: Use MEMCCPY if defined.
11926         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11927         * sysdeps/s390/multiarch/memchr.c: Likewise.
11928         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11929         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11930         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11931         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11932         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11933         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11934         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11935         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11937         and rawmemchr functions.
11938         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11939         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11940         and wmemchr.
11941         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11942         * string/test-memchr.c: Add wmemchr support.
11943         * wcsmbs/test-wmemchr.c: New File.
11944         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11945         * benchtests/bench-memchr.c: Add wmemchr support.
11946         * benchtests/bench-wmemchr.c: New File.
11947         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11949         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11950         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11951         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11952         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11953         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11954         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11956         wcscspn functions.
11957         * sysdeps/s390/multiarch/ifunc-impl-list.c
11958         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11959         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11960         * string/test-strcspn.c: Add wcscspn support.
11961         * wcsmbs/test-wcscspn.c: New File.
11962         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11963         * benchtests/bench-strcspn.c: Add wcscspn support.
11964         * benchtests/bench-wcscspn.c: New File.
11965         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11967         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11968         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11969         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11970         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11971         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11972         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11973         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11974         wcspbrk functions.
11975         * sysdeps/s390/multiarch/ifunc-impl-list.c
11976         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11977         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11978         * string/test-strpbrk.c: Add wcspbrk support.
11979         * wcsmbs/test-wcspbrk.c: New File.
11980         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11981         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11982         * benchtests/bench-wcspbrk.c: New File.
11983         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11985         * sysdeps/s390/multiarch/strspn-c.c: New File.
11986         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11987         * sysdeps/s390/multiarch/strspn.c: Likewise.
11988         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11989         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11990         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11991         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11993         wcsspn functions.
11994         * sysdeps/s390/multiarch/ifunc-impl-list.c
11995         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11996         * string/test-strspn.c: Add wcsspn support.
11997         * wcsmbs/test-wcsspn.c: New File.
11998         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11999         * benchtests/bench-strspn.c: Add wcsspn support.
12000         * benchtests/bench-wcsspn.c: New File.
12001         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12003         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12004         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12005         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12006         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12007         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12008         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12010         wcsrchr functions.
12011         * sysdeps/s390/multiarch/ifunc-impl-list.c
12012         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12013         * benchtests/bench-wcsrchr.c: New File.
12014         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12016         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12017         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12018         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12019         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12020         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12021         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12022         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12023         wcschrnul functions.
12024         * sysdeps/s390/multiarch/ifunc-impl-list.c
12025         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12026         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12027         * string/test-strchr.c: Add wcschrnul support.
12028         * wcsmbs/test-wcschrnul.c: New File.
12029         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12030         * benchtests/bench-strchr.c: Add wcschrnul support.
12031         * benchtests/bench-wcschrnul.c: New File.
12032         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12034         * sysdeps/s390/multiarch/strchr-c.c: New File.
12035         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12036         * sysdeps/s390/multiarch/strchr.c: Likewise.
12037         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12038         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12039         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12040         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12041         wcschr functions.
12042         * sysdeps/s390/multiarch/ifunc-impl-list.c
12043         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12044         * string/strchr.c (STRCHR): Define and use macro.
12045         * benchtests/bench-wcschr.c: New File.
12046         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12048         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12049         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12050         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12051         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12052         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12053         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12054         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12055         wcsncmp functions.
12056         * sysdeps/s390/multiarch/ifunc-impl-list.c
12057         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12058         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12059         * benchtests/bench-strncmp.c: Add wcsncmp support.
12060         * benchtests/bench-wcsncmp.c: New File.
12061         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12063         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12064         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12065         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12066         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12067         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12068         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12069         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12071         wcscmp functions.
12072         * sysdeps/s390/multiarch/ifunc-impl-list.c
12073         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12074         * string/strcmp.c (STRCMP): Define and use macro.
12075         * benchtests/bench-wcscmp.c: New File.
12076         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12077         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12078         instead of _HAVE_STRING_ARCH_memchr.
12080         * sysdeps/s390/multiarch/strncat-c.c: New File.
12081         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12082         * sysdeps/s390/multiarch/strncat.c: Likewise.
12083         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12084         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12085         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12087         wcsncat functions.
12088         * sysdeps/s390/multiarch/ifunc-impl-list.c
12089         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12090         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12091         * string/test-strncat.c: Add wcsncat support.
12092         * wcsmbs/test-wcsncat.c: New File.
12093         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12094         * benchtests/bench-strncat.c: Add wcsncat support.
12095         * benchtests/bench-wcsncat.c: New File.
12096         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12098         * sysdeps/s390/multiarch/strcat-c.c: New File.
12099         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12100         * sysdeps/s390/multiarch/strcat.c: Likewise.
12101         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12102         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12103         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12105         wcscat functions.
12106         * sysdeps/s390/multiarch/ifunc-impl-list.c
12107         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12108         * string/strcat.c (STRCAT): Define and use macro.
12109         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12110         * string/test-strcat.c: Add wcscat support.
12111         * wcsmbs/test-wcscat.c: New File.
12112         * wcsmbs/Makefile (strop-tests): Add wcscat.
12113         * benchtests/bench-strcat.c: Add wcscat support.
12114         * benchtests/bench-wcscat.c: New File.
12115         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12117         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12118         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12119         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12120         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12121         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12122         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12124         wcpncpy functions.
12125         * sysdeps/s390/multiarch/ifunc-impl-list.c
12126         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12127         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12128         * string/test-stpncpy.c: Add wcpncpy support.
12129         * wcsmbs/test-wcpncpy.c: New File.
12130         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12131         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12132         * benchtests/bench-wcpncpy.c: New File.
12133         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12135         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12136         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12137         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12138         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12139         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12140         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12141         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12143         wcsncpy functions.
12144         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12145         * sysdeps/s390/multiarch/ifunc-impl-list.c
12146         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12147         * string/test-strncpy.c: Add wcsncpy support.
12148         * wcsmbs/test-wcsncpy.c: New File.
12149         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12150         * benchtests/bench-strncpy.c: Add wcsncpy support.
12151         * benchtests/bench-wcsncpy.c: New File.
12152         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12154         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12155         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12156         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12157         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12158         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12159         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12161         wcpcpy functions.
12162         * string/stpcpy.c: Use STPCPY if defined.
12163         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12164         * sysdeps/s390/multiarch/ifunc-impl-list.c
12165         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12166         * string/test-stpcpy.c: Add wcpcpy support.
12167         * wcsmbs/test-wcpcpy.c: New File.
12168         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12169         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12170         * benchtests/bench-wcpcpy.c: New File.
12171         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12173         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12174         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12175         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12176         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12177         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12178         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12179         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12181         wcscpy functions.
12182         * sysdeps/s390/multiarch/ifunc-impl-list.c
12183         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12184         * benchtests/bench-wcscpy.c: New File.
12185         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12187         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12188         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12189         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12190         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12191         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12192         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12194         wcsnlen functions.
12195         * sysdeps/s390/multiarch/ifunc-impl-list.c
12196         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12197         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12198         * string/test-strnlen.c: Add wcsnlen support.
12199         * wcsmbs/test-wcsnlen.c: New File.
12200         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12201         * benchtests/bench-strnlen.c: Add wcsnlen support.
12202         * benchtests/bench-wcsnlen.c: New File.
12203         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12205         * sysdeps/s390/multiarch/Makefile: New File.
12206         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12207         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12208         * sysdeps/s390/multiarch/strlen.c: Likewise.
12209         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12210         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12211         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12212         * string/strlen.c (STRLEN): Define and use macro.
12213         * sysdeps/s390/multiarch/ifunc-impl-list.c
12214         (IFUNC_VX_IMPL): New macro function.
12215         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12216         * benchtests/Makefile (wcsmbs-bench): New variable.
12217         (string-bench-all): Added wcsmbs-bench.
12218         * benchtests/bench-wcslen.c: New File.
12220         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12221         s390_vx_libc_ifunc2): New macro function.
12223         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12224         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12225         assembler support.
12226         * sysdeps/s390/configure: Regenerated.
12228         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12229         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12231         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12232         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12233         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12235         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12236         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12237         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12238         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12239         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12240         (memcmp, bcmp): Use __memcmp_default as alias source.
12241         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12242         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12243         Rename to __memcmp_default.
12244         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12245         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12246         (memcpy): Use __memcpy_default as alias source.
12247         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12248         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12249         Rename to __memcpy_default.
12250         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12251         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12252         (memset): Use __memset_default as alias source.
12253         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12254         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12255         Rename to __memset_default.
12256         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12257         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12258         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12259         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12260         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12261         (memcmp, bcmp): Use __memcmp_default as alias source.
12262         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12263         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12264         Rename to __memcmp_default.
12265         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12266         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12267         (memcpy): Use __memcpy_default as alias source.
12268         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12269         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12270         Rename to __memcpy_default.
12271         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12272         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12273         (memset): Use __memset_default as alias source.
12274         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12275         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12276         Rename to __memset_default.
12277         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12278         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12280         [BZ #18610]
12281         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12282         __ieee_instruction_pointer to __unused.
12283         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12284         __ieee_instruction_pointer.
12285         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12286         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12287         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12288         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12289         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12290         Mark dxc-field as reserved.
12292 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12294         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12295         if the weak reference is not null.
12297 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12299         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12301         [BZ #11214]
12302         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12304 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12306         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12307         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12308         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12309         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12310         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12311         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12312         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12313         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12314         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12315         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12316         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12317         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12318         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12319         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12320         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12321         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12322         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12323         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12325 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12327         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12328         register other than r0 for tabort, it has special meaning.
12329         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12330         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12331         transaction before starting syscall.
12333 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12335         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12337 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12339         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12341         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12342         * sysdeps/x86_64/rtld-memset.S: Likewise.
12343         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12344         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12345         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12346         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12348         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12350 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12352         * debug/strcpy_chk.c: Improve performance.
12353         * debug/stpcpy_chk.c: Likewise.
12354         * sysdeps/x86_64/strcpy_chk.S: Remove.
12355         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12357         [BZ #18240]
12358         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12360 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12362         [BZ #15128]
12363         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12364         ifuncmain8.
12365         (modules-names): Add ifuncmod8.
12366         ($(objpfx)ifuncmain8): New rule.
12367         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12368         <cpuid.h>.
12369         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12370         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12371         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12372         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12373         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12374         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12375         * sysdeps/x86_64/ifuncmain8.c: New file.
12376         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12377         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12378         Removed.
12379         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12380         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12381         Change rtld_savespace_sse to __glibc_unused2.
12382         (RTLD_CHECK_FOREIGN_CALL): Removed.
12383         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12384         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12385         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12387 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12389         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12391 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12393         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12394         Unconditionally set __fpcr to avoid uninialized warning.
12395         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12397 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12399         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12400         is corrupt.
12402         * malloc/arena.c (arena_get2): Drop unused argument.
12403         (arena_lock): Adjust.
12404         (arena_get_retry): Likewise.
12406 2015-08-24  Andreas Schwab  <schwab@suse.de>
12408         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12409         Don't define.
12410         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12411         (__ASSUME_IPC64): Don't undef.
12412         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12413         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12414         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12415         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12416         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12417         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12418         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12419         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12420         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12421         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12422         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12423         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12424         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12425         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12426         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12427         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12428         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12429         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12430         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12431         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12432         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12434 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12436         * manual/Makefile (install): Only build manual when perl is available.
12438 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12441         '#undef memcpy' by '#undef memchr'.
12443 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12445         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12446         memchr not point to the internal __GI_memchr implementation.
12448 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12450         * timezone/Makefile (CFLAGS-zdump.c): Remove
12451         -Wno-strict-prototypes.
12452         (CFLAGS-zic.c): Likewise.
12453         (CFLAGS-ialloc.c): Likewise.
12454         (CFLAGS-scheck.c): Likewise.
12456         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12457         -Wno-error=undef.
12459 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12461         * i386/i686/multiarch/strcasestr-c.c: Removed.
12462         * x86_64/multiarch/strcasestr.c: Likewise.
12463         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12464         Remove strcasestr.
12466 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12468         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12470         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12471         variables for high and low parts before possibly modifying them.
12473 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12475         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12476         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12477         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12478         of "multiarch/init-arch.h".
12479         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12480         * sysdeps/x86/init-arch.h: This.
12482 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12484         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12485         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12487 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12489         [BZ #17787]
12490         * manual/macros.texi: Add twoexp macro.
12491         * manual/filesys.texi: Fix exponents.
12492         * manual/llio.texi: Likewise.
12493         * manual/stdio.texi: Likewise.
12495 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12497         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12498         incorrect use.
12500 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12502         [BZ #18370]
12503         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12504         whose real or imaginary part has small absolute value.
12505         * math/s_csqrtf.c (__csqrtf): Likewise.
12506         * math/s_csqrtl.c (__csqrtl): Likewise.
12507         * math/auto-libm-test-in: Add more tests of csqrt.
12508         * math/auto-libm-test-out: Regenerated.
12509         * sysdeps/i386/fpu/libm-test-ulps: Update.
12511 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12513         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12514         __ppc_set_ppr_very_low): New functions.
12515         * manual/platform.texi: Add documentation about
12516         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12518 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12520         * string/stpncpy.c (stpncpy): Improve performance using
12521         __strnlen/memcpy/memset.
12523 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12525         [BZ #18796]
12526         * scripts/test-installation.pl: Don't add -lmvec to build options if
12527         libmvec wasn't built.
12529 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12531         [BZ #14341]
12532         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12533         case when there is a gap between DT_REL and DT_JMPREL sections.
12534         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12535         (LDFLAGS-tst-split-dynreloc): New.
12536         (tst-split-dynreloc-ENV): Likewise.
12537         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12538         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12540 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12542         [BZ #18822]
12543         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12544         attribute_hidden.
12545         (__xstat64_conv): Likewise.
12546         (__xstat32_conv): Likewise.
12548 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12550         [BZ #18822]
12551         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12552         Don't load %ebx when calling __setcontext.  Call __setcontext
12553         with HIDDEN_JUMPTARGET.
12554         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12555         libc_hidden_def.
12557 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12559         * sysdeps/i386/i686/Makefile
12560         [$(subdir) == string] (sysdep_routines): Moved to ...
12561         * sysdeps/i386/Makefile: Here.
12562         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12563         * sysdeps/i386/cacheinfo.c: Here.
12564         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12565         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12566         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12567         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12569 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12571         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12572         __i586__ is defined.
12573         (HAS_I686): Defined to 1 if __i686__ is defined.
12575 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12577         * elf/Makefile [$(have-z-execstack) = yes]
12578         (CPPFLAGS-tst-execstack.c): New variable.
12580         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12581         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12582         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12583         UTMPX || _HAVE_UT_TV].
12584         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12585         UTMPX || _HAVE_UT_TV - 0].
12587 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12589         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12590         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12591         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12593 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12595         * sysdeps/powerpc/dl-procinfo.c:
12596         (_dl_powerpc_cap_flags): Added missing strings for some
12597         hwcap features.
12598         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12600 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12602         Port the 0x7efe...feff pattern to GCC 6.
12603         See Steve Ellcey's bug report in:
12604         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12605         * string/memrchr.c (MEMRCHR):
12606         * string/rawmemchr.c (RAWMEMCHR):
12607         * string/strchr.c (strchr):
12608         * string/strchrnul.c (STRCHRNUL):
12609         Rewrite code to avoid issues with signed shift overflow.
12611 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12613         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12614         whether cpuid is available only if HAS_CPUID is 0.
12615         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12616         (HAS_I586): Likewise.
12617         (HAS_I686): Likewise.
12619 2015-08-18  Zack Weinberg  <zackw@panix.com>
12621         * misc/Versions (libc): Add GLIBC_2.23.
12623 2015-08-18  Alan Modra  <amodra@gmail.com>
12625         [BZ #18421]
12626         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12627         .Lp__global.
12628         (_start): Load %dp via .Lp__global.
12629         [!SHARED]: Use .section .rodata.
12631 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12633         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12634         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12636 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12638         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12639         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12641 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12643         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12644         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12646 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12648         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12649         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12653         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12654         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12658         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12659         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12663         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12665 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12667         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12668         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12669         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12670         (__ASSUME_LWS_CAS): Delete.
12672 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12674         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12675         * sysdeps/hppa/configure: Regenerated.
12676         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12677         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12678         * sysdeps/hppa/nptl/tls.h: Likewise.
12680 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12682         [BZ #18823]
12683         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12684         for scaling up small arguments.
12685         * math/s_csqrtf.c (__csqrtf): Likewise.
12686         * math/s_csqrtl.c (__csqrtl): Likewise.
12687         * math/auto-libm-test-in: Add more tests of csqrt.
12688         * math/auto-libm-test-out: Regenerated.
12690 2015-08-17  Andreas Schwab  <schwab@suse.de>
12692         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12693         version set GLIBC_2.19.
12695 2015-08-16  Zack Weinberg  <zackw@panix.com>
12697         [BZ #18681]
12698         * misc/regexp.h: This interface is no longer supported.
12699         Remove all contents, leaving only an #error directive.
12700         * misc/regexp.c (loc1, loc2, locs, step, advance):
12701         Demote to compatibility symbols.
12703 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12705         [BZ #18084]
12706         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12707         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12708         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12709         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12710         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12711         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12712         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12713         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12714         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12716 2015-08-15  Zack Weinberg  <zackw@panix.com>
12718         [BZ #18795]
12719         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12720         buffer length is known to be too large, not if it's known to be
12721         small enough.
12722         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12723         overflow at runtime, involving a length parameter, twice: once
12724         with a compile-time constant length parameter, once without.
12726 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12728         [BZ #18824]
12729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12730         scaling x * y up instead of down.
12731         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12732         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12733         * math/auto-libm-test-in: Add more tests of fma.
12734         * math/auto-libm-test-out: Regenerated.
12736 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12740 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12742         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12743         unnecessary movq.
12744         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12745         Likewise.
12747 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12749         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12750         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12751         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12752         and tgamma.
12753         * math/auto-libm-test-out: Regenerated.
12754         * sysdeps/i386/fpu/libm-test-ulps: Update.
12755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757         [BZ #16520]
12758         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12759         (__tanh): Force underflow exception for arguments with small
12760         absolute value.
12761         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12762         (__tanhf): Force underflow exception for arguments with small
12763         absolute value.
12764         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12765         (__tanhl): Force underflow exception for arguments with small
12766         absolute value.
12767         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12768         (__tanhl): Force underflow exception for arguments with small
12769         absolute value.
12770         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12771         (__tanhl): Force underflow exception for arguments with small
12772         absolute value.
12773         * math/auto-libm-test-in: Add more tests of tanh.
12774         * math/auto-libm-test-out: Regenerated.
12775         * sysdeps/i386/fpu/libm-test-ulps: Update.
12777 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12779         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12780         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12782 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12784         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12785         <cpuid.h>.
12787 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12789         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12790         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12792 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12794         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12795         Remove $(objpfx)init-arch.o.
12796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12797         init-arch.
12798         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12799         (INIT_ARCH_EXT): Defined as empty.
12800         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12802         __init_cpu_features call.  Replace HAS_XXX with
12803         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12809         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12810         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12811         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12817         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12820         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12821         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12823         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12825         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12826         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12827         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12828         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12829         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12830         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12831         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12832         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12833         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12835         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12840 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12842         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12843         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12844         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12845         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12846         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12847         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12848         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12849         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12850         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12851         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12852         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12853         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12854         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12855         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12856         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12857         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12858         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12859         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12860         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12861         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12862         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12863         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12864         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12865         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12866         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12867         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12868         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12869         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12870         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12871         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12872         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12873         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12874         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12876         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12877         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12878         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12879         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12880         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12881         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12882         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12883         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12884         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12886 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12888         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12889         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12890         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12891         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12892         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12893         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12894         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12895         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12896         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12897         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12898         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12899         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12900         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12901         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12902         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12903         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12904         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12905         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12906         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12907         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12909         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12910         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12911         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12913         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12914         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12915         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12916         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12917         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12918         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12919         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12920         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12921         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12922         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12923         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12924         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12925         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12926         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12927         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12928         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12929         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12930         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12932 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12934         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12935         (dl_platform_init): Call init_cpu_features.
12936         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12937         * sysdeps/i386/i686/cacheinfo.c
12938         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12939         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12940         * sysdeps/i386/i686/multiarch/Versions: Removed.
12941         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12942         Removed.
12943         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12944         * sysdeps/unix/sysv/linux/x86/Makefile
12945         (libpthread-sysdep_routines): Remove init-arch.
12946         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12947         <sysdeps/x86_64/dl-procinfo.c> instead of
12948         sysdeps/generic/dl-procinfo.c>.
12949         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12950         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12951         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12952         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12953         [$(subdir) == elf] (tests-static): Add
12954         tst-get-cpu-features-static.
12955         * sysdeps/x86/Versions: New file.
12956         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12957         * sysdeps/x86/cpu-features.c: Likewise.
12958         * sysdeps/x86/cpu-features.h: Likewise.
12959         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12960         * sysdeps/x86/libc-start.c: Likewise.
12961         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12962         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12963         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12964         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12965         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12966         Assume USE_MULTIARCH is defined and don't check it.
12967         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12968         (is_amd): Likewise.
12969         (max_cpuid): Likewise.
12970         (intel_check_word): Likewise.
12971         (__cache_sysconf): Don't call __init_cpu_features.
12972         (__x86_preferred_memory_instruction): Removed.
12973         (init_cacheinfo): Don't call __init_cpu_features. Replace
12974         __cpu_features with GLRO(dl_x86_cpu_features).
12975         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12976         (dl_platform_init): Call init_cpu_features.
12977         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12978         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12979         * sysdeps/x86_64/multiarch/Versions: Removed.
12980         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12981         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12982         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12983         Removed.
12984         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12986 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12988         [BZ #18820]
12989         * libio/Makefile (test-fmemopen-mem): New test.
12990         * libio/test-fmemopen.c (do_bz18820): New test.
12991         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12992         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12994 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12996         [BZ #16734]
12997         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12998         (FREE_BUF): Delete.
12999         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13000         * libio/genops.c (_IO_setb): Use malloc and free directly.
13001         (_IO_default_doallocate, _IO_default_finish): Likewise.
13002         ( _IO_unbuffer_all): Likewise.
13003         ( libc_freeres_fn): Likewise.
13004         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13005         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13006         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13007         (_IO_wdefault_doallocate): Likewise.
13009 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13011         [BZ #18086]
13012         * sysdeps/posix/nice.c (nice): Restore old errno.
13013         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13015 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13019 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13021         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13022         __bcopy and add a weak_alias to bcopy.
13023         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13024         for static build.
13026         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13027         cleanup macro usage.
13028         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13033         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13034         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13035         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13036         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13037         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13039         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13041         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13046         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13048         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13049         libc_hidden_def.
13050         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13052         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13053         (sysdep_routines): Add strstr-ppc64.
13054         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13056 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13058         [BZ #18778]
13059         * elf/Makefile (tests): Add Add tst-nodelete2.
13060         (modules-names): Add tst-nodelete2mod.
13061         (tst-nodelete2mod.so-no-z-defs): New.
13062         ($(objpfx)tst-nodelete2): Likewise.
13063         ($(objpfx)tst-nodelete2.out): Likewise.
13064         (LDFLAGS-tst-nodelete2): Likewise.
13065         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13066         out of loop through all loaded libraries.
13067         * elf/tst-nodelete2.c: New file.
13068         * elf/tst-nodelete2mod.c: Likewise.
13069         * elf/tst-znodelete-zlib.cc: Delete.
13071 2015-08-11  Andreas Schwab  <schwab@suse.de>
13073         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13074         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13075         (__openat64_nocancel): Likewise.
13077 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13079         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13080         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13081         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13082         * math/auto-libm-test-out: Regenerated.
13083         * sysdeps/i386/fpu/libm-test-ulps: Update.
13084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13088         [BZ #18790]
13089         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13090         threshold for returning +/- 1.
13091         * math/auto-libm-test-in: Add more tests of tanh.
13092         * math/auto-libm-test-out: Regenerated.
13093         * sysdeps/i386/fpu/libm-test-ulps: Update.
13095 2015-08-10  Andreas Schwab  <schwab@suse.de>
13097         [BZ #18781]
13098         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13099         MORE_OFLAGS to oflag.
13100         * io/test-lfs.c (do_test): Test openat64.
13102 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13104         [BZ #18789]
13105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13106         smaller threshold for returning the argument.
13107         * math/auto-libm-test-in: Add more tests of sinh.
13108         * math/auto-libm-test-out: Regenerated.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13113         [BZ #18674]
13114         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13115         break.
13117 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13119         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13120         (generated): Don't add $(addprefix z.,$(tzfiles)).
13122 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13124         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13125         * scripts/sysd-rules.awk: Likewise.
13127 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13129         * iconvdata/tst-tables.sh: Change echo -n to printf.
13130         * nss/db-Makefile: Likewise.
13131         * posix/tst-getconf.sh: Likewise.
13132         * stdio-common/tst-unbputc.sh: Likewise.
13134 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13136         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13137         MADV_*_PAGES defines behind this feature check.
13139 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13141         [BZ #18480]
13142         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13143         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13144         Define.
13145         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13146         LOAD_REGS_5, LOAD_REGS_6): Update.
13147         (INTERNAL_SYSCALL): Update using new LOAD defines.
13148         (INTERNAL_SYSCALL_NCS): Likewise.
13149         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13151 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13153         [BZ #16734]
13154         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13156 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13158         [BZ #17905]
13159         * catgets/Makefile (tst-catgets-mem): New test.
13160         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13161         * catgets/open_catalog.c (__open_catalog): Likewise.
13162         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13164 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13166         [BZ #18787]
13167         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13168         clobber registers.
13169         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13170         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13171         Cast return to __typeof (oldval).
13173 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13175         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13176         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13177         and delete sys/syscall.h include.
13179 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #16517]
13182         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13183         (tan): Force underflow exception for arguments with small absolute
13184         value.
13185         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13186         (__kernel_tanf): Force underflow exception for arguments with
13187         small absolute value.
13188         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13189         (__kernel_tanl): Force underflow exception for arguments with
13190         small absolute value.
13191         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13192         (__kernel_tanl): Force underflow exception for arguments with
13193         small absolute value.
13194         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13195         (__kernel_tanl): Force underflow exception for arguments with
13196         small absolute value.
13197         * math/auto-libm-test-in: Add more tests of tan.
13198         * math/auto-libm-test-out: Regenerated.
13200 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13202         Fix sysdeps/i386/fpu/s_scalbn.S build
13204         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13206 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13208         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13210 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13212         Fix gcrt0.o compilation
13214         When static-start-installed-name is different from
13215         start-installed-name, we must not use the shared objects.
13217         * csu/Makefile
13218         (extra-objs): Add gmon-start.o when building shared library and
13219         $(static-start-installed-name) is different from
13220         $(start-installed-name).
13221         $(objpfx)g$(static-start-installed-name): When building shared
13222         library and $(static-start-installed-name) is different from
13223         $(static-start-installed-name), revert to non-shared rule,
13224         i.e. using $(objpfx)% and gmon-start.o.
13226 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #16519]
13229         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13230         (__ieee754_sinh): Force underflow exception for arguments with
13231         small absolute value.
13232         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13233         (__ieee754_sinhf): Force underflow exception for arguments with
13234         small absolute value.
13235         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13236         (__ieee754_sinhl): Force underflow exception for arguments with
13237         small absolute value.
13238         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13239         (__ieee754_sinhl): Force underflow exception for arguments with
13240         small absolute value.
13241         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13242         (__ieee754_sinhl): Force underflow exception for arguments with
13243         small absolute value.
13244         * math/auto-libm-test-in: Add more tests of sinh.
13245         * math/auto-libm-test-out: Regenerated.
13246         * sysdeps/i386/fpu/libm-test-ulps: Update.
13248 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13250         * libio/oldfileops.c: Include unistd.h.
13252 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13254         * stdlib/isomac.c: Include ctype.h.
13256 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13258         * dirent/tst-seekdir.c (main): Converted to ...
13259         (do_test): ... this.
13260         (TEST_FUNCTION): New macro.
13261         Include test-skeleton.c.
13262         * elf/tst-dlmodcount.c (main): Converted to ...
13263         (do_test): ... this.
13264         (TEST_FUNCTION): New macro.
13265         Include test-skeleton.c.
13266         * elf/tst-order-main.c (main): Converted to ...
13267         (do_test): ... this.
13268         (TEST_FUNCTION): New macro.
13269         Include test-skeleton.c.
13270         * elf/tst-pie2.c (main): Converted to ...
13271         (do_test): ... this.
13272         (TEST_FUNCTION): New macro.
13273         Include test-skeleton.c.
13274         * inet/tst-ether_aton.c (main): Converted to ...
13275         (do_test): ... this.
13276         (TEST_FUNCTION): New macro.
13277         Include test-skeleton.c.
13278         * misc/tst-mntent.c (main): Converted to ...
13279         (do_test): ... this.
13280         (TEST_FUNCTION): New macro.
13281         Include test-skeleton.c.
13282         * misc/tst-tsearch.c (main): Converted to ...
13283         (do_test): ... this.
13284         (TEST_FUNCTION): New macro.
13285         Include test-skeleton.c.
13286         * posix/tst-regexloc.c (main): Converted to ...
13287         (do_test): ... this.
13288         (TEST_FUNCTION): New macro.
13289         Include test-skeleton.c.
13290         * resolv/tst-aton.c (main): Converted to ...
13291         (do_test): ... this.
13292         (TEST_FUNCTION): New macro.
13293         Include test-skeleton.c.
13294         * stdio-common/test-fwrite.c (main): Converted to ...
13295         (do_test): ... this.
13296         (TEST_FUNCTION): New macro.
13297         Include test-skeleton.c.
13298         * stdio-common/tst-ferror.c (main): Converted to ...
13299         (do_test): ... this.
13300         (TEST_FUNCTION): New macro.
13301         Include test-skeleton.c.
13302         * stdio-common/tst-printf.c (main): Converted to ...
13303         (do_test): ... this.
13304         (TEST_FUNCTION): New macro.
13305         Include test-skeleton.c.
13306         * stdio-common/tst-printfsz.c (main): Converted to ...
13307         (do_test): ... this.
13308         (TEST_FUNCTION): New macro.
13309         Include test-skeleton.c.
13310         * stdlib/tst-strtod.c (main): Converted to ...
13311         (do_test): ... this.
13312         (TEST_FUNCTION): New macro.
13313         Include test-skeleton.c.
13314         * string/tst-strlen.c (main): Converted to ...
13315         (do_test): ... this.
13316         (TEST_FUNCTION): New macro.
13317         Include test-skeleton.c.
13318         * string/tst-svc.c (main): Converted to ...
13319         (do_test): ... this.
13320         (TEST_FUNCTION): New macro.
13321         Include test-skeleton.c.
13322         * time/tst-strptime.c (main): Converted to ...
13323         (do_test): ... this.
13324         (TEST_FUNCTION): New macro.
13325         Include test-skeleton.c.
13326         * timezone/tst-timezone.c (main): Converted to ...
13327         (do_test): ... this.
13328         (TEST_FUNCTION): New macro.
13329         Include test-skeleton.c.
13331 2015-08-05  Zack Weinberg  <zackw@panix.com>
13333         * misc/regexp.h: Update comments.
13335 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13337         [BZ #18635]
13338         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13339         before return label.
13341 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13343         [BZ #18661]
13344         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13345         when calling __errno_location.
13346         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13347         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13349 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13351         [BZ #18661]
13352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13353         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13354         __gettimeofday.
13356 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13358         [BZ #18661]
13359         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13360         (__start_context): Don't use pop to restore %rdi so that stack
13361         is aligned to 16 bytes when calling __setcontext.
13363 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13365         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13366         only for libc.
13367         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13369 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13371         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13372         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13373         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13375 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13377         * string/memccpy.c (memccpy):
13378         Improve performance by using memchr/memcpy/__mempcpy.
13380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13382         * string/strncpy.c (strncpy):
13383         Improve performance by using __strnlen/memcpy.
13385 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13387         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13388         Optimize to avoid an unnecessary FPCR read.
13390 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13392         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13393         Optimize to reduce FPCR/FPSR accesses.
13395 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13397         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13398         dead->data[category] != NULL.
13400 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #18647]
13403         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13404         and |x| close to 1, use absolute value of x when computing log.
13405         * math/auto-libm-test-in: Add more tests of pow.
13406         * math/auto-libm-test-out: Regenerated.
13408 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13410         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13411         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13412         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13414 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13416         [BZ #18525]
13417         * locales/km_KH: Remove timezone definition.
13418         * locales/lo_LA: Likewise.
13419         * locales/my_MM: Likewise.
13420         * locales/nan_TW@latin: Likewise.
13421         * locales/th_TH: Likewise.
13422         * locales/uk_UA: Likewise.
13424 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13426         [BZ #18265]
13427         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13428         (wcsncat): Likewise.
13429         (wcscmp): Likewise.
13430         (wcsncmp): Likewise.
13432 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13434         * test-skeleton.c (usage): New function.
13435         (main): Call usage when opt is '?'.
13437 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13439         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13440         before first use.
13442 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13444         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13445         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13446         in there too.
13448 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13450         * version.h (RELEASE): Set to "development".
13451         (VERSION): Set to "2.22.90"
13453         * version.h (RELEASE): Set to "stable".
13454         (VERSION): Set to "2.22"
13455         * include/features.h (__GLIBC_MINOR__): Set to 22.
13457 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13459         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13460         Restructure macro to avoid "value computed is not used" warning.
13461         (atomic_compare_and_exchange_val_acq): Likewise.
13463 2015-08-04  Andreas Schwab  <schwab@suse.de>
13465         [BZ #18635]
13466         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13467         ret.
13468         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13470 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13472         * po/pl.po: Updated translation.
13473         * po/uk.po: Likewise.
13474         * po/fi.po: Likewise.
13475         * po/ko.po: Likewise.
13476         * po/ru.po: Likewise.
13477         * po/vi.po: Likewise.
13479 2015-07-31  Zack Weinberg  <zackw@panix.com>
13481         [BZ #18681]
13482         * regexp.h: Add unconditional #warning stating that this header
13483         will be removed soon.  Revise banner comment to match.
13484         (compile): Consistently use ERROR instead of RETURN to report
13485         errors (partial fix for bz#18681).
13486         * regexp.c: Don't include regexp.h. Remove some unnecessary
13487         declarations.
13489 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13491         * po/libc.pot: Regenerated.
13493 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13495         [BZ #18740]
13496         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13497         float-vlen4-arch-ext-cflags): Removed.
13498         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13499         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13501 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13503         [BZ #14113]
13504         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13505         aligned to __aligned__.
13506         (pthread_cond_t, pthread_rwlock_t): Likewise.
13508 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13510         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13512 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13514         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13515         (struct sigaction): Change sa_flags from a long to an int, and add
13516         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13518 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13520         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13521         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13522         sysdeps/generic/sysdep.h include.
13523         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13524         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13525         sysdeps/hppa/sysdep.h.
13526         (ENTRY, PSEUDO): Undefine before defining.
13528 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13530         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13531         from scratch to use INTERNAL_SYSCALL.
13533 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13535         [BZ #18078]
13536         * scripts/check-localplt.awk: Support alternate relocations.
13537         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13538         sections.
13539         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13540         malloc entries with + REL R_386_GLOB_DAT.
13541         * sysdeps/x86_64/localplt.data: New file.
13543 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13545         [BZ #18731]
13546         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13548         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13550 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13552         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13554 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13556         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13557         directly in terms of __sync_fetch_and_add and delete (int) cast.
13559 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13561         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13562         the -D_ASM_IA64_CURRENT_H flag.
13564 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13566         [BZ #18641]
13567         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13569 2015-07-27  Andreas Schwab  <schwab@suse.de>
13571         * conform/conformtest.pl (checknamespace): Filter out string
13572         literals while tokenizing.
13574 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13576         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13577         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13578         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13580 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13582         * nptl/tst-join7mod.c: Add #include <string.h>.
13584 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13586         * sysdeps/nios2/libm-test-ulps: Update.
13588 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13590         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13591         Fix order of arguments to the rt_sigprocmask syscall.
13592         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13593         Likewise.
13595 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13597         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13599 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13601         [BZ #18457]
13602         * nptl/Makefile (tests): New test case tst-join7.
13603         (modules-names): New test case module tst-join7mod.
13604         * nptl/tst-join7.c: New file.
13605         * nptl/tst-join7mod.c: New file.
13606         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13607         all translation units in libc.so, libpthread.so and rtld.
13609 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13613 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13616         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13617         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13618         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13620         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13621         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13626         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13627         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13628         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13630         implementation.
13632 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13634         [BZ #17711]
13635         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13636         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13637         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13638         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13639         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13640         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13642 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13644         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13645         instead of just saying load lock in the comments.
13647 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13649         * sysdeps/unix/Subdirs: Moved ...
13650         * sysdeps/posix/Subdirs: ... here.
13651         * login/pty.h (struct termios, struct winsize): Add forward decls.
13652         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13653         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13654         * sysdeps/arm/nacl/libc.abilist: Updated.
13655         * sysdeps/nacl/libutil.abilist: New file.
13657         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13658         (SIGWINCH): New macro.
13660         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13661         * sysdeps/arm/nacl/libc.abilist: Add it.
13663 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13665         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13667 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13669         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13670         Swap __glibc_reserved0 and sa_flags order.
13672 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13674         [BZ #18657]
13675         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13676         are pending TLS destructor calls.
13677         * include/link.h (struct link_map): Add concurrency note for
13678         L_TLS_DTOR_COUNT.
13679         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13680         Don't touch the link map flag.  Atomically increment
13681         l_tls_dtor_count.
13682         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13683         Avoid taking the load lock and don't touch the link map flag.
13684         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13685         * stdlib/Makefile (tests): Use it.
13686         * stdlib/tst-tls-atexit.c (do_test): dlopen
13687         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13688         to allow tst-tls-atexit-nodelete test case to use it.
13690 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13692         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13693         to bits/types.h.
13694         (msgqnum_t): New typedef.
13695         (msglen_t): Likewise.
13696         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13697         and msg_qbytes type to msglen_t.
13699 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13701         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13702         pad0 to __glibc_reserved0.
13703         (struct stat64): Likewise.
13705 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13707         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13708         Change sa_flags from a long to an int and add __glibc_reserved0 before
13709         it for padding.
13711 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13713         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13714         anonymous by deleting "siginfo" name.
13716 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13718         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13719         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13720         rather than __nacl_irt_filename.
13721         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13723         * NEWS: New item for arm-nacl port.
13724         * sysdeps/arm/nacl/libc.abilist: New file.
13725         * sysdeps/nacl/ld.abilist: New file.
13726         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13727         * sysdeps/nacl/libanl.abilist: New file.
13728         * sysdeps/nacl/libcrypt.abilist: New file.
13729         * sysdeps/nacl/libdl.abilist: New file.
13730         * sysdeps/nacl/libm.abilist: New file.
13731         * sysdeps/nacl/libpthread.abilist: New file.
13732         * sysdeps/nacl/libresolv.abilist: New file.
13733         * sysdeps/nacl/librt.abilist: New file.
13735 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13737         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13738         __startcontext to initialize the new context.
13739         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13740         up CFI directive to forbid further backtracing.
13742 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13744         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13745         reference.
13746         * charmaps/ANSI_X3.4-1968: Likewise.
13747         * charmaps/BS_4730: Likewise.
13748         * charmaps/BS_VIEWDATA: Likewise.
13749         * charmaps/CP1250: Likewise.
13750         * charmaps/CP1251: Likewise.
13751         * charmaps/CP1252: Likewise.
13752         * charmaps/CP1253: Likewise.
13753         * charmaps/CP1254: Likewise.
13754         * charmaps/CP1255: Likewise.
13755         * charmaps/CP1256: Likewise.
13756         * charmaps/CSN_369103: Likewise.
13757         * charmaps/EBCDIC-DK-NO: Likewise.
13758         * charmaps/GB_1988-80: Likewise.
13759         * charmaps/GREEK-CCITT: Likewise.
13760         * charmaps/GREEK7: Likewise.
13761         * charmaps/INIS-8: Likewise.
13762         * charmaps/ISIRI-3342: Likewise.
13763         * charmaps/ISO_2033-1983: Likewise.
13764         * charmaps/ISO_5427-EXT: Likewise.
13765         * locales/POSIX: Likewise.
13766         * locales/ar_SA: Likewise.
13767         * locales/be_BY: Likewise.
13768         * locales/be_BY@latin: Likewise.
13769         * locales/ca_ES: Likewise.
13770         * locales/cs_CZ: Likewise.
13771         * locales/da_DK: Likewise.
13772         * locales/de_BE: Likewise.
13773         * locales/de_CH: Likewise.
13774         * locales/de_LU: Likewise.
13775         * locales/en_AU: Likewise.
13776         * locales/en_BW: Likewise.
13777         * locales/en_CA: Likewise.
13778         * locales/en_DK: Likewise.
13779         * locales/en_GB: Likewise.
13780         * locales/en_IE: Likewise.
13781         * locales/en_NZ: Likewise.
13782         * locales/en_ZA: Likewise.
13783         * locales/en_ZW: Likewise.
13784         * locales/es_AR: Likewise.
13785         * locales/es_BO: Likewise.
13786         * locales/es_CL: Likewise.
13787         * locales/es_CO: Likewise.
13788         * locales/es_DO: Likewise.
13789         * locales/es_EC: Likewise.
13790         * locales/es_ES: Likewise.
13791         * locales/es_HN: Likewise.
13792         * locales/es_MX: Likewise.
13793         * locales/es_PA: Likewise.
13794         * locales/es_PE: Likewise.
13795         * locales/es_PY: Likewise.
13796         * locales/es_SV: Likewise.
13797         * locales/es_US: Likewise.
13798         * locales/es_UY: Likewise.
13799         * locales/es_VE: Likewise.
13800         * locales/et_EE: Likewise.
13801         * locales/fa_IR: Likewise.
13802         * locales/fo_FO: Likewise.
13803         * locales/fr_CA: Likewise.
13804         * locales/fr_CH: Likewise.
13805         * locales/gv_GB: Likewise.
13806         * locales/he_IL: Likewise.
13807         * locales/hr_HR: Likewise.
13808         * locales/id_ID: Likewise.
13809         * locales/is_IS: Likewise.
13810         * locales/it_CH: Likewise.
13811         * locales/iw_IL: Likewise.
13812         * locales/kl_GL: Likewise.
13813         * locales/ko_KR: Likewise.
13814         * locales/kw_GB: Likewise.
13815         * locales/lg_UG: Likewise.
13816         * locales/lt_LT: Likewise.
13817         * locales/lv_LV: Likewise.
13818         * locales/mi_NZ: Likewise.
13819         * locales/nhn_MX: Likewise.
13820         * locales/nl_BE: Likewise.
13821         * locales/pl_PL: Likewise.
13822         * locales/sk_SK: Likewise.
13823         * locales/sl_SI: Likewise.
13824         * locales/sv_FI: Likewise.
13825         * locales/tl_PH: Likewise.
13826         * locales/tr_TR: Likewise.
13827         * locales/vi_VN: Likewise.
13829 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13831         [BZ #17475]
13832         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13833         of tu_IN and bh_IN.
13835 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13837         [BZ #18694]
13838         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13839         bits/wordsize.h.
13840         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13842 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13844         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13845         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13846         (spawn_thread): New function.
13847         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13848         (do_test): ... here.  Use IS_LOADED to test for its
13849         availability.
13851 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13853         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13855 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13857         [BZ #18696]
13858         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13859         si_addr_bnd.
13860         (si_lower): New.
13861         (si_upper): Likewise.
13863 2015-07-16  David S. Miller  <davem@davemloft.net>
13865         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13867 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13869         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13870         buffer.
13871         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13872         fail output information.
13874 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13877         and strstr-ppc64..
13878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13879         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13880         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13881         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13882         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13884 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13886         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13887         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13888         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13889         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13891 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13893         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13894         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13895         rtld_hidden_proto.
13896         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13898 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13900         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13901         the test can fail.
13903         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13905         [BZ #18676]
13906         * elf/tst-nodelete-opened.c: New test case.
13907         * elf/tst-nodelete-opened-lib.c: New test case module.
13908         * elf/Makefile (tests, modules-names): Use them.
13909         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13910         early.
13912 2015-07-15  David S. Miller  <davem@davemloft.net>
13914         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13915         futex-intenal.h
13916         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13917         * sysdeps/sparc/sparc64/Makefile: Likewise.
13918         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13919         Remove space from macro define.
13920         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13922 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13924         [BZ #17475]
13925         * locale/iso-639.def: Update Bhili and Tulu language codes as
13926         per iso639-3.
13928 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13930         * elf/tst-leaks1.c (main): Converted to ...
13931         (do_test): ... this.
13932         (TEST_FUNCTION): New macro.
13933         Include test-skeleton.c.
13934         * localedata/tst-langinfo.c (main): Converted to ...
13935         (do_test): ... this.
13936         (TEST_FUNCTION): New macro.
13937         Include test-skeleton.c.
13938         * math/test-fpucw.c (main): Converted to ...
13939         (do_test): ... this.
13940         (TEST_FUNCTION): New macro.
13941         Include test-skeleton.c.
13942         * math/test-tgmath.c (main): Converted to ...
13943         (do_test): ... this.
13944         (TEST_FUNCTION): New macro.
13945         Include test-skeleton.c.
13946         * math/test-tgmath2.c (main): Converted to ...
13947         (do_test): ... this.
13948         (TEST_FUNCTION): New macro.
13949         Include test-skeleton.c.
13950         * setjmp/tst-setjmp.c (main): Converted to ...
13951         (do_test): ... this.
13952         (TEST_FUNCTION): New macro.
13953         Include test-skeleton.c.
13954         * stdio-common/tst-sscanf.c (main): Converted to ...
13955         (do_test): ... this.
13956         (TEST_FUNCTION): New macro.
13957         Include test-skeleton.c.
13958         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13959         (do_test): ... this.
13960         (TEST_FUNCTION): New macro.
13961         Include test-skeleton.c.
13963         * elf/tst-audit9.c (main): Converted to ...
13964         (do_test): ... this.
13965         (TEST_FUNCTION): New macro.
13966         Include test-skeleton.c.
13968 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13970         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13972 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13974         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13975         New variable.
13977 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13979         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13981 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13983         * sysdeps/generic/dl-fileid.h: New file.
13984         * sysdeps/posix/dl-fileid.h: New file.
13985         * sysdeps/nacl/dl-fileid.h: New file.
13986         * include/link.h: Include <dl-fileid.h>.
13987         (struct link_map): Replace l_dev and l_ino with l_file_id.
13988         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13989         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13990         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13992 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13994         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13996 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13998         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13999         Add iff $CXX is set.
14000         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14001         Likewise.
14002         (tst-nodelete-zmodiff): Likewise.
14003         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14005 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14007         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14009 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14011         * sysdeps/aarch64/fpu/math_private.h
14012         (define math_opt_barrier): Add AArch64 version.
14013         (math_force_eval): Likewise.
14015 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14017         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14019 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14021         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14022         %ld with %jd and cast to intmax_t.
14023         (do_test_length_zero): Likewise.
14025 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14027         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14029 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14031         * sysdeps/tile/libm-test-ulps: Regenerated.
14033         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14034         Comment out the whole function, not just its body.
14036 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14039         locks.
14041         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14043 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14045         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14046         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14048 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14050         * sysdeps/nptl/futex-internal.h: New file.
14051         * sysdeps/nacl/futex-internal.h: New file.
14052         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14053         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14054         error checking.
14055         (setxid_unmark_thread): Likewise.
14056         (__nptl_setxid): Likewise.
14057         (__wait_lookup_done): Likewise.
14058         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14059         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14060         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14061         * nptl/pthread_once.c (clear_once_control): Likewise.
14062         (__pthread_once_slow): Likewise.
14063         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14064         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14065         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14066         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14067         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14068         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14069         Likewise.
14070         (__pthread_rwlock_rdlock): Likewise.
14071         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14072         Likewise.
14073         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14074         Likewise.
14075         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14076         Likewise.
14077         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14078         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14079         Likewise.
14080         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14081         __ASSUME_PRIVATE_FUTEX check.
14082         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14083         Check that shared futexes are supported.
14084         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14085         wrappers with error checking.
14086         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14087         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14088         * nptl/pthread_barrierattr_setpshared.c
14089         (pthread_barrierattr_setpshared): Check that shared futexes are
14090         supported.
14091         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14092         Likewise.
14093         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14094         Likewise.
14095         * nptl/sem_init.c (futex_private_if_supported): Remove.
14096         (__new_sem_init): Adapt and check that shared futexes are supported.
14097         * nptl/sem_open.c (sem_open): Likewise.
14098         * nptl/sem_post.c (futex_wake): Remove.
14099         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14100         (do_futex_wait): Use futex wrappers with error checking.
14101         * nptl/sem_wait.c: Include lowlevellock.h.
14102         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14103         Use futex_supports_pshared.
14104         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14105         Use futex wrappers with error checking.
14106         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14107         Likewise.
14108         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14109         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14110         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14111         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14112         (futex_wake): Likewise.
14113         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14114         (do_futex_wait): Use futex wrappers with error checking.
14115         (__new_sem_wait_slow): Update EINTR handling.
14116         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14118 2015-07-09  Martin Sebor  <msebor@redhat.com>
14120         [BZ #18435]
14121         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14122         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14123         * nptl/Makefile (test-xfail-tst-once5): Define.
14125 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14127         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14128         * elf/dl-minimal.c: For readability, reorder some definitions and
14129         introduce more page breaks.  Include <stdio.h>.
14130         (__libc_fatal): New function.
14132         * include/unistd.h: Add rtld_hidden_proto for _exit.
14133         * posix/_exit.c: Add rtld_hidden_def.
14134         * sysdeps/mach/hurd/_exit.c: Likewise.
14135         * sysdeps/nacl/_exit.c: Likewise.
14136         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14137         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14139 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14142         bndmov encoding with zero displacement.
14144 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14145             H.J. Lu  <hongjiu.lu@intel.com>
14147         [BZ #18134]
14148         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14149         * sysdeps/i386/configure: Regenerated.
14150         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14151         (_dl_runtime_profile): Save and restore Intel MPX return bound
14152         registers when calling _dl_call_pltexit.  Add
14153         PRESERVE_BND_REGS_PREFIX before return.
14154         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14155         (LRV_BND1_OFFSET): Likewise.
14156         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14157         lrv_bnd1.
14158         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14159         typo in bndmov encoding.
14160         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14161         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14162         branch instructions to preserve bounds.
14164 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14167         [GLIBC_2.22]: Add fmemopen.
14169 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14171         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14172         returns an error, also try to use host port from __mach_host_self for
14173         the __vm_wire call.
14174         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14176 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14178         [BZ #18400]
14179         [BZ #18648]
14180         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14181         Fix pr_uid and pr_gid members.
14182         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14183         definition to elf_greg_t.
14185 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14187         [BZ #18383]
14188         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14189         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14190         * sysdeps/arm/configure: Regenerated.
14191         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14192         (test-xfail-tst-tlsalign-static): Variable removed.
14194         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14195         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14196         rather than explicit 'ln -s'.
14198         * resolv/rpc/netdb.h: New file.
14199         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14201 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14203         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14204         length buffers.
14205         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14206         test-skeleton.c.
14208         [BZ #6544]
14209         [BZ #11216]
14210         [BZ #12836]
14211         [BZ #13151]
14212         [BZ #13152]
14213         [BZ #14292]
14214         * include/stdio.h (fmemopen): Remove hidden prototype.
14215         (__fmemopen): Add new hidden prototype.
14216         * libio/Makefile: Add oldfmemopen object.
14217         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14218         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14219         compliance.
14220         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14221         symbol compatibility.
14222         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14223         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14224         fmemopen.
14225         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14226         on append and read mode.
14227         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14228         fmemopen.
14229         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14230         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14231         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14232         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14233         Likewise.
14234         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14235         [GLIBC_2.22]: Likewise.
14236         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14237         Likewise.
14238         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14239         Likewise.
14240         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14241         [GLIBC_2.22]: Likewise.
14242         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14243         [GLIBC_2.22]: Likewise.
14244         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14245         [GLIBC_2.22]: Likewise.
14246         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14247         [GLIBC_2.22]: Likewise.
14248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14249         [GLIBC_2.22]: Likewise.
14250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14251         [GLIBC_2.22]: Likewise.
14252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14253         [GLIBC_2.22]: Likewise.
14254         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14255         Likewise.
14256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14257         Likewise.
14258         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14259         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14260         [GLIBC_2.22]: Likewise.
14261         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14262         [GLIBC_2.22]: Likewise.
14263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14264         [GLIBC_2.22]: Likewise.
14265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14266         [GLIBC_2.22]: Likewise.
14267         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14268         Likewise.
14269         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14270         Likewise.
14271         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14272         Likewise.
14273         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14274         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14276 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14278         [BZ #18643]
14279         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14280         IPV6_PATHMTU, and IPV6_DONTFRAG.
14282 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14284         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14285         and _IO_UNBUFFERED.
14286         * libio/oldfileops.c: Likewise.
14287         * libio/wfileops.c: Likewise.
14289 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14291         * nscd/selinux.c: Delete selinux/flask.h include.
14293 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14295         [BZ #18641]
14296         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14297         (putpwent): Likewise.
14298         (getpwnam): Likewise.
14299         (getpwent_r): Likewise.
14300         (getpwuid_r): Likewise.
14301         (getpwnam_r): Likewise.
14302         (fgetpwent_r): Likewise.
14304 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14306         [BZ #18557]
14307         * inet/rcmd.c (__validuser2_sa): Check user first to
14308         short-circuit host check.
14310 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14311             Mikhail Ilin  <m.ilin@samsung.com>
14313         [BZ #17833]
14314         * elf/Makefile (tests): Add tst-nodelete.
14315         (modules-names): Add tst-nodelete-uniquemod.
14316         (tst-nodelete-uniquemod.so-no-z-defs): New.
14317         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14318         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14319         ($(objpfx)tst-nodelete): Likewise.
14320         ($(objpfx)tst-nodelete.out): Likewise.
14321         (LDFLAGS-tst-nodelete): Likewise.
14322         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14323         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14324         implement forced object deletion.
14325         (_dl_close): Pass false to _dl_close_worker.
14326         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14327         * elf/tst-nodelete.cc: New file.
14328         * elf/tst-nodeletelib.cc: Likewise.
14329         * elf/tst-znodeletelib.cc: Likewise.
14330         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14332 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14334         [BZ #18508]
14335         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14336         Depend on $(libdl).
14337         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14338         is not called infinitely times.
14339         (backtrace_helper): New function.
14340         (trace_arg): New struct.
14341         (st1): Enlarge stack size.
14342         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14343         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14344         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14345         Likewise.
14347 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14349         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14351 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14353         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14354         Include sys/types.h instead of bits/types.h.
14355         Remove inclusion of bits/wordsize.h.
14357 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14359         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14360         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14361         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14362         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14363         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14364         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14366 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14368         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14369         link-defines.sym.
14370         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14371         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14372         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14373         and LR_SIZE.
14374         * sysdeps/i386/link-defines.sym: New file.
14376 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14378         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14379         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14380         ($(objpfx)tst-audit3): New rule.
14381         ($(objpfx)tst-audit3.out): Likewise.
14382         * sysdeps/i386/tst-audit3.c: New file.
14383         * sysdeps/i386/tst-audit3.h: Likewise.
14384         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14385         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14387 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14389         [BZ #18633]
14390         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14391         pointer in C code.
14392         (__strcat_c): Likewise.
14393         (__strcat_g): Likewise.
14395 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14397         [BZ #18592]
14398         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14400 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14402         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14403         New function.  (__ieee754_sqrtf): New function.
14404         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14405         New function.
14406         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14407         New function.
14409 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14411         * sysdeps/ieee754/support.c: Remove unused file.
14413 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14415         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14416         registers instead of d ones so the layout is kernel abi compatible.
14417         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14418         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14419         Likewise.
14421 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14423         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14425 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14427         [BZ #18619]
14428         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14429         and return argument in case of subnormal argument.
14431 2015-07-01  Martin Sebor  <msebor@redhat.com>
14433         [BZ #18435]
14434         * nptl/Makefile: Add tst-once5.cc.
14435         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14436         Remove macro redefinitions.
14437         * nptl/tst-once5.cc: New test.
14439 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14441         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14443         * sysdeps/arm/libm-test-ulps: Regenerated.
14445         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14446         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14448 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14450         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14451         lll_lock_wait_private and lll_futex_wake probes.
14453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14455         Likewise.
14456         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14457         atomic_spin_nop.
14458         * sysdeps/x86_64/bits/atomic.h: Likewise.
14459         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14460         to atomic_spin_nop and move ...
14461         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14462         ... here and ...
14463         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14464         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14465         atomic_spin_nop instead of BUSY_WAIT_NOP.
14466         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14467         Likewise.
14468         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14469         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14470         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14471         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14472         instead of atomic_delay.
14474 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #18613]
14477         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14478         X_ADJ not X when adjusting exponent.
14479         (__ieee754_gamma_r): Do intermediate computations in
14480         round-to-nearest then adjust overflowing and underflowing results
14481         as needed.
14482         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14483         of X_ADJ not X when adjusting exponent.
14484         (__ieee754_gammaf_r): Do intermediate computations in
14485         round-to-nearest then adjust overflowing and underflowing results
14486         as needed.
14487         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14488         log of X_ADJ not X when adjusting exponent.
14489         (__ieee754_gammal_r): Do intermediate computations in
14490         round-to-nearest then adjust overflowing and underflowing results
14491         as needed.  Use 1.0L not 1.0f as numerator of division.
14492         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14493         log of X_ADJ not X when adjusting exponent.
14494         (__ieee754_gammal_r): Do intermediate computations in
14495         round-to-nearest then adjust overflowing and underflowing results
14496         as needed.  Use 1.0L not 1.0f as numerator of division.
14497         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14498         of X_ADJ not X when adjusting exponent.
14499         (__ieee754_gammal_r): Do intermediate computations in
14500         round-to-nearest then adjust overflowing and underflowing results
14501         as needed.  Use 1.0L not 1.0f as numerator of division.
14502         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14503         to auto-libm-test-in.
14504         (tgamma_test): Use ALL_RM_TEST.
14505         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14506         tests of tgamma with spurious-overflow.
14507         * math/auto-libm-test-out: Regenerated.
14508         * math/gen-libm-have-vector-test.sh: Do not check for START.
14509         * sysdeps/i386/fpu/libm-test-ulps: Update.
14510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512         [BZ #18612]
14513         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14514         arguments, just return 0.5 times the argument, with underflow
14515         forced as needed.
14516         * math/auto-libm-test-in: Add more tests of j1.
14517         * math/auto-libm-test-out: Regenerated.
14519         [BZ #16559]
14520         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14521         (__ieee754_j1): Force underflow exception for small results.
14522         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14523         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14524         (__ieee754_j1f): Force underflow exception for small results.
14525         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14526         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14528         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14529         (__ieee754_j1l): Force underflow exception for small results.
14530         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14531         * math/auto-libm-test-in: Add more tests of j1 and jn.
14532         * math/auto-libm-test-out: Regenerated.
14534         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14535         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14536         (PF_MPLS): Likewise.
14537         (AF_IB): Likewise.
14538         (AF_MPLS): Likewise.
14539         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14540         value and macro.
14541         (MS_RMT_MASK): Include MS_LAZYTIME.
14543 2015-06-26  Mel Gorman  <mgorman@suse.de>
14545         [BZ #18502]
14546         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14547         already minimal.
14549 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14551         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14552         (DT_MIPS_NUM): Update.
14553         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14554         DT_MIPS_RLD_MAP_REL.
14556 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14558         [BZ #16559]
14559         [BZ #18602]
14560         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14561         round-to-nearest internally then recompute results that
14562         underflowed to zero in the original rounding mode.
14563         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14564         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14565         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14566         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14567         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14568         * sysdeps/i386/fpu/libm-test-ulps: Update.
14569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14573         * NEWS: Fixed description of link with vector math library.
14575 2015-06-25  Andreas Schwab  <schwab@suse.de>
14577         [BZ #18549]
14578         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14579         * libio/test-fmemopen.c (do_test): Add test for it.
14581 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14583         [BZ #17841]
14584         * Makeconfig (no-pie-ldflag): New.
14585         (+link): Set to $(+link-pie) if default to PIE.
14586         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14587         * config.make.in (build-pie-default): New.
14588         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14589         is default.  AC_SUBST.
14590         * configure: Regenerated.
14591         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14593 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14595         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14596         to 'unsigned int'.
14598         * resolv/gai_misc.h (struct waitlist): Change type of field
14599         counterp to 'volatile unsigned int *'.
14600         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14601         FUTEXADDR and OLDVAL.
14602         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14603         Give local variable TOTAL type 'volatile unsigned int'.
14604         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14605         * resolv/gai_suspend.c (gai_suspend):
14606         Give local variable CNTR type 'unsigned int'.
14608         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14609         counterp to 'volatile unsigned int *'.
14610         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14611         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14612         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14613         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14614         Give local variable TOTAL type 'volatile unsigned int'.
14615         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14617 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14619         [BZ #18383]
14620         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14621         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14622         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14623         comment for i386/x86-64.
14624         (test-xfail-tst-tlsalign-extern-static): Removed.
14626 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14628         * math/test-double.h: New file.
14629         * math/test-float.h: Likewise.
14630         * math/test-ldouble.h: Likewise.
14631         * math/test-math-inline.h: Likewise.
14632         * math/test-math-no-inline.h: Likewise.
14633         * math/test-math-scalar.h: Likewise.
14634         * math/test-math-vector.h: Likewise.
14635         * math/test-vec-loop.h: Remove file.  Contents moved into
14636         test-math-vector.h.
14637         * math/libm-test.inc (MATHCONST): Do not document macro.
14638         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14639         and test-math-scalar.h.
14640         (FUNC): Remove macro.
14641         (FUNC_TEST): Likewise.
14642         (FLOAT): Likewise.
14643         (MATHCONST): Likewise.
14644         (PRINTF_EXPR): Likewise.
14645         (PRINTF_XEXPR): Likewise.
14646         (PRINTF_NEXPR): Likewise.
14647         (TEST_DOUBLE): Likewise.
14648         (TEST_MATHVEC): Likewise.
14649         (__NO_MATH_INLINES): Likewise.
14650         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14651         and test-math-scalar.h.
14652         (FUNC): Remove macro.
14653         (FUNC_TEST): Likewise.
14654         (FLOAT): Likewise.
14655         (MATHCONST): Likewise.
14656         (PRINTF_EXPR): Likewise.
14657         (PRINTF_XEXPR): Likewise.
14658         (PRINTF_NEXPR): Likewise.
14659         (TEST_FLOAT): Likewise.
14660         (TEST_MATHVEC): Likewise.
14661         (__NO_MATH_INLINES): Likewise.
14662         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14663         and test-math-scalar.h.
14664         (FUNC): Remove macro.
14665         (FUNC_TEST): Likewise.
14666         (FLOAT): Likewise.
14667         (MATHCONST): Likewise.
14668         (PRINTF_EXPR): Likewise.
14669         (PRINTF_XEXPR): Likewise.
14670         (PRINTF_NEXPR): Likewise.
14671         (TEST_DOUBLE): Likewise.
14672         (TEST_MATHVEC): Likewise.
14673         (TEST_INLINE): Likewise.
14674         (__NO_MATH_INLINES): Likewise.
14675         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14676         test-math-scalar.h.
14677         (FUNC): Remove macro.
14678         (FUNC_TEST): Likewise.
14679         (FLOAT): Likewise.
14680         (MATHCONST): Likewise.
14681         (PRINTF_EXPR): Likewise.
14682         (PRINTF_XEXPR): Likewise.
14683         (PRINTF_NEXPR): Likewise.
14684         (TEST_FLOAT): Likewise.
14685         (TEST_MATHVEC): Likewise.
14686         (TEST_INLINE): Likewise.
14687         (__NO_MATH_INLINES): Likewise.
14688         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14689         and test-math-scalar.h.
14690         (FUNC): Remove macro.
14691         (FUNC_TEST): Likewise.
14692         (FLOAT): Likewise.
14693         (MATHCONST): Likewise.
14694         (PRINTF_EXPR): Likewise.
14695         (PRINTF_XEXPR): Likewise.
14696         (PRINTF_NEXPR): Likewise.
14697         (TEST_LDOUBLE): Likewise.
14698         (TEST_MATHVEC): Likewise.
14699         (TEST_INLINE): Likewise.
14700         (__NO_MATH_INLINES): Likewise.
14701         * math/test-ldouble.c: Include test-ldouble.h,
14702         test-math-no-inline.h and test-math-scalar.h.
14703         (FUNC): Remove macro.
14704         (FUNC_TEST): Likewise.
14705         (FLOAT): Likewise.
14706         (MATHCONST): Likewise.
14707         (PRINTF_EXPR): Likewise.
14708         (PRINTF_XEXPR): Likewise.
14709         (PRINTF_NEXPR): Likewise.
14710         (TEST_LDOUBLE): Likewise.
14711         (TEST_MATHVEC): Likewise.
14712         (__NO_MATH_INLINES): Likewise.
14713         * math/test-double-vlen2.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-double-vlen4.h: Include test-double.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_DOUBLE): 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-double-vlen8.h: Include test-double.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_DOUBLE): 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-vlen4.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         * math/test-float-vlen8.h: Include test-float.h,
14798         test-math-no-inline.h and test-math-vector.h.
14799         (FLOAT): Remove macro.
14800         (FUNC): Likewise.
14801         (MATHCONST): Likewise.
14802         (PRINTF_EXPR): Likewise.
14803         (PRINTF_XEXPR): Likewise.
14804         (PRINTF_NEXPR): Likewise.
14805         (TEST_FLOAT): Likewise.
14806         (TEST_MATHVEC): Likewise.
14807         (__NO_MATH_INLINES): Likewise.
14808         (CNCT): Likewise.
14809         (CONCAT): Likewise.
14810         (WRAPPER_NAME): Likewise.
14811         (WRAPPER_DECL): Likewise.
14812         (WRAPPER_DECL_ff): Likewise.
14813         (WRAPPER_DECL_fFF): Likewise.
14814         (VECTOR_WRAPPER): Likewise.
14815         (VECTOR_WRAPPER_ff): Likewise.
14816         (VECTOR_WRAPPER_fFF): Likewise.
14817         (VEC_LEN): New macro.
14818         * math/test-float-vlen16.h: Include test-float.h,
14819         test-math-no-inline.h and test-math-vector.h.
14820         (FLOAT): Remove macro.
14821         (FUNC): Likewise.
14822         (MATHCONST): Likewise.
14823         (PRINTF_EXPR): Likewise.
14824         (PRINTF_XEXPR): Likewise.
14825         (PRINTF_NEXPR): Likewise.
14826         (TEST_FLOAT): Likewise.
14827         (TEST_MATHVEC): Likewise.
14828         (__NO_MATH_INLINES): Likewise.
14829         (CNCT): Likewise.
14830         (CONCAT): Likewise.
14831         (WRAPPER_NAME): Likewise.
14832         (WRAPPER_DECL): Likewise.
14833         (WRAPPER_DECL_ff): Likewise.
14834         (WRAPPER_DECL_fFF): Likewise.
14835         (VECTOR_WRAPPER): Likewise.
14836         (VECTOR_WRAPPER_ff): Likewise.
14837         (VECTOR_WRAPPER_fFF): Likewise.
14838         (VEC_LEN): New macro.
14839         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14840         test-vec-loop.h.
14841         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14842         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14843         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14844         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14845         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14846         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14847         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14849 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14851         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14852         (__getlogin_r): ... this.
14854 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14856         [BZ #18594]
14857         * math/s_ccosh.c (__ccosh): Compare with least normal value
14858         instead of comparing class with FP_SUBNORMAL.
14859         * math/s_ccoshf.c (__ccoshf): Likewise.
14860         * math/s_ccoshl.c (__ccoshl): Likewise.
14861         * math/s_cexp.c (__cexp): Likewise.
14862         * math/s_cexpf.c (__cexpf): Likewise.
14863         * math/s_cexpl.c (__cexpl): Likewise.
14864         * math/s_csin.c (__csin): Likewise.
14865         * math/s_csinf.c (__csinf): Likewise.
14866         * math/s_csinh.c (__csinh): Likewise.
14867         * math/s_csinhf.c (__csinhf): Likewise.
14868         * math/s_csinhl.c (__csinhl): Likewise.
14869         * math/s_csinl.c (__csinl): Likewise.
14870         * math/s_ctan.c (__ctan): Likewise.
14871         * math/s_ctanf.c (__ctanf): Likewise.
14872         * math/s_ctanh.c (__ctanh): Likewise.
14873         * math/s_ctanhf.c (__ctanhf): Likewise.
14874         * math/s_ctanhl.c (__ctanhl): Likewise.
14875         * math/s_ctanl.c (__ctanl): Likewise.
14876         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14877         csin, csinh, ctan and ctanh.
14878         * math/auto-libm-test-out: Regenerated.
14879         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14880         * sysdeps/i386/fpu/libm-test-ulps: Update.
14881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14883 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14885         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14886         return value is wrong, print the expected value too.
14888 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14890         [BZ #18585]
14891         * elf/readlib.c (is_gdb_python_file): New.
14892         (process_file): Don't issue errors on filenames with -gdb.py
14893         suffix.
14895 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14897         * math/auto-libm-test-in: Add more tests of csin and csinh.
14898         * math/auto-libm-test-out: Regenerated.
14899         * math/libm-test.inc (csin_test_data): Remove tests moved to
14900         auto-libm-test-in.
14901         (csinh_test_data): Likewise.
14903         [BZ #18593]
14904         * math/s_csin.c (__csin): Negate before rather than after possibly
14905         overflowing multiplication.
14906         * math/s_csinf.c (__csinf): Likewise.
14907         * math/s_csinh.c (__csinh): Likewise.
14908         * math/s_csinhf.c (__csinhf): Likewise.
14909         * math/s_csinhl.c (__csinhl): Likewise.
14910         * math/s_csinl.c (__csinl): Likewise.
14911         * math/auto-libm-test-in: Add some tests of csin and csinh.
14912         * math/auto-libm-test-out: Regenerated.
14913         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14914         (csinh_test_data): Likewise.
14915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14917         [BZ #18586]
14918         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14919         underflow exception for small results.
14921 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14923         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14925         variable and included header.
14926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14928         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14930         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14931         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14934         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14935         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14936         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14937         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14938         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14939         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14940         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14941         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14943 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14945         [BZ #16526]
14946         [BZ #16538]
14947         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14948         (__sin): Force underflow exception for arguments with small
14949         absolute value.
14950         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14951         (__kernel_sinf): Force underflow exception for arguments with
14952         small absolute value.
14953         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14954         (__kernel_sincosl): Force underflow exception for arguments with
14955         small absolute value.
14956         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14957         (__kernel_sinl): Force underflow exception for arguments with
14958         small absolute value.
14959         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14960         (__kernel_sincosl): Force underflow exception for arguments with
14961         small absolute value.
14962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14963         (__kernel_sinl): Force underflow exception for arguments with
14964         small absolute value.
14965         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14966         (__kernel_sinl): Force underflow exception for arguments with
14967         small absolute value.
14968         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14969         (__kernel_sinf): Force underflow exception for arguments with
14970         small absolute value.
14971         * math/auto-libm-test-in: Add more tests of sin and sincos.
14972         * math/auto-libm-test-out: Regenerated.
14974         [BZ #18245]
14975         [BZ #18583]
14976         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14977         (__kernel_standard_l): Use feholdexcept and fesetenv around
14978         conversion to double instead of special-casing overflow and
14979         underflow.
14980         * math/libm-test.inc (fmod_test_data): Add more tests.
14981         (remainder_test_data): Likewise.
14982         (sqrt_test_data): Likewise.
14984 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14986         [BZ #17403]
14987         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14988         atomic_read_barrier, atomic_write_barrier): Define.
14989         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14990         atomic_read_barrier, atomic_write_barrier): Define.
14992 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14994         * math/Makefile [$(PERL) != no]
14995         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14996         dependency on libm-test.stmp below the inclusion of Rules.
14998 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15000         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15002         and included header.
15003         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15004         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15005         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15006         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15007         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15010         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15011         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15012         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15013         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15014         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15015         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15016         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15017         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15018         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15019         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15020         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15021         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15023 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15025         [BZ #18371]
15026         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15027         intermediate but not final result might underflow.
15028         * math/s_csqrtf.c (__csqrtf): Likewise.
15029         * math/s_csqrtl.c (__csqrtl): Likewise.
15030         * math/auto-libm-test-in: Add more tests of csqrt.
15031         * math/auto-libm-test-out: Regenerated.
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15034         [BZ #18219]
15035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15036         threshold on absolute value of exponent for which scaling is used.
15037         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15038         * math/auto-libm-test-in: Add more tests of exp2.
15039         * math/auto-libm-test-out: Regenerated.
15041 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15043         [BZ #17977]
15044         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15045         when initializing interface list, based on the bug analysis
15046         and the patch proposed by Eric Newton.
15047         * resolv/tst-res_hconf_reorder.c: New test.
15048         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15049         tst-res_hconf_reorder.
15050         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15051         and $(shared-thread-library).
15052         (tst-res_hconf_reorder-ENV): New variable.
15054         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15055         in comment.
15057 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15059         [BZ #16353]
15060         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15061         (__expm1): Force underflow exception for arguments with small
15062         absolute value.
15063         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15064         (__expm1f): Force underflow exception for arguments with small
15065         absolute value.
15066         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15067         (__expm1): Force underflow exception for arguments with small
15068         absolute value.
15069         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15070         (__expm1f): Force underflow exception for arguments with small
15071         absolute value.
15072         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15073         Check for small arguments before calling __expm1.
15074         * math/auto-libm-test-in: Do not mark underflow exceptions as
15075         possibly missing for bug 16353.
15076         * math/auto-libm-test-out: Regenerated.
15078 2015-06-22  Andreas Schwab  <schwab@suse.de>
15080         [BZ #18513]
15081         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15082         PTR queries.
15084 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15086         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15088         * string/strcoll_l.c: Remove unused struct element idxnow.
15090 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15092         [BZ #18569]
15093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15094         underflow and return argument in case of subnormal argument.
15095         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15096         Likewise.
15097         * math/auto-libm-test-in: Add more tests of expm1.
15098         * math/auto-libm-test-out: Regenerated.
15100         [BZ #16361]
15101         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15102         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15103         tiny results.
15104         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15105         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15106         tiny results.
15107         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15108         mark underflow exceptions as possibly missing for bug 16361.
15109         * math/auto-libm-test-out: Regenerated.
15111 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15113         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15114         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15115         Remove variable.
15116         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15117         (test-xfail-XOPEN2K8/utmpx.h/conform).
15119         * conform/conformtest.pl ($xerrors): New variable.
15120         (note_error): New function.
15121         (compiletest): New argument $xfail.  Use not_error.
15122         (runtest): Likewise.
15123         (top level): Handle xfail- lines.  Update calls to compiletest and
15124         runtest.  Handle xfail- and optional- in headers listed with
15125         allow-header.
15126         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15127         (O_EXEC): Likewise.
15128         (O_SEARCH): Likewise.
15129         * conform/data/stropts.h-data (ioctl): Likewise.
15130         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15131         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15132         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15133         (msghdr.msg_controllen): Likewise.
15134         (cmsghdr.cmsg_len): Likewise.
15135         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15136         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15137         variable.
15138         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15139         (test-xfail-XPG4/stropts.h/conform): Likewise.
15140         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15141         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15142         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15143         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15144         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15145         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15146         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15147         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15148         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15149         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15150         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15151         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15152         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15153         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15154         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15155         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15156         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15157         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15158         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15160 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15162         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15163         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15164         definitions for proper unfolding of __MATHDECL_VEC.
15166 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15168         * benchtests/bench-strcoll.c:
15169         Include string.h.
15170         (main): Remove unused variable res.
15172 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15174         * timezone/Makefile (%/UTC %/Universal):
15175         Generate test-result files for UTC and Universal.
15177 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15179         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15181 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15183         [BZ #16350]
15184         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15185         for arguments with small absolute value.
15186         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15187         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15188         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15189         (__asinh): Force underflow exception for arguments with small
15190         absolute value.
15191         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15192         (__asinhf): Force underflow exception for arguments with small
15193         absolute value.
15194         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15195         (__asinhl): Force underflow exception for arguments with small
15196         absolute value.
15197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15198         (__asinhl): Force underflow exception for arguments with small
15199         absolute value.
15200         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15201         (__asinhl): Force underflow exception for arguments with small
15202         absolute value.
15203         * math/auto-libm-test-in: Do not mark underflow exceptions as
15204         possibly missing for bug 16350.
15205         * math/auto-libm-test-out: Regenerated.
15207         * include/bits/ipc.h: Remove file.
15208         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15209         variable.
15210         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15211         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15212         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15213         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15214         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15215         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15216         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15217         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15218         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15220         * math/auto-libm-test-in: Remove spurious underflow allowance for
15221         tests of cexp.
15222         * math/auto-libm-test-out: Regenerated.
15224         [BZ #18558]
15225         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15226         unconditional definition.
15227         (MCAST_BLOCK_SOURCE): Likewise.
15228         (MCAST_UNBLOCK_SOURCE): Likewise.
15229         (MCAST_LEAVE_GROUP): Likewise.
15230         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15231         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15232         (MCAST_MSFILTER): Likewise.
15233         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15234         Remove variable.
15235         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15236         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15237         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15238         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15239         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15241 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15243         * NEWS: Mention addition of x86_64 vector sincosf.
15244         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15245         * math/test-float-vlen4.h: Likewise.
15246         * math/test-float-vlen8.h: Likewise.
15247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15248         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15249         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15250         * sysdeps/x86_64/fpu/Versions: New versions added.
15251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15252         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15253         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15260         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15261         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15262         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15263         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15264         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15265         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15266         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15267         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15268         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15269         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15270         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15271         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15273         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15274         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15276         * NEWS: Mention addition of x86_64 vector sincos.
15277         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15278         * math/math.h (__MATHDECL_VEC): New macro.
15279         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15280         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15281         declaration under condition.
15282         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15283         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15284         TEST_VEC_LOOP change.
15285         * math/test-double-vlen4.h: Likewise.
15286         * math/test-double-vlen8.h: Likewise.
15287         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15288         * math/test-float-vlen4.h: Likewise.
15289         * math/test-float-vlen8.h: Likewise.
15290         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15291         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15293         * sysdeps/x86_64/fpu/Versions: New versions added.
15294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15296         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15303         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15304         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15305         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15306         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15307         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15308         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15309         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15310         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15311         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15312         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15313         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15314         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15315         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15316         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15317         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15319         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15320         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15321         redirections for powf.
15322         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15323         * sysdeps/x86_64/fpu/Versions: New versions added.
15324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15325         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15326         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15327         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15330         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15332         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15333         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15334         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15335         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15336         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15337         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15338         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15339         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15340         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15341         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15342         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15343         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15344         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15346         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15347         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15348         * math/test-float-vlen16.h: Fixed 2 argument macro.
15349         * math/test-float-vlen4.h: Likewise.
15350         * math/test-float-vlen8.h: Likewise.
15351         * NEWS: Mention addition of x86_64 vector powf.
15353 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15355         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15356         and redefine.
15357         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15358         and redefine.
15359         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15360         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15363         [BZ #18553]
15364         * resource/getpriority.c (getpriority): Rename to __getpriority
15365         and define as weak alias of __getpriority.
15366         * resource/setpriority.c (setpriority): Rename to __setpriority
15367         and define as weak alias of __setpriority.
15368         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15369         __getpriority and define as weak alias of __getpriority.
15370         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15371         __setpriority and define as weak alias of __setpriority.
15372         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15373         strong name.
15374         (setpriority): Use __setpriority as strong name.
15375         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15376         __getpriority and define as weak alias of __getpriority.
15377         * include/sys/resource.h (__getpriority): Declare.  Use
15378         libc_hidden_proto.
15379         (__setpriority): Likewise.
15380         (getpriority): Don't use libc_hidden_proto.
15381         (setpriority): Likewise.
15382         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15383         getpriority.  Call __setpriority instead of setpriority.
15384         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15385         Remove variable.
15387         [BZ #18547]
15388         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15389         as weak alias of __getttynam.  Use prototype function definition.
15390         Call __setttyent, __getttyent and __endttyent instead of
15391         setttyent, getttyent and endttyent.
15392         (getttyent): Rename to __getttyent and define as weak alias of
15393         __getttyent.  Call __setttyent instead of setttyent.  Call
15394         __fgets_unlocked instead of fgets_unlocked.
15395         (setttyent): Rename to __setttyent and define as weak alias of
15396         __setttyent.
15397         (endttyent): Rename to __endttyent and define as weak alias of
15398         __endttyent.
15399         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15400         (__setttyent): Likewise.
15401         (__endttyent): Likewise.
15402         (getttyent): Don't use libc_hidden_proto.
15403         (setttyent): Likewise.
15404         (endttyent): Likewise.
15405         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15406         __endttyent instead of setttyent, getttyent and endttyent.
15407         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15408         Remove variable.
15410         [BZ #18546]
15411         * socket/recv.c (__recv): Use libc_hidden_def.
15412         * socket/socket.c (__socket): Likewise.
15413         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15414         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15415         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15416         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15417         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15418         libc_hidden_def.
15419         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15420         libc_hidden_weak.
15421         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15422         Use libc_hidden_proto.
15423         (__recv): Likewise.
15424         * socket/Versions (libc): Export __recv and __socket at version
15425         GLIBC_PRIVATE.
15426         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15427         instead of recv.
15428         (init_mq_netlink): Call __socket instead of socket.
15429         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15430         Remove variable.
15432         [BZ #18545]
15433         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15434         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15435         hidden_weak.
15436         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15437         define as alias of __mq_timedsend.  Use hidden_weak.
15438         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15439         __mq_timedsend as strong name.
15440         (mq_timedreceive): Use __mq_timedreceive as strong name.
15441         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15442         (__mq_timedreceive): Likewise.
15443         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15444         __mq_timedreceive instead of mq_timedreceive.
15445         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15446         instead of mq_timedsend.
15447         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15448         Remove variable.
15450         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15451         hidden_def and hidden_weak instead of libc_hidden_def and
15452         libc_hidden_weak.
15453         (top level): Refer to hidden_def in comment.
15454         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15455         macro.  Use it instead of libc_hidden_def.
15456         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15457         specify __GI_* name explicitly.
15458         (mq_timedreceive): Likewise.
15459         (mq_setattr): Likewise.
15461         [BZ #18544]
15462         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15463         __pthread_barrier_init and define as weak alias of
15464         __pthread_barrier_init.
15465         * sysdeps/sparc/nptl/pthread_barrier_init.c
15466         (pthread_barrier_init): Likewise.
15467         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15468         __pthread_barrier_wait and define as weak alias of
15469         __pthread_barrier_wait.
15470         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15471         (pthread_barrier_wait): Likewise.
15472         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15473         (pthread_barrier_wait): Likewise.
15474         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15475         (pthread_barrier_wait): Likewise.
15476         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15477         (pthread_barrier_wait): Likewise.
15478         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15479         __pthread_barrier_wait at version GLIBC_PRIVATE.
15480         * include/pthread.h (__pthread_barrier_init): Declare.
15481         (__pthread_barrier_wait): Likewise.
15482         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15483         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15484         (helper_thread): Likewise.
15485         (init_mq_netlink): Call __pthread_barrier_init instead of
15486         pthread_barrier_init.
15488         [BZ #18542]
15489         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15490         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15491         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15492         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15493         vswscanf.
15494         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15495         Remove variable.
15497         [BZ #18540]
15498         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15499         strong alias of _IO_fflush.  Use libc_hidden_def.
15500         * libio/iofflush_u.c (fflush_unlocked): Rename to
15501         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15502         Use libc_hidden_weak.
15503         * include/stdio.h (__fflush_unlocked): Declare.  Use
15504         libc_hidden_proto.
15505         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15506         fflush_unlocked.
15507         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15508         Remove variable.
15510         [BZ #18539]
15511         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15512         define as weak alias of __addseverity.
15513         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15514         Remove variable.
15515         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15516         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15517         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15519         [BZ #18536]
15520         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15521         (__tfind): Likewise.
15522         (__tdelete): Likewise.
15523         (__twalk): Likewise.
15524         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15525         __twalk to GLIBC_PRIVATE.
15526         * include/search.h (__tsearch): Use libc_hidden_proto.
15527         (__tfind): Likewise.
15528         (__tdelete): Likewise.
15529         (__twalk): Likewise.
15530         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15531         Call __tdelete instead of tdelete.
15532         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15533         tfind.  Call __tsearch instead of tsearch.
15534         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15535         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15536         Remove variable.
15537         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15539         [BZ #18534]
15540         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15541         (dprintf): Define as a weak alias of __dprintf, not a strong
15542         alias.
15543         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15544         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15545         dprintf.
15546         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15547         Remove variable.
15548         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15549         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15551         [BZ #18533]
15552         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15553         not a strong alias.
15554         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15555         Remove variable.
15557         [BZ #18532]
15558         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15559         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15560         (in6addr_loopback): Rename to __in6addr_loopback and define as
15561         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15562         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15563         libc_hidden_proto.
15564         (__in6addr_any): Likewise.
15565         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15566         in6addr_any.
15567         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15568         variable.
15569         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15571 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15573         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15574         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15576         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15577         redirections for pow.
15578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15579         * sysdeps/x86_64/fpu/Versions: New versions added.
15580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15582         build of SSE, AVX2 and AVX512 IFUNC versions.
15583         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15584         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15586         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15590         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15591         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15592         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15593         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15594         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15595         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15596         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15597         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15599         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15600         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15601         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15602         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15603         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15604         * NEWS: Mention addition of x86_64 vector pow.
15606         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15607         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15608         redirections for expf.
15609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15610         * sysdeps/x86_64/fpu/Versions: New versions added.
15611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15612         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15613         build of SSE, AVX2 and AVX512 IFUNC versions.
15614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15620         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15621         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15622         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15623         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15624         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15625         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15626         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15627         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15628         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15629         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15630         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15631         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15632         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15633         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15634         * NEWS: Mention addition of x86_64 vector expf.
15636         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15637         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15638         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15639         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15640         redirections for exp.
15641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15642         * sysdeps/x86_64/fpu/Versions: New versions added.
15643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15645         build of SSE, AVX2 and AVX512 IFUNC versions.
15646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15652         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15653         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15654         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15655         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15656         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15657         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15658         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15659         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15661         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15662         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15663         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15664         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15665         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15666         * NEWS: Mention addition of x86_64 vector exp.
15668         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15669         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15670         redirections for logf.
15671         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15672         * sysdeps/x86_64/fpu/Versions: New versions added.
15673         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15674         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15675         build of SSE, AVX2 and AVX512 IFUNC versions.
15676         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15678         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15679         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15681         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15682         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15683         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15684         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15685         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15686         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15687         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15688         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15689         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15690         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15691         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15693         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15694         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15695         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15696         * NEWS: Mention addition of x86_64 vector logf.
15698         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15699         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15700         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15701         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15702         redirections for log.
15703         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15704         * sysdeps/x86_64/fpu/Versions: New versions added.
15705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15706         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15707         build of SSE, AVX2 and AVX512 IFUNC versions.
15708         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15709         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15710         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15711         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15712         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15713         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15714         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15715         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15716         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15717         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15718         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15719         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15720         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15721         test.
15722         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15723         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15724         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15725         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15726         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15727         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15728         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15729         * NEWS: Mention addition of x86_64 vector log.
15731 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15733         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15734         cfi_adjust_cfa_offset argument.
15735         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15736         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15738         [BZ #18034]
15739         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15740         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15741         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15742         ordering using ldar.
15743         (_dl_tlsdesc_dynamic): Likewise.
15744         (_dl_tlsdesc_return_lazy): Likewise.
15745         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15746         relaxed atomics instead of volatile and synchronize with release store.
15747         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15748         volatile.
15749         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15751 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15753         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15754         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15755         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15756         * sysdeps/x86_64/fpu/Versions: New versions added.
15757         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15758         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15759         build of SSE, AVX2 and AVX512 IFUNC versions.
15760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15761         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15766         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15767         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15768         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15769         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15770         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15771         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15772         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15773         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15774         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15775         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15777         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15778         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15779         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15780         * NEWS: Mention addition of x86_64 vector sinf.
15782 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15784         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15785         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15786         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15787         Remove variable.
15788         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15789         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15791 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #18530]
15794         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15795         strong alias of _IO_fputs.  Use libc_hidden_def.
15796         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15797         and define as weak alias of __fputs_unlocked.  Use
15798         libc_hidden_weak.
15799         * include/stdio.h (__fputs_unlocked): Declare.  Use
15800         libc_hidden_proto.
15801         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15802         fputs_unlocked.
15804         [BZ #18529]
15805         * resolv/netdb.h [__USE_POSIX]: Change condition to
15806         [__USE_XOPEN2K].
15807         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15808         not expect.
15809         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15810         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15811         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15812         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15813         [XPG4 || UNIX98] (AI_ALL): Likewise.
15814         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15815         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15816         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15817         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15818         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15819         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15820         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15821         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15822         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15823         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15824         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15825         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15826         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15827         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15828         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15829         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15830         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15831         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15832         [XPG4 || UNIX98] (gai_strerror): Likewise.
15833         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15834         [XPG4 || UNIX98] (getnameinfo): Likewise.
15836         [BZ #18528]
15837         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15838         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15839         __USE_XOPEN2K8].
15840         (getgrent): Likewise.
15841         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15842         expect.
15843         [XPG3 || POSIX2008] (endgrent): Likewise.
15844         [XPG3] (setgrent): Likewise.
15845         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15846         variable.
15847         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15849         [BZ #18527]
15850         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15851         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15852         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15853         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15854         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15855         * include/unistd.h (__getlogin_r): Declare.  Use
15856         libc_hidden_proto.
15857         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15858         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15859         variable.
15860         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15861         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15862         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15864 2015-06-12  Martin Sebor  <msebor@redhat.com>
15866         [BZ #18512]
15867         * Makerules (check-install-supported): New target.
15868         (install): Add check-install-supported as a dependency.
15869         * manual/install.texi (Installing the C Library): Document
15870         that overriding prefix and exec_prefix is not supported.
15871         Mention DESTDIR.
15872         * INSTALL: Regenerate from the above.
15874 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #18519]
15877         * posix/Versions (libc): Export __libc_pread at version
15878         GLIBC_PRIVATE.
15879         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15880         instead of pread.
15881         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15882         variable.
15884         [BZ #18522]
15885         * misc/efgcvt_r.c
15886         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15887         (cvt_symbol): Use weak_alias instead of strong_alias.
15888         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15889         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15890         Remove variable.
15891         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15892         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15894         [BZ #18520]
15895         * inet/herrno.c (h_errno): Rename to __h_errno.
15896         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15897         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15898         to __h_errno instead of h_errno.
15899         * nptl/herrno.c (h_errno): Rename to __h_errno.
15900         (__h_errno_location): Refer to __h_errno not h_errno.
15901         * resolv/Versions (h_errno): Rename to __h_errno.
15902         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15903         Remove variable.
15904         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15906 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15908         * configure.ac: More strict check for AVX512 assembler support.
15909         * configure: Regenerated.
15911         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15912         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15914         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15915         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15916         * sysdeps/x86_64/fpu/Versions: New versions added.
15917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15918         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15919         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15926         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15927         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15928         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15929         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15930         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15931         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15932         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15933         test.
15934         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15935         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15936         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15937         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15938         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15939         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15940         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15941         * NEWS: Mention addition of x86_64 vector sin.
15943 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15945         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15946         comment.
15948 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15950         [BZ #18479]
15951         * nptl/pt-interp.c: New file.
15952         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15953         Add pt-interp.
15954         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15955         $(common-objpfx)runtime-linker.h.
15957 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15959         * Makeconfig (+interp): Remove unused variable.
15960         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15961         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15962         $(elf-objpfx)runtime-linker.h.
15963         ($(elf-objpfx)runtime-linker.h): Rename to
15964         $(common-objpfx)runtime-linker.h and move ...
15965         * Makerules [$(build-shared) = yes]: ... here.
15966         * elf/interp.c: Include <runtime-linker.h> instead of
15967         <elf/runtime-linker.h>.
15969 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15971         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15972         (__gettimeofday_syscall): Remove vsyscall fallback.
15973         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15974         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15975         Add syscall fallback function.
15976         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15977         if vDSO is not present.
15978         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15979         fallback function.
15980         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15981         present.
15982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15983         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15985 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15987         [BZ #18497]
15988         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15989         of wcscmp.
15990         (wcscmp): Define as weak alias of WCSCMP.
15991         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15992         wcscoll.
15993         (USE_HIDDEN_DEF): Define.
15994         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15995         __wcscoll.  Don't use libc_hidden_weak.
15996         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15997         wcscmp.
15998         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15999         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16000         __GI_wcscmp.
16001         (weak_alias): Undefine and redefine.
16002         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16003         __wcscmp and define as weak alias of __wcscmp.
16004         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16005         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16006         (__wcscoll): Likewise.
16007         (wcscmp): Don't use libc_hidden_proto.
16008         (wcscoll): Likewise.
16009         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16010         wcscoll.
16011         * posix/regexec.c (check_node_accept_bytes): Likewise.
16012         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16013         variable.
16014         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16015         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16017         [BZ #18507]
16018         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16019         __fstatvfs and define as weak alias of __fstatvfs.  Use
16020         libc_hidden_weak.
16021         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16022         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16023         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16024         Define as alias of __fstatvfs, not fstatvfs.
16025         (fstatvfs64): Likewise.
16026         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16027         Define as alias of __statvfs, not statvfs.
16028         (statvfs64): Likewise.
16029         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16030         Remove variable.
16032 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16035         (HAVE_GETCPU_VSYSCALL): Define.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16037         (HAVE_GETCPU_VSYSCALL): Likewise.
16038         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16039         * sysdeps/unix/sysv/linux/sched_getcpu.c
16040         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16041         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16042         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16043         prototype.
16044         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16045         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16048         Define.
16049         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16050         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16051         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16054 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16056         * sysdeps/x86_64/fpu/Makefile: New file.
16057         * sysdeps/x86_64/fpu/Versions: New file.
16058         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16059         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16060         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16061         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16062         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16063         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16064         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16070         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16071         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16072         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16073         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16074         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16075         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16076         * sysdeps/x86_64/configure: Regenerated.
16077         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16078         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16079         * manual/install.texi (Configuring and compiling): Document
16080         --disable-mathvec.
16081         * INSTALL: Regenerated.
16082         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16084         * math/Makefile: Added rules for vector tests.
16085         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16086         declaration under condition.
16087         * math/test-double-vlen2.h: New file.
16088         * math/test-double-vlen4.h: New file.
16089         * math/test-double-vlen8.h: New file.
16090         * math/test-vec-loop.h: Added initialization macro.
16091         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16093         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16094         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16095         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16096         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16098         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16099         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16100         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16101         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16103         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16104         * sysdeps/x86_64/fpu/Versions: New versions added.
16105         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16106         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16107         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16108         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16109         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16112         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16115         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16116         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16117         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16119         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16121         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16122         * NEWS: Mention addition of x86_64 vector cosf.
16124         * math/Makefile: Added CFLAGS for new tests.
16125         * math/test-float-vlen16.h: New file.
16126         * math/test-float-vlen4.h: New file.
16127         * math/test-float-vlen8.h: New file.
16128         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16129         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16132         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16133         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16134         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16138         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16140 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16142         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16143         * locale/programs/ld-ctype.c: Likewise.
16145 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16147         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16148         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16149         bit_ZMM16_31_state): New macro.
16150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16151         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16153 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16155         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16157 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16159         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16161 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16163         [BZ #18498]
16164         * libio/memstream.c (open_memstream): Rename to __open_memstream
16165         and define as weak alias of __open_memstream.
16166         * include/stdio.h (__open_memstream): Declare.  Use
16167         libc_hidden_proto.
16168         (open_memstream): Don't use libc_hidden_proto.
16169         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16170         open_memstream.
16171         * posix/getopt.c (_getopt_internal_r): Likewise.
16172         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16173         variable.
16174         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16175         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16176         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16178         [BZ #18496]
16179         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16180         instead of wcrtomb.
16182         [BZ #18483]
16183         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16184         [__USE_XOPEN2K8].  Remove redundant #endif.
16185         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16186         Remove redundant #if.
16187         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16188         Remove variable.
16189         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16190         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16192         [BZ #18495]
16193         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16194         (__iswlower): Likewise.
16195         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16196         (__iswlower): Likewise.
16197         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16198         instead of towlower.
16199         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16200         instead of iswlower.  Call __towupper instead of towupper.
16201         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16202         instead of iswalnum.
16204 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16206         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16207         errors to stderr.
16209 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16211         [BZ #15661]
16212         [BZ #17322]
16213         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16214         Check for overflow properly.  Check for O_APPEND.  Ignore large
16215         file system block sizes.  Add comments about problems.
16216         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16217         * manual/filesys.texi (Storage Allocation): New node.
16219 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16221         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16222         cancellable syscalls.
16223         (SYS_ify): Add guard to no redefine it.
16224         (INLINE_SYSCALL): Likewise.
16225         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16226         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16227         SYSCALL_CANCEL instead.
16228         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16229         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16230         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16231         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16232         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16233         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16234         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16235         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16236         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16237         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16238         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16239         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16240         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16241         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16242         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16244         Likewise.
16245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16246         (__libc_pread64): Likewise.
16247         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16248         (__libc_preadv): Likewise.
16249         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16250         (__libc_readv64): Likewise.
16251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16252         (__libc_pwrite): Likewise.
16253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16254         (__libc_pwrite64): Likewise.
16255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16256         (__libc_pwritev): Likewise.
16257         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16258         (__libc_pwritev64): Likewise.
16259         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16260         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16261         (sync_file_range): Likewise.
16262         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16263         Likewise.
16264         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16265         Likewise.
16266         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16267         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16268         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16269         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16270         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16271         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16272         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16273         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16275         Likewise.
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16277         (__libc_read64): Likewise.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16279         Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16281         Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16285         Likewise.
16286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16287         (__libc_pread64): Likewise.
16288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16289         Likewise.
16290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16291         (__libc_pwrite64): Likewise.
16292         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16293         (sync_file_range): Likewise.
16294         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16295         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16296         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16297         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16298         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16299         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16300         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16301         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16302         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16303         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16304         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16305         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16306         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16307         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16308         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16309         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16310         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16311         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16312         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16313         Likewise.
16314         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16315         Likewise.
16316         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16317         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16318         Likewise.
16319         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16320         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16321         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16322         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16323         Likewise.
16324         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16325         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16326         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16327         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16328         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16330 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16332         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16333         Include dl-vdso.
16334         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16335         Use VDSO routines for gettimeofday, clock_gettime if
16336         available.
16337         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16338         Declare VDSO symbols.
16339         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16340         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16341         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16342         * sysdeps/unix/sysv/linux/arm/Versions: Add
16343         __vdso_clock_gettime.
16345 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16347         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16348         be an inline implementation regardless of library is built within.
16349         (open_not_cancel_2): Likewise.
16350         (__read_nocancel): Likewise.
16351         (__write_nocancel): Likewise.
16352         (openat_not_cancel): Likewise.
16353         (openat_not_cancel_3): Likewise.
16354         (openat64_not_cancel): Likewise.
16355         (openat64_not_cancel_3): Likewise.
16356         (__close_nocancel): Likewise.
16357         (pause_not_cancel): Likewise.
16358         (nanosleep_not_cancel): Likewise.
16359         (sigsuspend_not_cancel): Likewise.
16361 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16363         [BZ #14958]
16364         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16365         wake-up.
16366         (__pthread_rwlock_rdlock_slow): Likewise.
16367         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16368         Likewise.
16369         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16370         Likewise.
16371         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16372         * nptl/tst-rwlock16.c: New file.
16373         * nptl/Makefile (tests): Add new test.
16375 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16377         [BZ #18324]
16378         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16379         missing wake-up of readers.
16380         * nptl/tst-rwlock15.c: New file.
16381         * nptl/Makefile (tests): Add new test.
16383 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16385         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16386         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16387         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16388         and __nacl_supply_interface_rtld.
16389         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16390         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16391         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16392         Add __nacl_supply_interface_rtld.
16393         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16395 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16397         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16398         isfinite.
16399         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16400         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16402 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16404         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16405         __signbit* with standard C99 macros.
16406         * math/e_exp10l.c: Likewise.
16407         * math/e_exp2l.c: Likewise.
16408         * math/e_scalb.c: Likewise.
16409         * math/e_scalbf.c: Likewise.
16410         * math/e_scalbl.c: Likewise.
16411         * math/s_ldexp.c: Likewise.
16412         * math/s_ldexpf.c: Likewise.
16413         * math/s_ldexpl.c: Likewise.
16414         * math/w_atan2.c: Likewise.
16415         * math/w_atan2f.c: Likewise.
16416         * math/w_atan2l.c: Likewise.
16417         * math/w_cosh.c: Likewise.
16418         * math/w_coshf.c: Likewise.
16419         * math/w_coshl.c: Likewise.
16420         * math/w_exp10.c: Likewise.
16421         * math/w_exp10f.c: Likewise.
16422         * math/w_exp10l.c: Likewise.
16423         * math/w_exp2.c: Likewise.
16424         * math/w_exp2f.c: Likewise.
16425         * math/w_exp2l.c: Likewise.
16426         * math/w_fmod.c: Likewise.
16427         * math/w_fmodf.c: Likewise.
16428         * math/w_fmodl.c: Likewise.
16429         * math/w_hypot.c: Likewise.
16430         * math/w_hypotf.c: Likewise.
16431         * math/w_hypotl.c: Likewise.
16432         * math/w_jnl.c: Likewise.
16433         * math/w_lgamma.c: Likewise.
16434         * math/w_lgamma_r.c: Likewise.
16435         * math/w_lgammaf.c: Likewise.
16436         * math/w_lgammaf_r.c: Likewise.
16437         * math/w_lgammal.c: Likewise.
16438         * math/w_lgammal_r.c: Likewise.
16439         * math/w_pow.c: Likewise.
16440         * math/w_powf.c: Likewise.
16441         * math/w_powl.c: Likewise.
16442         * math/w_remainder.c: Likewise.
16443         * math/w_remainderf.c: Likewise.
16444         * math/w_remainderl.c: Likewise.
16445         * math/w_scalb.c: Likewise.
16446         * math/w_scalbf.c: Likewise.
16447         * math/w_scalbl.c: Likewise.
16448         * math/w_scalbln.c: Likewise.
16449         * math/w_scalblnf.c: Likewise.
16450         * math/w_scalblnl.c: Likewise.
16451         * math/w_sinh.c: Likewise.
16452         * math/w_sinhf.c: Likewise.
16453         * math/w_sinhl.c: Likewise.
16454         * math/w_tgamma.c: Likewise.
16455         * math/w_tgammaf.c: Likewise.
16456         * math/w_tgammal.c: Likewise.
16457         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16458         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16459         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16460         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16461         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16463         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16464         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16465         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16466         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16467         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16468         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16469         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16470         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16471         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16472         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16474         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16475         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16477         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16481         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16482         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16483         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16484         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16485         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16486         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16487         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16488         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16489         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16490         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16491         * stdio-common/printf_fp.c: Likewise.
16492         * stdio-common/printf_fphex.c: Likewise.
16493         * stdio-common/printf_size.c: Likewise.
16495 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16497         [BZ #18470]
16498         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16499         strnlen.
16500         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16501         Remove variable.
16502         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16503         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16504         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16505         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16506         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16507         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16508         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16509         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16510         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16511         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16513         [BZ #18468]
16514         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16515         weak alias of __wmemchr.  Use libc_hidden_weak.
16516         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16517         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16518         instead of wmemchr.
16520 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16522         [BZ #18383]
16523         * elf/tst-tlsalign-extern.c: New file.
16524         * elf/tst-tlsalign-extern-static.c: New file.
16525         * elf/tst-tlsalign-vars.c: New file.
16526         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16527         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16528         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16529         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16530         (test-xfail-tst-tlsalign-extern-static): New variable.
16532 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16534         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16535         Use variable name _sc_err instead of err.
16536         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16537         instead of ret.
16538         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16539         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16540         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16541         (INLINE_SYSCALL): Likewise.
16543         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16544         * include/string.h (__strnlen): Use libc_hidden_proto.
16545         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16546         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16547         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16548         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16549         (libc_hidden_def): Undefine and redefine.
16550         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16551         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16552         __GI_strnlen.
16553         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16554         libc_hidden_def.
16555         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16557         [BZ #18469]
16558         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16559         weak alias of __towlower.  Use libc_hidden_weak.
16560         (towupper): Rename to __towupper and define as weak alias of
16561         __towupper.  Use libc_hidden_weak.
16562         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16563         (__towupper): Likewise.
16564         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16565         __towlower instead of towlower.
16567 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16569         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16570         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16572 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16574         * sysdeps/aarch64/libm-test-ulps: Update.
16576 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16578         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16579         Define.
16580         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16582         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16583         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16584         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16585         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16586         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16588 2015-06-01  Martin Sebor  <msebor@redhat.com>
16590         [BZ #18116]
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16592         (__setcontext): Use extended four-operand version of mtsf whenever
16593         possible.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16595         (__novec_swapcontext): Likewise.
16597 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16599         * benchtests/scripts/compare_bench.py: New file.
16600         * benchtests/scripts/import_bench.py (mean): New function.
16601         (split_list): Likewise.
16602         (do_for_all_timings): Likewise.
16603         (compress_timings): Likewise.
16605         * benchtests/scripts/import_bench.py: New file.
16606         * benchtests/scripts/validate_benchout.py: Import import_bench
16607         instead of jsonschema.
16608         (validate_bench): Remove function.
16609         (main): Use import_bench.
16611 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16613         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16614         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16616 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16620 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16622         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16623         set THREAD_SELF->tid to a magic value and futex-wake it.
16624         Pass its address to the thread_exit system call.
16625         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16626         bit is clear.
16627         * sysdeps/nacl/lowlevellock.h: New file.
16628         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16630         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16631         Add TIMEOUT to current time, don't subtract it.
16633 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16635         [BZ #2981]
16636         [BZ #18422]
16637         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16638         ($(objpfx)tst-audit2.out): Also depend on
16639         $(objpfx)tst-auditmod9b.so.
16640         * elf/tst-audit2.c: Include <dlfcn.h>.
16641         (calloc_called): New.
16642         (calloc): Allow to be called more than once.
16643         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16645 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16647         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16648         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16650 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16652         * stdlib/monetary.h: Fix comment.
16654 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16656         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16657         Avoid using variables in #defines that might cause shadowing.
16658         (INTERNAL_VSYSCALL_CALL): Likewise.
16660 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16662         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16664         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16665         * nptl/lll_timedlock_wait.c: ... to this new file.
16666         * nptl/Makefile (libpthread-routines): Add it.
16667         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16668         * nptl/lll_timedwait_tid.c: ... to this new file.
16669         * nptl/Makefile (libpthread-routines): Add it.
16670         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16671         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16672         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16673         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16674         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16675         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16676         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16677         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16678         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16679         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16681 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16683         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16684         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16685         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16687         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16688         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16689         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16690         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16691         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16692         * sysdeps/unix/sysv/linux/tile/sysdep.h
16693         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16694         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16695         using vDSO syscall macro.
16697 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16699         [BZ #17293]
16700         * uk_UA: Fix sorting order for Ukrainian locale
16702 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16704         * stdlib/monetary.h: Fix comment.
16706 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16708         [BZ #18234]
16709         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16710         st_mtim and st_ctim members.
16711         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16712         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16713         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16714         (struct stat64): Likewise.
16715         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16716         (struct stat64): Likewise.
16717         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16718         (struct stat64): Likewise.
16720 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16722         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16723         Define and include sysdep-vdso.h.
16724         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16725         Likewise.
16726         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16727         Likewise.
16728         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16729         Define with VDSO_SYMBOL and use PTR_MANGLE.
16730         (__vdso_clock_gettime): Likewise.
16731         (__vdso_clock_getres): Likewise.
16732         (_libc_vdso_platform_setup): Likewise.
16733         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16734         Likewise.
16735         (_libc_vdso_platform_setup): Likewise.
16736         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16737         Likewise.
16738         (__vdso_clock_gettime): Likewise.
16739         (__vdso_clock_getres): Likewise.
16740         (__vdso_get_tbfreq): Likewise.
16741         (__vdso_getcpu): Likewise.
16742         (__vdso_time): Likewise.
16743         (__vdso_sigtramp_rt64): Likewise.
16744         (__vdso_signtramp32): Likewise.
16745         (__vdso_sigtramp_rt32): Likewise.
16746         (_libc_vdso_platform_setup): Likewise.
16747         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16748         Likewise.
16749         (__vdso_clock_gettime): Likewise.
16750         (__vdso_clock_getres): Likewise.
16751         (_libc_vdso_platform_setup): Likewise.
16752         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16753         Likewise.
16754         (__vdso_clock_gettime): Likewise.
16755         (_libc_vdso_platform_setup): Likewise.
16756         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16757         Likewise.
16758         (__vdso_getcpu): Likewise.
16759         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16760         Use VDSO_SYMBOL macro to define.
16761         (__vdso_clock_gettime): Likewise.
16762         (__vdso_clock_getres): Likewise.
16763         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16764         Likewise.
16765         (__vdso_clock_gettime): Likewise.
16766         (__vdso_clock_getres): Likewise.
16767         (__vdso_get_tbfreq): Likewise.
16768         (__vdso_getcpu): Likewise.
16769         (__vdso_time): Likewise.
16770         (__vdso_sigtramp_rt64): Likewise.
16771         (__vdso_signtramp32): Likewise.
16772         (__vdso_sigtramp_rt32): Likewise.
16773         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16774         Likewise.
16775         (__vdso_clock_gettime): Likewise.
16776         (__vdso_clock_getres): Likewise.
16777         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16778         Likewise.
16779         (__vdso_clock_gettime): Likewise.
16780         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16781         Likewise.
16782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16783         macro.
16784         (INTERNAL_VSYSCALL): Likewise.
16785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16786         Remove macro.
16787         (INTERNAL_VSYSCALL): Likewise.
16788         (INTERNAL_VSYSCALL_NCS): Likewise.
16789         (INTERNAL_VSYSCALL_CALL): New macro.
16790         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16792         Likewise.
16793         (INTERNAL_VSYSCALL): Likewise.
16794         (INTERNAL_VSYSCALL_NCS): Likewise.
16795         (INTERNAL_VSYSCALL_CALL): New macro.
16796         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16798         (INLINE_VSYSCALL): Remove macro.
16799         (INTERNAL_VSYSCALL): Remove macro.
16800         (INTERNAL_VSYSCALL_NCS): Remove macro.
16801         (INTERNAL_VSYSCALL_CALL): New macro.
16802         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16803         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16804         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16805         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16806         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16808         (INLINE_VSYSCALL): Remove macro.
16809         (INTERNAL_VSYSCALL): Likewise.
16810         (INTERNAL_VSYSCALL_NCS): Likewise.
16811         (INTERNAL_VSYSCALL_CALL): New macro.
16812         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16813         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16814         PTR_DEMANGLE on vDSO pointer.
16815         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16816         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16817         macro.
16818         (INTERNAL_SYSCALL): Likewise.
16819         (INTERNAL_VSYSCALL_NCS): Remove macro.
16820         (INTERNAL_VSYSCALL_CALL): New macro.
16821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16822         Remove macro.
16823         (INTERNAL_VSYSCALL): Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16825         sysdep-vdso.h instead of libc-vdso.h.
16826         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16827         definition.
16828         (INLINE_VSYSCALL): Likewise.
16829         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16830         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16831         definition.
16832         (INLINE_VSYSCALL): Likewise.
16833         (INTERNAL_VSYSCALL): Likewise.
16834         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16835         * sysdeps/unix/sysv/linux/timespec_get.c
16836         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16837         (timespec_get): Use ANSI prototype.
16838         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16839         and definition for Linux.
16841 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16843         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16844         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16846 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16848         [BZ #2981]
16849         [BZ #18410]
16850         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16851         for missing DT_PLTRELSZ.
16853 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16855         Remove obsolete aliases that broke 'locale -a'
16856         [BZ #18412]
16857         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16858         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16859         breaking some applications that use 'locale -a' output.
16860         Change the encoding of this file from Latin-1 to ASCII to avoid
16861         other potential problems with people grepping this file.
16863 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16865         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16866         -fasynchronous-unwind-tables.
16867         (CFLAGS-sendto.c): Likewise.
16868         (CFLAGS-sendmsg.c): Likewise.
16869         (CFLAGS-connect.c): Likewise.
16870         (CFLAGS-recvmsg.c): Likewise.
16871         (CFLAGS-recvfrom.c): Likewise.
16872         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16873         (SOCKETCALL): New macro: non-cancellable socketcall.
16874         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16875         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16876         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16877         * sysdeps/unix/sysv/linux/accept.c: New file.
16878         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16879         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16880         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16881         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16882         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16883         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16884         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16885         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16886         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16887         * sysdeps/unix/sysv/linux/send.c: Likewise.
16888         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16889         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16890         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16891         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16892         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16893         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16894         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16895         prototype.
16896         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16897         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16898         instead of __internal_xxx function.
16899         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16900         prototype.
16901         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16902         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16903         instead of __internal_xxx function.
16904         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16905         prototype.
16906         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16907         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16908         instead of __internal_xxx function.
16909         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16910         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16911         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16912         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16913         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16914         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16915         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16916         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16917         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16918         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16919         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16920         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16921         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16922         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16923         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16924         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16925         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16926         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16927         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16928         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16931         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16932         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16933         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16934         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16935         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16936         * sysdeps/unix/sysv/linux/send.S: Likewise.
16937         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16938         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16939         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16940         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16941         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16942         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16943         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16944         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16945         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16946         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16947         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16948         socketcall is implemented in GLIBC.
16950 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16952         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16953         (__fma): Ignore uninitialized warnings around packing.
16954         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16955         (__fmaf): Ignore uninitialized warnings around packing.
16956         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16957         (__fmal): Ignore uninitialized warnings around packing.
16959         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16960         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16961         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16962         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16964         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16965         switch statement into default case.
16966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16968         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16969         a conditional in forcing "inexact".
16970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16971         Likewise.
16973 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16975         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16976         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16977         for each INTERNAL_SYSCALL use.
16979 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16981         [BZ #438]
16982         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16983         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16984         variable.
16986         [BZ #18444]
16987         * string/basename.c (basename): Rename to __basename and define as
16988         weak alias of __basename.  Use libc_hidden_weak.
16989         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16990         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16991         __basename instead of basename.
16992         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16993         Remove variable.
16994         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16996 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16998         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16999         (_IO_JUMPS_FILE_plus): New.
17000         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17001         _IO_CAST_FIELD_ACCESS.
17002         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17003         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17004         * libio/freopen.c (freopen): Likewise.
17005         * libio/freopen64.c (freopen64): Likewise.
17006         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17007         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17008         * libio/iofwide.c (_IO_fwide): Likewise.
17009         * libio/memstream.c (open_memstream): Likewise.
17010         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17011         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17012         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17014 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17016         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17017         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17018         NADJ.
17019         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17020         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17021         NADJ.
17022         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17023         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17024         NADJ.
17026         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17027         (p == 4) case.
17029         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17030         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17031         Remove variable.
17032         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17033         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17034         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17036 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17038         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17039         Adjust jump table label generation macros.
17041 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17043         * stdio-common/vfprintf.c (vfprintf): Move local variables
17044         args_malloced, specs, specs_malloced, and the code after
17045         do_positional to the printf_positional function.
17046         (printf_positional): New function.
17048 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17050         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17051         function.
17052         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17053         STEP4_TABLE, process_arg): Move macro definitions
17054         out of the vfprintf function.  (Cosmetic change only.)
17056 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17058         * benchtests/Makefile (stdio-common-bench): Define.
17059         (benchset): Add stdio-common-bench.
17060         * sprintf-inputs: New file.
17061         * sprintf-source.c: New file.
17063 2015-05-21  Andreas Schwab  <schwab@suse.de>
17065         [BZ #13028]
17066         [BZ #17053]
17067         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17068         of struct __res_state.
17069         * resolv/res_send.c (__libc_res_nsend): Likewise.
17070         (get_nsaddr): New function.
17071         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17072         statp directly.
17074 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17076         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17077         -D_POSIX_C_SOURCE=199506L.
17079         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17081         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17082         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17083         Do not mention otherwise.
17084         [POSIX] (_XOPEN_VERSION): Do not expect.
17085         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17086         [POSIX] (_POSIX2_C_BIND): Likewise.
17087         [POSIX] (_POSIX2_VERSION): Likewise.
17088         [POSIX] (_XOPEN_XPG2): Likewise.
17089         [POSIX] (_XOPEN_XPG3): Likewise.
17090         [POSIX] (_XOPEN_XPG4): Likewise.
17091         [POSIX] (_XOPEN_UNIX): Likewise.
17092         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17093         [POSIX] (_POSIX_BARRIERS): Likewise.
17094         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17095         [POSIX] (_POSIX_CPUTIME): Likewise.
17096         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17097         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17098         [POSIX] (_POSIX_SHELL): Likewise.
17099         [POSIX] (_POSIX_SPAWN): Likewise.
17100         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17101         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17102         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17103         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17104         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17105         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17106         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17107         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17108         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17109         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17110         [POSIX] (_POSIX2_PBS): Likewise.
17111         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17112         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17113         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17114         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17115         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17116         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17117         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17118         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17119         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17120         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17121         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17122         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17123         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17124         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17125         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17126         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17127         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17128         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17129         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17130         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17131         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17132         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17133         [POSIX] (_SC_2_C_BIND): Likewise.
17134         [POSIX] (_SC_2_C_VERSION): Likewise.
17135         [POSIX] (_SC_2_PBS): Likewise.
17136         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17137         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17138         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17139         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17140         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17141         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17142         [POSIX] (_SC_BARRIERS): Likewise.
17143         [POSIX] (_SC_BASE): Likewise.
17144         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17145         [POSIX] (_SC_DEVICE_IO): Likewise.
17146         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17147         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17148         [POSIX] (_SC_FD_MGMT): Likewise.
17149         [POSIX] (_SC_FIFO): Likewise.
17150         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17151         [POSIX] (_SC_FILE_LOCKING): Likewise.
17152         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17153         [POSIX] (_SC_IOV_MAX): Likewise.
17154         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17155         [POSIX] (_SC_NETWORKING): Likewise.
17156         [POSIX] (_SC_PAGE_SIZE): Likewise.
17157         [POSIX] (_SC_PASS_MAX): Likewise.
17158         [POSIX] (_SC_PIPE): Likewise.
17159         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17160         [POSIX] (_SC_REGEXP): Likewise.
17161         [POSIX] (_SC_SHELL): Likewise.
17162         [POSIX] (_SC_SIGNALS): Likewise.
17163         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17164         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17165         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17166         [POSIX] (_SC_USER_GROUPS): Likewise.
17167         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17168         [POSIX] (_SC_STREAMS): Likewise.
17169         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17170         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17171         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17172         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17173         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17174         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17175         [POSIX] (_PC_FILESIZEBITS): Likewise.
17176         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17177         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17178         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17179         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17180         [POSIX] (uid_t): Likewise.
17181         [POSIX] (gid_t): Likewise.
17182         [POSIX] (off_t): Likewise.
17183         [POSIX] (pid_t): Likewise.
17184         [POSIX] (cuserid): Allow.
17185         (_SC_2_CHAR_TERM): Require constant.
17186         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17187         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17188         variable.
17190 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17192         * sysdeps/nacl/pthread-pids.h: New file.
17193         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17194         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17196         * nptl/pthread-pids.h: New file.
17197         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17198         * nptl/nptl-init.c: Include <pthread-pids.h>.
17199         (__pthread_initialize_minimal_internal):
17200         Call __pthread_initialize_pids instead of set_tid_address syscall.
17202         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17203         * sysdeps/posix/usleep.c: ... here.
17205 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17207         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17208         call_pselect6 object.
17209         [$(subdir) = io]: Remove call_sync_file_range object.
17210         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17211         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17212         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17213         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17215 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17217         * math/s_cproj.c: Add include "math_private.h".
17218         * math/s_cprojf.c: Likewise.
17219         * math/s_cprojl.c: Likewise.
17221 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17223         [BZ #18244]
17224         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17225         high mantissa bit when testing whether P is a NaN.
17226         * math/libm-test.inc (remainder_test_data): Add more tests.
17227         (remquo_test_data): Likewise.
17229         [BZ #18049]
17230         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17231         below -32, return the argument, with underflow if subnormal.
17232         * math/auto-libm-test-in: Add more tests of atanh.
17233         * math/auto-libm-test-out: Regenerated.
17235 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17237         [BZ #18434]
17238         * nptl/tst-sem15.c: New file.
17239         * nptl/Makefile (tests): Add it.
17240         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17241         s/<</>>/ to fix typo in EOVERFLOW check.
17242         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17244 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17246         * manual/strings.texi (envz_remove): Fix typo in safety
17247         annotations.
17249 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17250             Steve Ellcey  <sellcey@imgtec.com>
17252         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17253         in order to avoid strict alias warnings.
17254         (iruserok_af): Ditto for ra.
17256 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17258         [BZ #17581]
17259         * malloc/hooks.c
17260         (magicbyte): Convert to a function and avoid returning 0x01.
17261         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17262         (mem2chunk_check): Fix unsigned comparisons to zero.
17263         Hoist defs of sz and magic.
17265 2015-05-19  Richard Henderson  <rth@redhat.com>
17267         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17269         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17271 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17273         [BZ #16159]
17274         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17275         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17276         (reused_arena): Find a non-corrupt arena.
17277         (heap_trim): Pass arena to unlink.
17278         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17279         malloc_printerr.
17280         (top_check): Likewise.
17281         (free_check): Likewise.
17282         (realloc_check): Likewise.
17283         * malloc/malloc.c (malloc_printerr): Add arena argument.
17284         (unlink): Likewise.
17285         (munmap_chunk): Adjust.
17286         (ARENA_CORRUPTION_BIT): New macro.
17287         (arena_is_corrupt): Likewise.
17288         (set_arena_corrupt): Likewise.
17289         (sysmalloc): Use mmap if there are no usable arenas.
17290         (_int_malloc): Likewise.
17291         (__libc_malloc): Don't fail if arena_get returns NULL.
17292         (_mid_memalign): Likewise.
17293         (__libc_calloc): Likewise.
17294         (__libc_realloc): Adjust for additional argument to
17295         malloc_printerr.
17296         (_int_free): Likewise.
17297         (malloc_consolidate): Likewise.
17298         (_int_realloc): Likewise.
17299         (_int_memalign): Don't touch corrupt arenas.
17300         * malloc/tst-malloc-backtrace.c: New test case.
17302         * Makefile (summarize-tests): Fix return value on success.
17304         * manual/string.texi (Envz Functions): Add envz_remove.
17306 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17308         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17309         (invalid_name): New function, broken out of ...
17310         (__opendirat): ... here.  Call it.
17311         (need_isdir_precheck): New function, broken out of ...
17312         (__opendirat): ... here.  Call it.
17313         Use __fxstatat64, not __xstatat64.
17314         (opendir_oflags): New function, broken out of ...
17315         (__opendirat): ... here.  Call it.
17316         (opendir_tail): New function, broken out of ...
17317         (__opendirat): ... here.  Call it.
17318         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17319         opendir_tail, rather than punting to __opendirat.
17320         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17322 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17324         * .gitignore: Ignore generated *.pyc.
17326 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17328         * include/stdio.h: Define __need_wint_t.
17329         * test-skeleton.c: Avoid `for' loop initial declaration.
17330         * nptl/tst-initializers1.c: Use test-skeleton.c.
17332 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17334         [BZ #18418]
17335         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17337 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17339         [BZ #16352]
17340         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17341         (__ieee754_atanh): Force underflow exception for results with
17342         small absolute value.
17343         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17344         (__ieee754_atanhf): Force underflow exception for results with
17345         small absolute value.
17346         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17347         (__ieee754_atanh): Force underflow exception for results with
17348         small absolute value.
17349         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17350         (__ieee754_atanhf): Force underflow exception for results with
17351         small absolute value.
17352         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17353         (__ieee754_atanhl): Force underflow exception for results with
17354         small absolute value.
17355         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17356         (__ieee754_atanhl): Force underflow exception for results with
17357         small absolute value.
17358         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17359         (__ieee754_atanhl): Force underflow exception for results with
17360         small absolute value.
17361         * math/auto-libm-test-in: Do not allow missing underflow
17362         exceptions from atanh.
17363         * math/auto-libm-test-out: Regenerated.
17365         [BZ #18221]
17366         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17367         2**-28 as threshold for returning x or +/- 1/x.
17368         * math/auto-libm-test-in: Add more tests of tan.
17369         * math/auto-libm-test-out: Regenerated.
17371         [BZ #18220]
17372         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17373         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17374         * math/auto-libm-test-in: Add another test of lgamma.
17375         * math/auto-libm-test-out: Regenerated.
17377 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17379         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17380         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17381         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17382         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17383         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17384         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17385         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17386         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17388         (log1): Use fabs.  (my_log2): Use fabs.
17389         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17390         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17392         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17394         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17395         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17396         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17397         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17398         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17399         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17401 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17403         [BZ #18217]
17404         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17405         as threshold for returning 1 - x.
17406         * math/auto-libm-test-in: Add more tests of erfc.
17407         * math/auto-libm-test-out: Regenerated.
17409 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17411         [BZ #18196]
17412         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17413         threshold for large arguments.
17414         * math/auto-libm-test-in: Add another test of atan.
17415         * math/auto-libm-test-out: Regenerated.
17417         [BZ #16339]
17418         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17419         (__log1p): Force underflow exception for results with small
17420         absolute value.
17421         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17422         (__log1pf): Force underflow exception for results with small
17423         absolute value.
17424         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17425         (__log1p): Force underflow exception for results with small
17426         absolute value.
17427         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17428         (__log1pf): Force underflow exception for results with small
17429         absolute value.
17430         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17431         (__log1pl): Force underflow exception for results with small
17432         absolute value.
17433         * math/auto-libm-test-in: Do not allow missing underflow
17434         exceptions from log1p.
17435         * math/auto-libm-test-out: Regenerated.
17437 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17438             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17440         [BZ #16704]
17441         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17443 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17445         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17446         (libmvec): New variable.
17447         * configure.ac: Added option for mathvec build.
17448         * configure: Regenerated.
17449         * mathvec/Depend: New file.
17450         * mathvec/Makefile: New file.
17451         * shlib-versions: Added libmvec.
17452         * math/Makefile: Added rule for libm.so installation.
17454         * bits/math-vector.h: New file.
17455         * bits/libm-simd-decl-stubs.h: New header.
17456         * math/Makefile (headers): Added new header
17457         libm-simd-decl-stubs.h.
17458         * math/math.h (__MATHCALL_VEC): New macro.
17460         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17461         for conditions in testing functions.
17462         * math/Makefile: Added call of libm-have-vector-test.sh.
17463         * math/libm-test.inc (HAVE_VECTOR): New macros.
17465         * math/libm-test.inc: START refactored.
17466         * math/test-double.c (TEST_MATHVEC): Add define.
17467         * math/test-float.c: Likewise.
17468         * math/test-idouble.c: Likewise.
17469         * math/test-ifloat.c: Likewise.
17470         * math/test-ildoubl.c: Likewise.
17471         * math/test-ldouble.c: Likewise.
17472         * sysdeps/generic/math-tests-arch.h
17473         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17474         architecture check.
17476         * math/test-double.c (FUNC_TEST): New macro.
17477         * math/test-float.c: Likewise.
17478         * math/test-idouble.c: Likewise.
17479         * math/test-ifloat.c: Likewise.
17480         * math/test-ildoubl.c: Likewise.
17481         * math/test-ldouble.c: Likewise.
17482         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17484 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17486         * sysdeps/nacl/fdopendir.c: New file.
17488         * dirent/scandir-tail.c: New file.
17489         * dirent/scandir64-tail.c: New file.
17490         * dirent/Makefile (routines): Add them.
17491         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17492         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17493         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17494         [!SCANDIR] (SCANDIR_TAIL): New macro.
17495         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17496         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17497         (SCANDIRAT): Macro removed.
17498         (SCANDIR_TAIL): New macro.
17499         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17500         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17501         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17502         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17503         (READDIR): Macro removed.
17504         (SCANDIR_TAIL): New macro.
17505         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17506         (SCANDIR_TAIL): New macro.
17508         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17509         * dirent/scandir-cancel.c: ... to this new file.
17510         * dirent/Makefile (routines): Add it.
17511         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17512         * sysdeps/unix/sysv/linux/i386/scandir64.c
17513         (SKIP_SCANDIR_CANCEL): Macro removed.
17514         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17516         * dirent/tst-scandir.c: New file.
17517         * dirent/tst-scandir64.c: New file.
17518         * dirent/Makefile (tests): Add them.
17520 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17522         [BZ #18409]
17523         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17525 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17527         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17528         list.
17530 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17532         * benchtests/bench-strcoll.c: New benchmark.
17533         * benchtests/Makefile: Generate locales and run benchmark.
17534         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17535         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17536         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17537         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17538         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17539         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17540         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17541         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17542         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17543         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17544         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17545         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17546         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17547         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17548         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17549         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17550         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17551         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17552         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17553         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17554         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17555         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17556         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17557         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17559 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17561         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17562         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17564 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17566         * posix/uname-values.h: New file.
17567         * posix/uname.c: Include that instead of <config-name.h>.
17568         * sysdeps/nacl/uname-values.h: New file.
17569         * sysdeps/arm/nacl/uname-values.h: New file.
17571 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17573         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17574         splitting into fields.
17576 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17578         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17579         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17580         * locale/localeinfo.h: Add enum collation_encoding_type.
17581         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17582         * programs/ld-collate.c (collate_output): Add encoding type info.
17583         * string/strcoll_l.c (STRDIFF): New function.
17584         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17585         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17587 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17589         [BZ #18397]
17590         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17591         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17592         <fpu_control.h> instead of <math/fpu_control.c>.
17593         * sysdeps/mips/mips32/fpu/Makefile: New file.
17595 2015-05-11  Andreas Schwab  <schwab@suse.de>
17597         [BZ #18007]
17598         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17599         nss_endgrent.
17600         (_nss_compat_endgrent): Call nss_endgrent.
17601         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17602         nss_endpwent.
17603         (_nss_compat_endpwent): Call nss_endpwent.
17604         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17605         needent, call nss_setspent only if non-zero.
17606         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17607         (internal_endspent): Don't call nss_endspent.
17608         (_nss_compat_endspent): Call nss_endspent.
17609         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17610         Remove.  All uses removed.
17611         (internal_setent): Remove parameter stayopen, add parameter
17612         stream.  Use it instead of global variable.
17613         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17614         (internal_endent, internal_getent): Add parameter stream.  Use it
17615         instead of global variable.
17616         (CONCAT(_nss_files_end,ENTNAME))
17617         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17618         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17619         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17620         uses removed.
17621         (internal_setent, internal_endent): Add parameter stream.  Use it
17622         instead of global variable.
17623         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17624         stream.
17625         (get_next_alias): Add parameter stream.
17626         (_nss_files_getaliasent_r): Pass global stream.
17627         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17628         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17629         (_nss_files_gethostbyname4_r): Pass local stream to
17630         internal_setent, internal_getent and internal_endent.  Remove
17631         locking.
17633 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17635         * tst-strfmon1.c (tests): Update expected currency symbol.
17637 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17639         * sysdeps/nacl/gethostname.c: New file.
17641 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17643         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17644         and sinh.
17645         * math/auto-libm-test-out: Regenerated.
17646         * sysdeps/i386/fpu/libm-test-ulps: Update.
17647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17649 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17651         [BZ #18125]
17652         * stdlib/tst-setcontext3.c: New file.
17653         * stdlib/tst-setcontext3.sh: New file.
17654         * stdlib/Makefile (tests): Add tst-setcontext3.
17655         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17656         to verify test program created output file.
17657         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17658         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17659         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17660         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17662 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17664         [BZ #18383]
17665         * elf/tst-tlsalign.c: New file.
17666         * elf/tst-tlsalign-static.c: New file.
17667         * elf/tst-tlsalign-lib.c: New file.
17668         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17669         (tests-static): Add tst-tlsalign-static.
17670         (modules-names): Add tst-tlsalign-lib.
17671         (test-xfail-tst-tlsalign): New variable.
17672         (test-xfail-tst-tlsalign-static): New variable.
17674         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17675         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17677 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17679         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17680         csqrt, erfc, sin and sincos.
17681         * math/auto-libm-test-out: Regenerated.
17682         * sysdeps/i386/fpu/libm-test-ulps: Update.
17683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17685 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17687         * sysdeps/aarch64/libm-test-ulps: Update.
17689 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17691         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17692         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17693         * math/auto-libm-test-out: Regenerated.
17694         * sysdeps/i386/fpu/libm-test-ulps: Update.
17695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17697 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17699         [BZ #18265]
17700         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17701         (wcsncpy): Likewise.
17703 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17705         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17706         Assume __ASSUME_FALLOCATE is always true.
17707         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17708         (__posix_fallocate64_l64): Likweise.
17709         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17710         (posix_fallocate): Likewise.
17711         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17712         (__posix_fallocate64_l64): Likewise.
17713         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17714         [!__ASSUME_FALLOCATE]: Add comment.
17716 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17718         * sysdeps/unix/sysv/linux/i386/Makefile
17719         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17720         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17721         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17722         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17723         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17724         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17725         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17727 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17729         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17730         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17731         tgamma.
17732         * math/auto-libm-test-out: Regenerated.
17733         * sysdeps/i386/fpu/libm-test-ulps: Update.
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17736 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17738         * math/auto-libm-test-in: Add more tests of tgamma.
17739         * math/auto-libm-test-out: Regenerated.
17740         * sysdeps/i386/fpu/libm-test-ulps: Update.
17741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17743         * math/auto-libm-test-in: Add more tests of tanh.
17744         * math/auto-libm-test-out: Regenerated.
17745         * sysdeps/i386/fpu/libm-test-ulps: Update.
17746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748         * math/auto-libm-test-in: Add more tests of tan.
17749         * math/auto-libm-test-out: Regenerated.
17750         * sysdeps/i386/fpu/libm-test-ulps: Update.
17751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17753         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17754         * math/auto-libm-test-out: Regenerated.
17755         * sysdeps/i386/fpu/libm-test-ulps: Update.
17756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758         * math/auto-libm-test-in: Add another test of pow.
17759         * math/auto-libm-test-out: Regenerated.
17760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17762         * math/auto-libm-test-in: Add more tests of lgamma.
17763         * math/auto-libm-test-out: Regenerated.
17764         * sysdeps/i386/fpu/libm-test-ulps: Update.
17765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17768         log1p.
17769         * math/auto-libm-test-out: Regenerated.
17770         * sysdeps/i386/fpu/libm-test-ulps: Update.
17771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17773 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17775         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17776         Elf64_Chdr structs and ELFCOMPRESS constants.
17778 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17780         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17781         expm1.
17782         * math/auto-libm-test-out: Regenerated.
17783         * sysdeps/i386/fpu/libm-test-ulps: Update.
17784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17786         * math/auto-libm-test-in: Add more tests of erf and erfc.
17787         * math/auto-libm-test-out: Regenerated.
17788         * sysdeps/i386/fpu/libm-test-ulps: Update.
17789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17791 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17793         * config.h.in (HAVE_AARCH64_BE): Add.
17795 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17797         * math/auto-libm-test-in: Add more tests of csqrt.
17798         * math/auto-libm-test-out: Regenerated.
17799         * sysdeps/i386/fpu/libm-test-ulps: Update.
17800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17803         * math/auto-libm-test-out: Regenerated.
17804         * sysdeps/i386/fpu/libm-test-ulps: Update.
17805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17807         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17809 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17811         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17812         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17814         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17815         (euidaccess, eaccess): Define as weak aliases.
17817         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17818         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17819         but __suseconds_t is often 'long int' so some sources assume that
17820         type is being used (e.g. they use %ld to print tv_usec).
17822 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17824         [BZ #18007]
17825         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17826         (CVE-2014-8121)
17827         * nss/tst-nss-getpwent.c: New file.
17828         * nss/Makefile (tests): Add new test.
17830 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17832         [BZ #18346]
17833         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17834         exponents less than 48 as cases where high part of mantissa needs
17835         examining to determine whether argument is integral.
17836         * math/libm-test.inc (round_test_data): Add more tests.
17838 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17840         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17842 2015-04-27  David S. Miller  <davem@davemloft.net>
17844         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17845         __tls_get_addr.
17846         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17848 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17850         [BZ#18333]
17851         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17853 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17855         [BZ#18333]
17856         * time/tzset.c (parse_tzname): Return error on memory allocation
17857         failure.
17858         * test-skeleton.c (struct temp_name_list): Change type of name
17859         member to non-const.
17860         (add_temp_file): Create a copy of the file name.
17861         (delete_temp_files): Deallocate memory.
17862         (create_temp_file): Add comment.
17864 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17866         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17867         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17869 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17871         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17872         * sysdeps/arm/configure: Regenerated.
17874 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17876         [BZ #17715]
17877         * time/tzfile.c (__tzfile_read): Check for large values of
17878         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17879         * time/tzset.c (__tzstring_len): New function, based on the old
17880         __tzstring function.
17881         (__tzstring): Call __tzstring_len.
17882         (parse_tzname): New helper function extracted from
17883         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17884         the input string.
17885         (parse_offset): New helper function extracted from
17886         __tzset_parse_tz.  Replace switch with fallthrough with
17887         initialization before sscanf.
17888         (parse_rule): Likewise.
17889         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17890         new-style function definition.
17891         * timezone/Makefile (tests): Add tst-tzset.
17892         (tst-tzset.out): Dependencies on time zone files.
17893         (tst-tzset-ENV): Set TZDIR.
17894         (testdata/XT%): Copy crafted time zone files.
17895         * timezone/README: Mention crafted time zone files.
17896         * timezone/testdata/XT1, timezone/testdata/XT2,
17897         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17898         files.
17899         * timezone/tst-tzset.c: New test.
17901 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17903         * Makeconfig (+gccwarn): Remove -Winline.
17905 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17907         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17909 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17911         * NEWS: Mention sysconf() cache information support for s390.
17912         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17914 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17916         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17917         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17918         (__nearbyint): Likewise.
17919         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17920         (copysignl): Likewise.
17922 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17924         [BZ #18287]
17925         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17926         based on padding.  (CVE-2015-1781)
17928 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17930         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17931         libc-vdso.h.
17932         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17933         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17934         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17935         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17936         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17937         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17939         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17940         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17941         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17942         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17943         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17944         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17945         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17946         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17947         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17948         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17950         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17951         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17952         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17953         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17954         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17956 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17958         * stdlib/setenv.c (__add_to_environ):
17959         Dump core quickly if setenv (..., NULL, ...) is called.
17960         This time, do it the right way, and pacify GCC with a pragma.
17962 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17964         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17965         IMAP->l_prev cannot be null, and #if out the code for the contrary
17966         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17967         believe that NS (&_dl_ns[NSID]) could point outside the array.
17969         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17970         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17971         before using NSID as an index.
17973 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17975         [BZ #17825]
17976         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17977         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17978         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17980 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17982         Add preliminary port to Google Native Client on ARM.
17983         * abi-tags (.*-.*-nacl.*): New entry.
17984         * sysdeps/arm/nacl: New directory.
17985         * sysdeps/nacl: New directory.
17987 2015-04-16  David S. Miller  <davem@davemloft.net>
17989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17990         lowlevellock-futex.h
17992 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17994         * sysdeps/tile/configure.ac: New file.
17995         * sysdeps/tile/configure: Regenerated.
17997 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17999         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18000         conditionals for weak_alias and libc_hidden_weak.
18001         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18002         libc_hidden_weak and weak_alias.
18003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18004         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18005         and weak_alias for static one.
18007 2015-04-15  David S. Miller  <davem@davemloft.net>
18009         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18011 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18013         [BZ #18206]
18014         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18015           Use signed comparision instead of substraction to avoid
18016           overflow bug.
18017         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18018           Take the sign of ret.
18019         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18020           Do not expect precise return values. Only the sign matters.
18021         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18022         * wcsmbs/test-wcsncmp.c: New File.
18023         * string/test-strncmp.c: Add wcsncmp support.
18025 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18027         [BZ #6792]
18028         * math/w_log1p.c: New file.
18029         * math/w_log1pf.c: Likewise.
18030         * math/w_log1pl.c: Likewise.
18031         * math/Makefile (libm-calls): Add w_log1p.
18032         * math/s_log1pl.c (log1pl): Remove weak_alias.
18033         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18034         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18035         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18036         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18037         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18038         [NO_LONG_DOUBLE] (log1pl): Likewise.
18039         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18041         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18042         (log1p): Remove long_double_symbol.
18043         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18044         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18045         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18046         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18047         remove weak_alias for corresponding log1p function.
18048         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18049         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18050         * sysdeps/ia64/fpu/w_log1p.c: New file.
18051         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18052         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18053         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18055 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18057         [BZ #18247]
18058         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18059         decimal exponent by 1.
18060         * stdlib/tst-strtod-round-data: Add more tests.
18061         * stdlib/tst-strtod-round.c (tests): Regenerated.
18063 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18065         * math/auto-libm-test-in: Add more tests of clog and clog10.
18066         * math/auto-libm-test-out: Regenerated.
18067         * sysdeps/i386/fpu/libm-test-ulps: Update.
18068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18072         * Makeconfig (module-cppflags): Exclude all .v.i files.
18073         (skip-module-cppflags): Variable removed.
18075         * configure.ac (libc_config_ok): Initialize before reading
18076         preconfigure scripts, not after.
18077         * configure: Regenerated.
18079         * test-skeleton.c (TIMEOUT): Move #define to top level.
18080         (main): Grok environment variable TEST_DIRECT.  If set, print
18081         test expectation details into that file and then behave as if
18082         given --direct.
18084 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18086         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18087         warning on 32-bit.
18089 2015-04-08  David S. Miller  <davem@davemloft.net>
18091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18093 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18095         * math/auto-libm-test-in: Add more tests of atanh.
18096         * math/auto-libm-test-out: Regenerated.
18097         * sysdeps/i386/fpu/libm-test-ulps: Update.
18098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100         * math/auto-libm-test-in: Add more tests of atan.
18101         * math/auto-libm-test-out: Regenerated.
18102         * sysdeps/i386/fpu/libm-test-ulps: Update.
18103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18107         * elf/pldd.c (main): Rewrite to use struct
18108         scratch_buffer instead of extend_alloca.
18109         * elf/pldd-xx.c (find_maps): Likewise.
18110         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18111         <alloca.h>.
18112         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18113         scratch_buffer instead of extend_alloca.
18114         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18115         grp/compat-initgroups.c.
18116         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18117         Rewrite to use struct scratch_buffer instead of extend_alloca.
18118         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18119         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18121 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18123         * math/auto-libm-test-in: Add more tests of cbrt.
18124         * math/auto-libm-test-out: Regenerated.
18125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18127         * math/auto-libm-test-in: Add more tests of cabs.
18128         * math/auto-libm-test-out: Regenerated.
18129         * sysdeps/i386/fpu/libm-test-ulps: Update.
18130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18132         [BZ #18210]
18133         [BZ #18211]
18134         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18135         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18136         computations.
18137         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18138         clog10.
18139         * math/auto-libm-test-out: Regenerated.
18140         * sysdeps/i386/fpu/libm-test-ulps: Update.
18141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18143         [BZ #18197]
18144         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18145         (atan): Set FE_TONEAREST mode for internal computations.
18146         * math/auto-libm-test-in: Add more tests of atan.
18147         * math/auto-libm-test-out: Regenerated.
18149 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18151         [BZ #17930]
18152         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18154 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18156         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18158 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18160         * include/scratch_buffer.h: New file.
18161         * malloc/scratch_buffer_grow.c: Likewise.
18162         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18163         * malloc/scratch_buffer_set_array_size.c: Likewise.
18164         * malloc/tst-scratch_buffer.c: Likewise.
18165         * malloc/Makefile (routines): Add scratch_buffer_grow.
18166         (tests): Add test case.
18167         * malloc/Versions (GLIBC_PRIVATE): Export
18168         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18169         __libc_scratch_buffer_set_array_size.
18171 2015-04-06  Richard Henderson  <rth@redhat.com>
18173         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18174         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18176         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18177         unsigned int before printing.
18179 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18181         [BZ #17596]
18182         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18183         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18185 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18187         * include/libc-internal.h (libc_max_align_t): Define.
18189 2015-04-02  Andreas Schwab  <schwab@suse.de>
18191         [BZ #16850]
18192         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18194 2015-04-02  Mel Gorman  <mgorman@suse.de>
18196         [BZ #17195]
18197         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18198         as well as the main arena.
18200 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18202         [BZ #18185]
18203         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18204         sharing L2 cache to 2 for Silvermont/Knights Landing.
18206 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18208         [BZ #17711]
18209         * config.make.in (have-protected-data): New.
18210         * configure.ac: Check linker support for protected data symbol.
18211         * configure: Regenerated.
18212         * elf/Makefile (modules-names): Add tst-protected1moda and
18213         tst-protected1modb if $(have-protected-data) is yes.
18214         (tests): Add tst-protected1a and tst-protected1b if
18215         $(have-protected-data) is yes.
18216         ($(objpfx)tst-protected1a): New.
18217         ($(objpfx)tst-protected1b): Likewise.
18218         (tst-protected1modb.so-no-z-defs): Likewise.
18219         * elf/tst-protected1a.c: New file.
18220         * elf/tst-protected1b.c: Likewise.
18221         * elf/tst-protected1mod.h: Likewise.
18222         * elf/tst-protected1moda.c: Likewise.
18223         * elf/tst-protected1modb.c: Likewise.
18225 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18227         [BZ #17711]
18228         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18229         indicates it is called from do_lookup_x on relocation against
18230         protected data, skip the data definion in the executable from
18231         copy reloc.
18232         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18233         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18234         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18235         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18236         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18237         otherwise to 0.
18238         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18239         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18240         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18241         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18242         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18243         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18245 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18247         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18248         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18250 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18252         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18253         THREAD_SETMEM_NC.
18254         * sysdeps/x86_64/nptl/tls.h: Ditto.
18256 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18258         * dlfcn/tststatic.c (main): Converted to ...
18259         (do_test): ... this.
18260         (TEST_FUNCTION): New macro.
18261         Include test-skeleton.c.
18263 2015-03-26  Alan Modra  <amodra@gmail.com>
18265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18266         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18267         zero for undefined weak.
18268         (elf_machine_plt_conflict): Similarly.
18270 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18272         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18273         atanh.
18274         * math/auto-libm-test-out: Regenerated.
18275         * sysdeps/i386/fpu/libm-test-ulps: Update.
18276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18278         * math/auto-libm-test-in: Add another test of asin.
18279         * math/auto-libm-test-out: Regenerated.
18280         * sysdeps/i386/fpu/libm-test-ulps: Update.
18281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18283         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18284         Remove macro.
18285         (LLL_EBX_REG): Likewise.
18286         (LLL_ENTER_KERNEL): Likewise.
18288         * math/auto-libm-test-in: Add more tests of asin.
18289         * math/auto-libm-test-out: Regenerated.
18290         * sysdeps/i386/fpu/libm-test-ulps: Update.
18291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18293         [BZ #18138]
18294         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18295         libc_do_syscall_args): New structure.
18296         (INTERNAL_SYSCALL_MAIN_0): New macro.
18297         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18298         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18299         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18300         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18301         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18302         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18303         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18304         Replace conditional definitions by conditional definitions of ....
18305         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18306         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18307         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18308         (libpthread-sysdep_routines): Add libc-do-syscall.
18309         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18310         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18311         to __NR_futex not 240.
18313 2015-03-25  Alan Modra  <amodra@gmail.com>
18315         * NEWS: Advertise TLS optimization.
18316         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18317         (DT_PPC_NUM): Increment.
18318         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18319         (CHECK_STATIC_TLS): Use here.
18320         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18321         TLS descriptors.
18322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18323         * sysdeps/powerpc/dl-tls.c: New file.
18324         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18325         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18326         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18327         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18332 2015-03-25  Alan Modra  <amodra@gmail.com>
18334         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18335         for overlapping .opd entries" to "support...".
18336         * sysdeps/powerpc/powerpc64/configure: Regenerate
18338 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18340         * math/auto-libm-test-in: Add more tests of acos.
18341         * math/auto-libm-test-out: Regenerated.
18342         * sysdeps/i386/fpu/libm-test-ulps: Update.
18343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18345         * math/auto-libm-test-in: Add more tests of expm1.
18346         * math/auto-libm-test-out: Regenerated.
18347         * sysdeps/i386/fpu/libm-test-ulps: Update.
18348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18350 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18352         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18353         * math/auto-libm-test-out: Regenerated.
18354         * sysdeps/i386/fpu/libm-test-ulps: Update.
18355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18357         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18360         * math/auto-libm-test-in: Add more tests of log2.
18361         * math/auto-libm-test-out: Regenerated.
18362         * sysdeps/i386/fpu/libm-test-ulps: Update.
18363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18365 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18367         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18368         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18369         _IO_IS_APPENDING bit in READ_WRITE instead.
18371 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18373         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18374         (__determine_cpumask_size): Replace extend_alloca with a
18375         variable-length array.  Do not treat res == 0 as an error.
18377 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18379         [BZ #18100]
18380         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18381         and integer overflow.
18382         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18383         (main): Add integer overflow tests.
18384         * manual/pattern.texi (Calling Wordexp): Document additional use
18385         for WRDE_SYNTAX.
18387 2015-03-23  Alan Modra  <amodra@gmail.com>
18389         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18390         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18391         and false branch of conditional.
18392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18393         Likewise.
18395 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18397         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18398         libc-modules.h
18399         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18400         unused declaration of _hurd_intr_rpc_msg_in_trap.
18401         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18402         defined instead of whether it is non-zero.
18403         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18404         input constraint instead of both input and output constraint.  Use ecx
18405         clobber instead of %ecx.
18406         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18407         mutex_unlock): Use a statement expression instead of an expression list.
18408         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18409         type to vm_size_t instead of vm_address_t.
18410         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18411         defined instead of whether it is non-zero.
18412         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18413         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18414         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18415         comparisons with mapaddr.
18416         * nscd/nscd-client.h: Include <time.h>.
18417         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18418         9th parameter to __vm_region instead of int.
18419         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18420         * scripts/check-local-headers.sh (exclude): Add device/,
18421         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18422         cthreads.h.
18424 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18426         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18427         to account for alignment padding.
18428         * sysdeps/arm/memmove.S: Likewise.
18430 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18432         * sysdeps/unix/sysv/linux/generic/README: New file.
18434 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18436         [BZ #18138]
18437         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18438         (futex_abstimed_wait)
18439         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18440         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18441         of lll_futex_timed_wait.
18443 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18445         [BZ #17542]
18446         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18448 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18450         [BZ #17090]
18451         [BZ #17620]
18452         [BZ #17621]
18453         [BZ #17628]
18454         * NEWS: Update.
18455         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18456         entries with Static TLS too.  Skip entries past the end of the
18457         allocated DTV, from Alan Modra.
18458         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18459         Static TLS DTV entry set up from...
18460         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18461         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18462         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18463         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18464         for Static TLS.
18465         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18466         that the slot we find is associated with the given map before
18467         using its generation count.
18468         * nptl_db/db_info.c: Include ldsodefs.h.
18469         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18470         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18471         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18472         (link_map::l_tls_offset): New struct field.
18473         (dtv_t::counter): Likewise.
18474         (rtld_global): New struct.
18475         (_rtld_global): New rtld variable.
18476         (dl_tls_dtv_slotinfo_list): New rtld global field.
18477         (dtv_slotinfo_list): New struct.
18478         (dtv_slotinfo): Likewise.
18479         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18480         (td_lookup): Rename to...
18481         (td_mod_lookup): ... this.  Use new mod parameter instead of
18482         LIBPTHREAD_SO.
18483         * nptl_db/td_thr_tlsbase.c: Include link.h.
18484         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18485         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18486         addresses even if the DTV is out of date or missing them.
18487         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18488         index zero-length arrays.
18489         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18490         (td_lookup): Make it a macro implemented in terms of...
18491         (td_mod_lookup): ... this declaration.
18492         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18493         (DB_MAIN_VARIABLE): Likewise.
18495 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18497         [BZ #18134]
18498         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18500 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18502         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18504 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18506         [BZ #18128]
18507         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18508         (atomic_add, atomic_increment_and_test)
18509         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18511 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18513         * stdlib/setenv.c (__add_to_environ):
18514         Dump core quickly if setenv (..., NULL, ...) is called.
18516 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18518         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18519         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18520         all the necessary asm magic in one place.
18521         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18522         using those.
18524 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18526         [BZ #14906]
18527         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18528         traced file mtime. Use consistent log message.
18529         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18530         (register_traced_file): Call install_watches. Always set mtime.
18531         (invalidate_cache): Iterate over all trace files. Call install_watches.
18532         (inotify_check_files): Don't inline. Handle watching parent
18533         directories and configuration file movement in and out.
18534         (handle_inotify_events): New function.
18535         (main_loop_poll): Call handle_inotify_events.
18536         (main_loop_epoll): Likewise.
18537         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18538         (struct traced_file): Use array of inotify fds. Add parent directory,
18539         and basename.
18540         (struct database_dyn): Remove unused file_mtime.
18541         (init_traced_file): New inline function.
18542         (define_traced_file): New macro.
18543         * nss/nss_db/db-init.c: Use define_traced_file.
18544         (_nss_db_init): Use init_traced_file.
18545         * nss/nss_files/files-init.c: Use define_traced_file.
18546         (_nss_files_init): Use init_traced_file.
18548 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18550         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18551         [_LIBC]: Do not include <stdlib.h>.
18552         [!_LIBC] (abort): Remove declaration.
18553         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18554         _FP_STATIC_ASSERT instead of conditionally calling abort.
18555         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18556         (_FP_EXTEND_CNAN): Likewise.
18557         (FP_TRUNC): Likewise.
18558         (__FP_CLZ): Likewise.
18559         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18561 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18563         * manual/string.texi (XPG basename): Fix prototype.
18565 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18567         [BZ #18080]
18568         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18569         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18570         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18571         (__setcontext): Likewise.
18572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18573         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18574         Call rt_sigprocmask syscall one time to set new signal mask
18575         and retrieve the current signal mask instead of two calls.
18576         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18577         (__swapcontext): Likewise.
18578         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18579         * stdlib/tst-setcontext2.c: New file.
18581 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18583         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18585 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18587         [BZ #18093]
18588         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18589         the wrong size.
18591 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18593         [BZ #18043]
18594         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18596 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18598         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18599         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18600         Remove define.
18601         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18602         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18603         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18604         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18605         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18606         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18607         define.
18608         * nptl_db/td_symbol_list.c (td_lookup): Remove
18609         HAVE_ASM_GLOBAL_DOT_NAME code.
18610         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18611         HAVE_ASM_GLOBAL_DOT_NAME check.
18612         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18613         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18614         (DOT_LABEL): Remove define.
18615         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18616         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18617         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18618         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18619         (__TLS_GET_ADDR): Likewise.
18620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18621         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18623 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18625         [BZ #18111]
18626         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18627         (_FPU_SETCW): Initialize cw from fpsr before storing.
18628         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18629         (fesetexceptflag): Rewrite using fpu_control.h.
18630         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18632 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18634         [BZ #18110]
18635         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18636         asms.
18637         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18639 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18641         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18642         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18643         abort.
18644         (_FP_FMA): Likewise.
18645         (_FP_DIV): Likewise.
18647 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18649         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18650         with 0 in that case.
18651         * Makefile (summarize-tests): New canned sequence, factored out of
18652         commands for targets tests and xtests.  Display summary lines that
18653         don't start with PASS: or XFAIL: rather than ones that do start with
18654         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18655         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18656         do start with ERROR: or FAIL:.
18657         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18658         (except for [$(build-shared) = yes]).
18659         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18660         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18661         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18662         * nptl/Makefile: Revert 2015-03-04 changes.
18663         [$(CXX) empty] (tests-unsupported): New variable.
18664         * debug/Makefile: Likewise.
18666         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18667         gnulib file.  Replace __attribute with __attribute__ throughout.
18669 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18671         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18673 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18675         [BZ #18104]
18676         * math/auto-libm-test-in: Add another test of pow.
18677         * math/auto-libm-test-out: Regenerated.
18679 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18681         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18682         $(config-cflags-nofma).
18684 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18686         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18687         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18688         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18689         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18690         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18691         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18692         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18693         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18694         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18695         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18696         Add comment on closing #endif.
18698 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18700         * posix/wordexp.c (CHAR_IN_SET): New macro.
18701         (parse_param): Use it.
18703 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18705         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18707 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18709         [BZ #18043]
18710         * posix/wordexp.c (parse_param): Fix buffer overflow.
18711         * posix/wordexp-test.c (test_case): Add test case.
18713 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18715         [BZ #18042]
18716         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18717         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18719 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18721         [BZ #18043]
18722         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18723         (do_bz18043): Delete.
18724         (at_page_end): New.
18725         (testit): Refactor to have words at the edge of unreadable page.
18727 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18729         [BZ #16734]
18730         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18731         Cleanup read-only streams as well.
18732         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18734 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18736         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18737         <bits/libc-lockP.h>
18739 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18741         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18742         on [__KERNEL__].
18743         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18744         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18745         * soft-fp/op-common.h (_FP_DECL): Likewise.
18747 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18749         * elf/ifuncdep2.c (global): Replace
18750         __attribute__((visibility("protected"))) with
18751         asm (".protected global").
18752         * elf/ifuncmod1.c (global): Likewise.
18753         * elf/ifuncmod5.c (global): Likewise.
18755 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18757         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18758         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18760 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18762         * manual/install.texi (Configuring and compiling):
18763         Document test-wrapper-env-only.
18764         * INSTALL: Regenerated.
18766 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18768         [BZ #18043]
18769         * posix/wordexp.c (parse_param): Fix buffer overflow.
18770         * posix/wordexp-test.c (do_bz18043): Add test case.
18772 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18774         * time/tst-strptime2.c (do_test): Ensure failing tests are
18775         reported correctly.
18776         * time/tst-strptime3.c (do_test): Likewise.
18778 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18780         Fix aio_error thread-safety.
18781         * sysdeps/pthread/aio_error.c: New file
18782         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18783         synchronization.
18785 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18787         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18788         (group_number, vfprintf): Use it.
18789         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18790         (JUMP, REF): Use it.
18791         (WORK_BUFFER_SIZE): New enum constant.
18792         (process_arg, vfprintf): Use it.
18794 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18796         * manual/errno.texi (Error Messages): Complete example function
18797         by adding missing #define.
18798         (program_invocation_name): Add statement indicating GNU
18799         extension and reference which header file declares the variable.
18800         (program_invocation_short_name): Likewise.
18802 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18804         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18805         compatibility note.
18807 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18809         * Makeconfig (test-wrapper-env-only): New variable.
18810         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18811         then use that with $(test-wrapper-env-only) rather than using
18812         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18814 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18816         [BZ #18082]
18817         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18818         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18819         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18820         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18821         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18822         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18823         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18824         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18825         Likewise.
18826         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18827         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18828         Likewise.
18829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18830         Likewise.
18831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18832         Likewise.
18833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18834         Likewise.
18835         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18837         Likewise.
18838         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18839         Likewise.
18840         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18841         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18843 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18845         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18846         (ETH_ALEN): New macro.
18847         (struct ether_addr): Use it for length of ether_addr_octet.
18849         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18850         (setdb): Don't call __nss_configure_lookup for "rpc".
18851         (do_test): Don't call test_rpc.
18852         (output_rpcent, test_rpc): Functions moved ...
18853         * sunrpc/test-rpcent.c: ... to this new file.
18854         * sunrpc/Makefile (tests): Add it.
18856         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18857         __xpg_sigpause.
18858         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18859         * nptl/tst-signal6.c: Likewise.
18860         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18861         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18863         * configure.ac (libc_cv_cxx_link_ok): New check.
18864         Reset CXX to empty if it fails to link.
18865         * configure: Regenerated.
18866         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18867         bug-atexit3-lib only if $(CXX) is nonempty.
18868         * nptl/Makefile (tests): Likewise for tst-cancel24.
18869         (tests, tests-static): Likewise for tst-cancel24-static.
18870         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18871         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18872         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18873         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18875 2015-03-04  Andreas Schwab  <schwab@suse.de>
18877         [BZ #17631]
18878         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18879         for non-GCC compilers.
18880         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18881         Likewise.
18883 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18885         [BZ #17776]
18886         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18887         integer before bitwise and assembly operations.
18888         (feclearexcept): Likewise.
18889         * math/test-fenvinline.c: New file.
18890         * math/Makefile: Add test-fenvinline test.
18892 2015-03-03  Alan Modra  <amodra@gmail.com>
18894         [BZ #16512]
18895         * scripts/localplt.awk: Strip off symbol version.
18896         * NEWS: Mention bug fix.
18898 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18900         * sysdeps/pthread/timer_routines.c
18901         (timer_free_list, thread_free_list, thread_active_list): Make static.
18903 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18905         [BZ #17779]
18906         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18907         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18908         Undefine.
18909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18910         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18911         Likewise.
18912         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18913         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18914         Likewise.
18916 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18918         [BZ #18036]
18919         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18920         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18922 2015-03-02  Andreas Schwab  <schwab@suse.de>
18924         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18925         variable name.
18927 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18929         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18930         Return error status.
18932 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18934         [BZ #15969]
18935         * locale/findlocale.c (_nl_find_locale): Introduce const
18936         version of loc_name and drop unsafe type casts.
18938 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18940         * dlfcn/tststatic2.c (main): Converted to ...
18941         (do_test): ... this.
18942         (TEST_FUNCTION): New macro.
18943         Include test-skeleton.c.
18945 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18947         [BZ #17711]
18948         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18949         (tests-pie): Add vismain.
18950         (CFLAGS-vismain.c): New.
18951         * elf/vismain.c: Add comments for PIE requirement.
18953 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18955         [BZ #18046]
18956         [BZ #18047]
18957         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18958         0x1p-56L as threshold for just returning the argument.
18959         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18960         0x1p-32L as threshold for just returning the argument.
18961         * math/auto-libm-test-in: Add more tests of atanh.
18962         * math/auto-libm-test-out: Regenerated.
18963         * sysdeps/i386/fpu/libm-test-ulps: Update.
18964         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18966 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18968         * string/bcopy.c (bcopy): Call memmove for performance.
18970 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18972         * string/bzero.c (__bzero): Call memset for performance.
18974 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18976         [BZ #18068]
18977         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18978         to 00100000.
18980 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18982         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18984 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18986         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18987         (__kernel_standard): Use CSTR macro when setting exc.name.
18988         * sysdeps/ieee754/Makefile [$(subdir) = math]
18989         (CFLAGS-k_standard.c): Remove variable.
18991         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18992         setting p and q from "else if" to "else".
18993         (qzero): Likewise.
18994         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18995         (qone): Likewise.
18996         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18997         (qzerof): Likewise.
18998         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18999         (qonef): Likewise.
19000         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19001         (qzero): Likewise.
19002         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19003         (qone): Likewise.
19005         [BZ #18038]
19006         [BZ #18039]
19007         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19008         return pi/2 for arguments below 0x1p-113L.
19009         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19010         return pi/2 for arguments below 0x1p-106L.
19011         * math/auto-libm-test-in: Add more tests of acos.
19012         * math/auto-libm-test-out: Regenerated.
19014         [BZ #16351]
19015         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19016         (MO): New macro.
19017         (__ieee754_asin): Force underflow exception for results with small
19018         absolute value.
19019         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19020         (MO): New macro.
19021         (__ieee754_asinf): Force underflow exception for results with
19022         small absolute value.
19023         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19024         (__ieee754_asin): Force underflow exception for results with small
19025         absolute value.
19026         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19027         (__ieee754_asinf): Force underflow exception for results with
19028         small absolute value.
19029         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19030         (__ieee754_asinl): Force underflow exception for results with
19031         small absolute value.
19032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19033         (__ieee754_asinl): Force underflow exception for results with
19034         small absolute value.
19035         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19036         (__ieee754_asinl): Force underflow exception for results with
19037         small absolute value.
19038         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19039         Include <math.h>.
19040         * math/auto-libm-test-in: Do not mark underflow exceptions as
19041         possibly missing for bug 16351.
19042         * math/auto-libm-test-out: Regenerated.
19044         [BZ #18030]
19045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19046         of power of 2 down when low part has opposite sign.
19047         * math/libm-test.inc (logb_test_data): Add more tests.
19049 2015-02-26  Andreas Schwab  <schwab@suse.de>
19051         [BZ #18032]
19052         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19053         over collating symbol inside a bracket expression.  Minor cleanup.
19054         * posix/tst-fnmatch3.c (do_test): Add test case.
19056 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #18029]
19059         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19060         Adjust exponent of power of 2 down when low part has opposite
19061         sign.
19062         * math/libm-test.inc (ilogb_test_data): Add more tests.
19064 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19066         [BZ #15969]
19067         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19068         the previous change.
19070         [BZ #15969]
19071         * locale/findlocale.c (_nl_find_locale): Retry archive search
19072         after alias expansion.
19074 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19076         * iconv/tst-iconv3.c (main): Converted to ...
19077         (do_test): ... this.
19078         (TEST_FUNCTION): New macro.
19079         Include test-skeleton.c.
19081         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19082         (convert): Make function static.
19083         (test_unalign): Likewise.  Add const to argument pointee types.
19084         (main): Replace with static function do_test.
19085         Print "Succeeded." only if RET is zero.
19086         (TEST_FUNCTION): New macro.
19087         Include test-skeleton.c.
19089         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19090         returns a null pointer.
19092 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19094         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19095         to __memcpy_ppc only for static builds.
19097 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #18020]
19100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19101         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19102         * math/auto-libm-test-in: Add more tests of asinh.
19103         * math/auto-libm-test-out: Regenerated.
19104         * sysdeps/i386/fpu/libm-test-ulps: Update.
19105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19107 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19109         [BZ #15850]
19110         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19111         and ip6_mtuinfo definitions here.
19112         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19113         in this define too.  Update comment.
19115 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19117         * elf/sprof.c (load_shobj): Tweak error message to match others.
19119 2015-02-24  Kevin Easton  <kevin@guarana.org>
19121         [BZ #16145] (partial fix)
19122         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19123         to reduce lock contention.
19125 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19127         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19128         (struct timex): Update time comment.
19129         (ADJ_SETOFFSET): Define.
19131 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19133         [BZ #18019]
19134         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19135         2**56 not 2**28 as threshold for log (2x) formula.
19136         * math/auto-libm-test-in: Add more tests of acosh.
19137         * math/auto-libm-test-out: Regenerated.
19138         * sysdeps/i386/fpu/libm-test-ulps: Update.
19139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19141 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19143         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19144         parenthesis around the buf assignment.
19145         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19147 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19149         [BZ #16783]
19150         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19151         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19152         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19153         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19154         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19155         * math/libm-test.inc (scalb_test_data): Add more tests.
19157 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19159         [BZ #17916]
19160         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19161         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19163 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19165         [BZ #17523]
19166         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19167         * io/bits/fcntl2.h (open): Use it.
19168         (openat): Likewise.
19169         * io/open.c (__libc_open): Likewise.
19170         * io/open64.c (__libc_open64): Likewise.
19171         * io/open64_2.c (__open64_2): Likewise.
19172         * io/open_2.c (__open_2): Likewise.
19173         * io/openat.c (__openat): Likewise.
19174         * io/openat64.c (__openat64): Likewise.
19175         * io/openat64_2.c (__openat64_2): Likewise.
19176         * io/openat_2.c (__openat_2): Likewise.
19177         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19178         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19179         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19180         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19181         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19182         (__open_nocancel): Likewise.
19183         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19184         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19185         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19187 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19189         [BZ #14841]
19190         * resolv/gethnamaddr.c (getanswer): Skip logging if
19191         RES_USE_DNSSEC is set.
19192         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19194 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19196         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19198 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19200         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19201         201304L, for Unicode 7.
19203 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19205         [BZ #17836]
19206         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19207         shared library.  Add gmon-start.os otherwise.
19208         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19209         $(objpfx)gmon-start.os if builing shared library.
19210         ($(objpfx)g$(static-start-installed-name)): Likewise.
19212 2015-02-23  Andreas Schwab  <schwab@suse.de>
19214         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19216 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19218         [BZ #17269]
19219         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19220         (enlarge_userbuf): Likewise.
19222 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19224         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19225         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19226         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19227         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19229 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19231         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19232         expression inside statement expression.
19234 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19237         <sysdeps/nptl/lowlevellock.h> and remove macros and
19238         functions that are now defined there.
19239         (SYS_futex): Remove.
19240         (lll_compare_and_swap): Remove.
19241         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19243 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19245         [BZ #17999]
19246         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19247         instead of scandirat.
19248         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19249         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19250         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19251         __scandirat.
19252         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19253         (__scandirat): Declare.  Use libc_hidden_proto.
19254         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19255         Remove variable.
19256         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19258 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19260         [BZ #15319]
19261         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19262         (MO): New macro.
19263         (__ieee754_atan2): For results with small absolute value, force
19264         underflow exception and remove excess range and precision from
19265         return value.
19266         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19267         (MO): New macro.
19268         (__ieee754_atan2f): For results with small absolute value, force
19269         underflow exception and remove excess range and precision from
19270         return value.
19271         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19272         (MO): New macro.
19273         (__atan): For results with small absolute value, force underflow
19274         exception and remove excess range and precision from return value.
19275         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19276         (MO): New macro.
19277         (__atanf): For results with small absolute value, force underflow
19278         exception and remove excess range and precision from return value.
19279         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19280         <math.h>.
19281         (__ieee754_atan2): Force underflow exception for results with
19282         small absolute value.
19283         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19284         <math_private.h>.
19285         (atan): Force underflow exception for results with small absolute
19286         value.
19287         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19288         (__atanf): Force underflow exception for results with small
19289         absolute value.
19290         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19291         <math.h>.
19292         (__atanl): Force underflow exception for results with small
19293         absolute value.
19294         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19295         (__atanl): Force underflow exception for results with small
19296         absolute value.
19297         * sysdeps/x86/fpu/bits/mathinline.h
19298         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19299         (__ieee754_atan2): Only define inline for long double.
19300         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19301         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19302         * math/auto-libm-test-in: Do not mark underflow exceptions as
19303         possibly missing for bug 15319.  Add more tests of atan2.
19304         * math/auto-libm-test-out: Regenerated.
19305         * math/libm-test.inc (casin_test_data): Do not mark underflow
19306         exceptions as possibly missing for bug 15319.
19307         (casinh_test_data): Likewise.
19308         * sysdeps/i386/fpu/libm-test-ulps: Update.
19310 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19312         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19313         * sysdeps/mips/bits/endian.h: Fix comments.
19315 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19317         [BZ #17996]
19318         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19319         (hdestroy_r): Likewise.
19320         (hsearch_r): Likewise.
19321         (__hcreate_r): Declare and use libc_hidden_proto.
19322         (__hdestroy_r): Likewise.
19323         (__hsearch_r): Likewise.
19324         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19325         (hcreate): Call __hcreate_r instead of hcreate_r.
19326         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19327         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19328         as weak alias of __hcreate_r.
19329         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19330         __hdestroy_r.
19331         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19332         __hsearch_r.
19333         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19334         Remove variable.
19335         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19336         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19337         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19338         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19340 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19343         arena_lock into a single arena_get.
19345 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19347         * dl-reloc.c: Inlucde libc-internal.h.
19348         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19349         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19350         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19351         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19352         (grow_heap): Likewise.
19353         * malloc/malloc.c: Include libc-internal.h.
19354         (do_check_malloc): Call powerof2.
19355         (sysmalloc): Use pagesize. Call ALIGN_UP.
19356         (systrim): Use pagesize.
19357         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19358         (__libc_valloc): Use pagesize.
19359         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19361 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19363         [BZ #17991]
19364         * include/sys/resource.h (__getrlimit64): Declare.  Use
19365         libc_hidden_proto.
19366         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19367         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19368         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19369         getrlimit64.
19370         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19371         __getrlimit64.
19372         [!getrlimit64] (getrlimit64): Define as weak alias of
19373         __getrlimit64.  Use libc_hidden_weak.
19374         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19375         using __getrlimit64 not __new_getrlimit64.
19376         (__GI_getrlimit64): Likewise.
19377         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19378         Likewise.
19379         (__GI_getrlimit64): Likewise.
19380         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19382         (getrlimit): Add __getrlimit64 alias.
19383         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19384         Likewise.
19385         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19386         Remove variable.
19387         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19388         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19390 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19392         * libio/fileops.c: Add missing sys/mman.h
19393         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19395 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19397         * manual/math.texi (Errors in Math Functions): Clarify goals
19398         regarding inexact and underflow exceptions.
19400 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19402         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19403         * sysdeps/mips/memset.S: Ditto.
19405 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19407         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19409 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19411         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19412         (__v1longjmp): Remove versioned symbol.
19413         (__v1siglongjmp): Remove alias and versioned symbol.
19414         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19415         (__v2siglongjmp): Likewise.
19417 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19419         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19421 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19423         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19425 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #17987]
19428         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19429         zero result does not depend on the sign resulting from
19430         subtraction.
19431         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19432         Likewise.
19433         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19434         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19435         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19436         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19437         * math/libm-test.inc (remquo_test_data): Add more tests.
19439 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19441         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19442         Problem reported by J William Piggott.
19444 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #17978]
19447         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19448         products 4 * y and 2 * y where those would overflow.
19449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19450         Likewise.
19451         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19452         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19453         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19454         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19455         * math/libm-test.inc (remquo_test_data): Add more tests.
19457         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19459         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19460         [defined _COMPILING_NEWLIB].
19461         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19462         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19464         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19465         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19467 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19469         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19470         acquired.
19472 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19474         [BZ #17792]
19475         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19476         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19477         HOST_STACK_END_ADDR): Likewise.
19479 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19481         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19482         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19483         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19485 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19487         * sysdeps/generic/c++-types.data: New file.
19488         * sysdeps/generic/ld.abilist: New file.
19489         * sysdeps/generic/libBrokenLocale.abilist: New file.
19490         * sysdeps/generic/libanl.abilist: New file.
19491         * sysdeps/generic/libc.abilist: New file.
19492         * sysdeps/generic/libcrypt.abilist: New file.
19493         * sysdeps/generic/libdl.abilist: New file.
19494         * sysdeps/generic/libm.abilist: New file.
19495         * sysdeps/generic/libpthread.abilist: New file.
19496         * sysdeps/generic/libresolv.abilist: New file.
19497         * sysdeps/generic/librt.abilist: New file.
19499 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19501         [BZ #17569]
19502         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19503         Compute absolute value of x as modified by fmod, not original
19504         value of x.
19505         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19506         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19507         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19508         RUN_TEST_ffI_f1_mod8.
19509         (remquo_test_data): Add more tests.
19511 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19513         * sysdeps/init_array/pt-crti.S: New file.
19515 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19517         [BZ #17967]
19518         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19519         __builtin_fmaf instead of relying on contraction of a * b + c.
19521 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19523         [BZ #17969]
19524         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19525         node.
19527 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19529         [BZ #17964]
19530         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19531         __builtin_fma instead of relying on contraction of a * b + c.
19533 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19535         * Makeconfig (ASFLAGS): Add -Werror=undef.
19536         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19537         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19538         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19540         * Makeconfig (after-link): New variable.
19541         (+link-pie, +link-pie-tests): Use it.
19542         (+link-static, +link-static-tests): Likewise.
19543         (+link, +link-tests): Likewise.
19544         * Makerules (build-module, build-module-asneeded): Likewise.
19545         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19546         Likewise.
19547         * elf/Makefile ($(objpfx)ld.so): Likewise.
19549 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19551         [BZ #17965]
19552         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19553         both struct timeval and struct timespec.
19555 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19557         [BZ #16560]
19558         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19559         and redefine.
19560         (__ieee754_exp2l): Do not multiply small fractional parts by
19561         M_LN2l.
19562         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19563         small argument.
19564         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19565         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19566         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19567         * math/auto-libm-test-in: Add more tests of exp2.
19568         * math/auto-libm-test-out: Regenerated.
19570 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19572         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19573         unaligned path.
19575 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19577         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19578         little endian.
19580 2015-02-12  Andreas Schwab  <schwab@suse.de>
19582         [BZ #15790]
19583         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19584         Filter out elision flags from value returned in kind.
19585         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19586         * nptl/tst-pthread-mutexattr.c: New file.
19588 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19590         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19591         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19592         into gnu-gnu, and update comment to refer to abi-tags.
19594 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #15467]
19597         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19598         (__sincos): Set errno to EDOM for infinite argument.
19599         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19600         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19601         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19602         (__sincosl): Set errno to EDOM for infinite argument.
19603         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19604         (__sincosl): Set errno to EDOM for infinite argument.
19605         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19606         (__sincosl): Set errno to EDOM for infinite argument.
19607         * math/libm-test.inc (sincos_test_data): Test errno setting.
19609 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19611         * string/strxfrm_l.c: Remove #define STRCMP.
19612         * string/strcoll_l.c: Remove #define STRLEN.
19613         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19614         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19616 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19618         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19619         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19620         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19621         * sysdeps/mips/mips64/Makefile: ... here.
19622         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19623         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19625         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19626         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19627         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19628         * sysdeps/mips/mips64/n64/Implies: Likewise.
19630 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19632         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19633         <sys/time.h>, <string.h>, and <errno.h>.
19634         (dest_offset, dest_address, value, zero): Remove unused variables.
19635         (ldouble): Remove typedef.
19636         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19637         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19638         1).  Fix code style.
19639         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19640         (check): Function removed.
19641         (CHECK): New macro.
19642         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19643         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19644         Don't call set_sigaction_FP and remove_sigaction_FP here.
19645         (ldouble_test): Just use 'long double' as macro argument, no need for
19646         the 'ldouble' typedef.
19647         (do_test): Set up SIGFPE handler at start, using plain signal rather
19648         than sigaction.  Fix code style.
19650 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19652         [BZ #17949]
19653         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19654         jump label.
19656 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19658         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19659         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19661         * sysdeps/powerpc/configure.ac: Remove file.
19662         * sysdeps/powerpc/configure: Likewise.
19664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19665         [sysdep_routines]: Remove wordcopy-power6 object.
19666         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19667         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19669         (__memmove_ppc32): Likewise.
19670         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19671         file.
19672         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19673         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19674         Remove preprocessor.
19676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19677         [sysdep_routines]: Remove wide chars objects.
19678         [wcsmbs]: New rule for wide char objects.
19680         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19681         Remove wordcopy-power6 obejct.
19682         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19683         Use local call for wordcopy and memcpy symbols.
19684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19686         implementation for loader.
19687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19689         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19690         Remove wordcopy-power7 object.
19691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19692         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19693         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19694         (_wordcopy_fwd_dest_aligned): Likewise.
19695         (_wordcopy_bwd_aligned): Likewise.
19696         (_wordcopy_bwd_dest_aligned): Likewise.
19698         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19699         Rewrite to call __memmove_ppc instead of include default
19700         implementation.
19702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19703         Remove wide chars objects.
19704         [wcsmbs]: New rule for wide char objects.
19706 2015-02-09  Andreas Schwab  <schwab@suse.de>
19708         [BZ #17912]
19709         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19710         in terms of __O_DIRECTORY.
19712 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19714         * time/getdate.c: Include <stdbool.h>.
19715         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19716         call PTR_MANGLE.
19717         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19718         PTR_DEMANGLE.
19720 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19722         Add ersatz _Static_assert on older C hosts
19723         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19724         pre-C11 C platform that is not known to support _Static_assert.
19726 2015-02-07  Richard Braun  <rbraun@sceen.net>
19728         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19729         sigstate.
19730         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19732 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19734         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19735         priority against unexistent AIO_PRIO_DELTA_MAX.
19736         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19737         instead of int.
19738         * misc/fchflags.c (fchflags): Likewise.
19739         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19740         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19741         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19742         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19743         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19744         Declare macros.
19745         [__USE_MISC] (chflags, fchflags): Declare functions.
19746         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19747         EINVAL when nfds is greater than FD_SETSIZE.
19748         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19749         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19750         45.
19751         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19752         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19753         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19754         MACH_RCV_TIMED_OUT.
19755         * hurd/hurd/signal.h (_hurd_self_sigstate,
19756         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19757         Explicit casts from void *.
19758         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19759         * abi-tags: Rename gnu-gnu os into gnu.
19761         [BZ #4719]
19762         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19763         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19764         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19765         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19766         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19767         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19769         [BZ #17944]
19770         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19771         duplicates ADDR->sun_path with sockaddr LEN limitation.
19772         * sysdeps/mach/hurd/connect.c: Include <string.h>
19773         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19774         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19775         * sysdeps/mach/hurd/sendto.c: Likewise.
19776         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19777         implementing it by hand.
19779 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19781         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19782         Use sfi_breg on ldr.
19783         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19784         Likewise.
19786         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19787         it's defined.
19788         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19789         Test SIGSETXID only if it's defined.
19791         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19793         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19794         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19796         * nptl/tst-align2.c: Moved ...
19797         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19798         * nptl/Makefile (tests): Remove tst-align2.
19799         * sysdeps/unix/sysv/linux/Makefile
19800         [$(subdir) = nptl] (tests): Add tst-align-clone.
19801         * nptl/tst-getpid1.c: Moved ...
19802         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19803         * nptl/tst-getpid2.c: Moved ...
19804         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19805         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19806         * sysdeps/unix/sysv/linux/Makefile
19807         [$(subdir) = nptl] (tests): ... here.
19808         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19809         * sysdeps/unix/sysv/linux/Makefile
19810         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19812         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19813         Drop trailing \n from perror argument.  Use return rather than exit.
19815         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19816         on [SA_SIGINFO].
19817         * nptl/tst-cancel21.c (do_test): Likewise.
19818         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19819         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19820         [!SA_SIGINFO]: Make it a stub test.
19822         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19823         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19825         * posix/tst-getlogin.c: Move to ...
19826         * login/tst-getlogin.c: ... here.
19827         * posix/Makefile (tests): Move tst-getlogin to ...
19828         * login/Makefile (tests): ... here.
19830         * libio/tst-atime.c (do_test): Move local variables SV and E
19831         inside [ST_NOATIME] conditional.
19833         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19835         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19837         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19838         (wait_code): New function replaces macro.
19839         Call nanosleep rather than syscall.
19841         * nptl/pt-system.c: Rewritten.  Put everything under
19842         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19843         Use IFUNC to redirect when possible.
19845         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19846         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19847         Use IFUNC to redirect when possible.
19849         * nptl/pt-fork.c: Rewritten.  Put everything under
19850         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19851         Use IFUNC to redirect when possible.
19852         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19854         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19855         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19856         unconditionally nowadays.  This included the only reference to
19857         __vdso_clock_gettime that appears outside libc proper.
19858         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19859         Remove version set (containing only __vdso_clock_gettime).
19860         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19861         Add attribute_hidden.
19862         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19863         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19864         libc_hidden_data_def.
19865         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19866         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19868         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19869         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19870         setrpcent, and getrpcport to ...
19871         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19872         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19873         getrpcbynumber_r, and getrpcent_r to ...
19874         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19875         * inet/getrpcbyname.c: Moved ...
19876         * sunrpc/getrpcbyname.c: ... here.
19877         * inet/getrpcbyname_r.c: Moved ...
19878         * sunrpc/getrpcbyname_r.c: ... here.
19879         * inet/getrpcbynumber.c: Moved ...
19880         * sunrpc/getrpcbynumber.c: ... here.
19881         * inet/getrpcbynumber_r.c: Moved ...
19882         * sunrpc/getrpcbynumber_r.c: ... here.
19883         * inet/getrpcent.c: Moved ...
19884         * sunrpc/getrpcent.c: ... here.
19885         * inet/getrpcent_r.c: Moved ...
19886         * sunrpc/getrpcent_r.c: ... here.
19887         * inet/Makefile (routines): Move those to ...
19888         * sunrpc/Makefile (routines): ... here.
19889         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19890         the $(subdirs) list.
19891         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19892         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19893         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19894         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19896         * elf/Makefile (routines): Include $(all-dl-routines), not just
19897         $(dl-routines).
19898         (rtld-routines): Likewise.  Use = rather than :=.
19899         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19900         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19901         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19902         * sysdeps/arm/Makefile: Likewise.
19903         * sysdeps/i386/Makefile: Likewise.
19904         * sysdeps/x86_64/Makefile: Likewise.
19905         * sysdeps/hppa/Makefile [$(subdir) = elf]
19906         (sysdep_routines, sysdep-rtld-routines): Don't add
19907         $(sysdep-dl-routines) to these.
19908         * sysdeps/ia64/Makefile: Likewise.
19909         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19910         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19911         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19912         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19913         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19914         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19915         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19916         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19917         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19918         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19919         these; sysdep-dl-routines alone is enough.
19921 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19923         [BZ #17932]
19924         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19925         where multiplication results in zero and third argument is finite
19926         and nonzero.
19927         * math/auto-libm-test-in: Add more tests of fma.
19928         * math/auto-libm-test-out: Regenerated.
19930         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19931         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19932         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19933         (_FP_CMP_EQ): Likewise.
19934         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19936         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19937         extra argument CHECK_NAN.  Redefine as wrapper around
19938         _FP_EXTEND_CNAN.
19940 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19942         * version.h (RELEASE): Set to "stable".
19943         (VERSION): Set to "2.21"
19944         * include/features.h (__GLIBC_MINOR__): Set to 21.
19946         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19948 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19949             Paul Eggert  <eggert@cs.ucla.edu>
19951         [BZ #16618]
19952         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19953         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19954         size in bytes. Store needed elements in wpmax. Use needed size
19955         in bytes for extend_alloca.
19957 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19959         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19960         binutls 2.25, and texinfo 5.2.
19961         * INSTALL: Regenerate.
19962         * sysdeps/nios2/configure: Regenerate.
19963         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19964         * manual/contrib.texi: Update.
19965         * po/be.po: Update.
19966         * po/bg.po: Update.
19967         * po/ca.po: Update.
19968         * po/cs.po: Update.
19969         * po/da.po: Update.
19970         * po/de.po: Update.
19971         * po/el.po: Update.
19972         * po/eo.po: Update.
19973         * po/es.po: Update.
19974         * po/fi.po: Update.
19975         * po/fr.po: Update.
19976         * po/gl.po: Update.
19977         * po/hr.po: Update.
19978         * po/hu.po: Update.
19979         * po/ia.po: Update.
19980         * po/id.po: Update.
19981         * po/it.po: Update.
19982         * po/ja.po: Update.
19983         * po/ko.po: Update.
19984         * po/lt.po: Update.
19985         * po/nb.po: Update.
19986         * po/nl.po: Update.
19987         * po/pl.po: Update.
19988         * po/pt_BR.po: Update.
19989         * po/ru.po: Update.
19990         * po/rw.po: Update.
19991         * po/sk.po: Update.
19992         * po/sl.po: Update.
19993         * po/sv.po: Update.
19994         * po/tr.po: Update.
19995         * po/uk.po: Update.
19996         * po/vi.po: Update.
19997         * po/zh_CN.po: Update.
19998         * po/zh_TW.po: Update.
20000         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20001         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20002         * sysdeps/hppa/dl-irel.h: Remove #warning.
20003         * sysdeps/hppa/entry.h: Provide prototype for
20004         __canonicalize_funcptr_for_compare and cast argument.
20005         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20006         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20007         * sysdeps/hppa/sotruss-lib.c: New file.
20008         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20009         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20010         (atomic_compare_and_exchange_bool_acq): Likewise.
20011         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20012         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20014         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20015         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20016         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20018 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20020         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20021         called function in non-PIC case.
20023 2015-01-31  David S. Miller  <davem@davemloft.net>
20025         * sysdeps/sparc/sparc32/bits/atomic.h
20026         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20027         unlock not after it.
20028         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20029         volatile register usage warnings from the compiler.
20031         * sysdeps/sparc/nptl/sem_init.c: Delete.
20032         * sysdeps/sparc/nptl/sem_post.c: Delete.
20033         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20034         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20035         * sysdeps/sparc/sparc32/sem_init.c: New file.
20036         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20037         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20038         padding explicitly initialized.
20039         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20040         padding for in-semaphore spinlock.
20041         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20042         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20043         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20044         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20045         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20046         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20047         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20048         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20049         version.
20050         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20051         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20053 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20055         [BZ #17801]
20056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20057         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20058         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20059         New.
20060         (index_AVX_Fast_Unaligned_Load): Likewise.
20061         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20062         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20063         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20064         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20065         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20066         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20067         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20068         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20069         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20071 2015-01-29  Andreas Schwab  <schwab@suse.de>
20073         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20075 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20077         [BZ #17892]
20078         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20080 2015-01-28  Martin Sebor  <msebor@redhat.com>
20082         * math/README.libm-test: Clarify. Add "How to read the test output."
20084 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20086         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20087         Define to 0.
20089 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20091         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20092         (__HAVE_64B_ATOMICS): Define to 0.
20094 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20096         [BZ #17885]
20097         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20098         value to set as new flag.
20100         [BZ #16576]
20101         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20102         and use _ARCH_PPCSQ instead.
20103         (__ieee754_sqrt): Likewise.
20104         (__ieee754_sqrtf): Likewise.
20105         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20106         _ARCH_PPCSQ is defined.
20107         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20108         fsqrt instruction.
20109         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20110         _ARCH_PPCSQ is defined.
20111         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20112         fsqrts instruction.
20113         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20115 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20117         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20118         bug (GCC BZ #64739).
20120 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20122         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20123         Mark _retval as used.
20124         (lll_futex_wake_unlock): Likewise.
20125         (lll_futex_timed_wait_requeue_pi): Likewise.
20127         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20128         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20129         register variables.
20131         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20132         libm_hidden_def.
20134         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20135         (__bswap_64): Mark as __always_inline.
20137 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20139         [BZ #15378]
20140         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20141         when none of the search directories exist.
20143 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20145         [BZ #17869]
20146         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20147         power8 in .machine directive.
20149         [BZ #17868]
20150         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20151         set dependency from opd value.
20153 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20156         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20157         architecture.
20159 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20161         [BZ #17870]
20162         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20163         with uint64_t.
20164         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20165         (uint64_t) 1.
20166         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20167         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20168         Replace 1UL with (uint64_t) 1.
20169         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20170         int with uint64_t.
20172 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20174         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20175         (if_freenameindex): Likewise.
20177         * resource/getrlimit64.c: Add missing libc_hidden_def.
20179 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20181         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20182         __label__.
20183         (_FP_FMA): Likewise.
20184         (_FP_TO_INT_ROUND): Likewise.
20185         (_FP_FROM_INT): Likewise.
20187 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20189         [BZ #16418]
20190         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20191         Make code racy and cancel safe.
20193 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20195         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20196         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20197         attribution.
20199         * pwd/tst-getpw.c: Rewrite.
20201         [BZ #17702]
20202         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20203         (modules-names): Add moddummy1 and moddummy2.
20204         ($(objpfx)tst-rec-dlopen): Define.
20205         * dlfcn/moddummy1.c: New file.
20206         * dlfcn/moddummy2.c: New file.
20207         * dlfcn/tst-rec-dlopen.c: New file.
20208         * elf/dl-cache.c (_dl_load_cache_lookup):
20209         Return char*. Copy result with alloca/strcpy/strdup.
20210         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20211         returns char*. Free cached. If not saving realname
20212         free cached.
20213         * elf/dl-open.c (dl_open_worker): Do not assert that
20214         _r_debug->r_state is RT_CONSISTENT.
20215         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20216         returns char*.
20218 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20219             Carlos O'Donell  <carlos@redhat.com>
20221         [BZ #12674]
20222         * nptl/sem_waitcommon.c: New file.
20223         * nptl/sem_wait.c: Include sem_waitcommon.c.
20224         (__sem_wait_cleanup, do_futex_wait): Remove.
20225         (__new_sem_wait): Adapt.
20226         (__new_sem_trywait): New function.
20227         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20228         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20229         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20230         (sem_timedwait): Adapt.
20231         * nptl/sem_post.c (__new_sem_post): Adapt.
20232         (futex_wake): New function.
20233         (__old_sem_post): Add release MO fence.
20234         * nptl/sem_open.c (sem_open): Adapt.
20235         * nptl/sem_init.c (__new_sem_init): Adapt.
20236         (futex_private_if_supported): New function.
20237         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20238         (__old_sem_getvalue): Add using previous code.
20239         * sysdeps/nptl/internaltypes.h: Adapt.
20240         * nptl/tst-sem13.c (do_test): Adapt.
20241         * nptl/tst-sem11.c (main): Adapt.
20242         * nptl/sem_trywait.c: Remove.
20243         * nptl/DESIGN-sem.txt: Remove.
20244         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20245         (gen-as-const-headers): Remove structsem.sym.
20246         * nptl/structsem.sym: Remove.
20247         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20248         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20249         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20250         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20251         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20252         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20253         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20254         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20255         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20256         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20257         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20258         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20259         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20260         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20261         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20262         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20263         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20264         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20265         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20266         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20267         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20268         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20270 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20272         * INSTALL: Regenerated.
20274         * po/libc.pot: Regenerated.
20276 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20277             Sandra Loosemore  <sandra@codesourcery.com>
20278             Andrew Jenner  <andrew@codesourcery.com>
20279             Joseph Myers  <joseph@codesourcery.com>
20280             Nathan Sidwell  <nathan@codesourcery.com>
20282         * NEWS: Mention new Nios II port.
20283         * sysdeps/nios2/Implies: New file.
20284         * sysdeps/nios2/Makefile: New file.
20285         * sysdeps/nios2/Subdirs: New file.
20286         * sysdeps/nios2/Versions: New file.
20287         * sysdeps/nios2/__longjmp.S: New file.
20288         * sysdeps/nios2/abort-instr.h: New file.
20289         * sysdeps/nios2/backtrace.c: New file.
20290         * sysdeps/nios2/bits/endian.h: New file.
20291         * sysdeps/nios2/bits/fenv.h: New file.
20292         * sysdeps/nios2/bits/link.h: New file.
20293         * sysdeps/nios2/bits/setjmp.h: New file.
20294         * sysdeps/nios2/bsd-_setjmp.S: New file.
20295         * sysdeps/nios2/bsd-setjmp.S: New file.
20296         * sysdeps/nios2/configure: New generated file.
20297         * sysdeps/nios2/configure.ac: New file.
20298         * sysdeps/nios2/crti.S: New file.
20299         * sysdeps/nios2/crtn.S: New file.
20300         * sysdeps/nios2/dl-init.c: New file.
20301         * sysdeps/nios2/dl-machine.h: New file.
20302         * sysdeps/nios2/dl-sysdep.h: New file.
20303         * sysdeps/nios2/dl-tls.h: New file.
20304         * sysdeps/nios2/dl-trampoline.S: New file.
20305         * sysdeps/nios2/gccframe.h: New file.
20306         * sysdeps/nios2/gmp-mparam.h: New file.
20307         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20308         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20309         * sysdeps/nios2/ldsodefs.h: New file.
20310         * sysdeps/nios2/libc-tls.c: New file.
20311         * sysdeps/nios2/libm-test-ulps: New file.
20312         * sysdeps/nios2/machine-gmon.h: New file.
20313         * sysdeps/nios2/math-tests.h: New file.
20314         * sysdeps/nios2/math_private.h: New file.
20315         * sysdeps/nios2/memusage.h: New file.
20316         * sysdeps/nios2/nptl/Makefile: New file.
20317         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20318         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20319         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20320         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20321         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20322         * sysdeps/nios2/nptl/tls.h: New file.
20323         * sysdeps/nios2/preconfigure: New file.
20324         * sysdeps/nios2/s_fma.c: New file.
20325         * sysdeps/nios2/s_fmaf.c: New file.
20326         * sysdeps/nios2/setjmp.S: New file.
20327         * sysdeps/nios2/sfp-machine.h: New file.
20328         * sysdeps/nios2/sotruss-lib.c: New file.
20329         * sysdeps/nios2/stackguard-macros.h: New file.
20330         * sysdeps/nios2/stackinfo.h: New file.
20331         * sysdeps/nios2/start.S: New file.
20332         * sysdeps/nios2/sysdep.h: New file.
20333         * sysdeps/nios2/tls-macros.h: New file.
20334         * sysdeps/nios2/tst-audit.h: New file.
20335         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20336         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20337         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20338         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20339         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20340         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20341         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20342         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20343         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20344         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20345         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20346         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20347         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20348         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20349         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20350         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20351         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20352         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20353         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20354         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20355         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20356         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20357         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20358         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20359         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20360         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20361         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20362         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20363         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20364         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20365         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20366         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20367         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20368         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20369         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20370         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20371         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20372         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20373         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20374         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20375         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20376         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20377         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20378         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20380 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20382         [BZ #17844]
20383         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20384         (getutent): Use weak_alias in non SHARED case
20385         and default_symbol_version in SHARED case.
20386         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20387         (getutent_r, pututline): Likewise.
20388         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20389         (getutid): Likewise.
20390         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20391         (getutid_r): Likewise.
20392         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20393         (getutline): Likewise.
20394         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20395         (getutline_r): Likewise.
20396         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20397         (updwtmp): Likewise.
20399 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20401         [BZ #17848]
20402         * sysdeps/s390/s390-32/memcmp.S
20403         (memcmp_g5): Rename to __memcmp_g5.
20404         * sysdeps/s390/s390-32/memcpy.S
20405         (memcpy_g5): Rename to __memcpy_g5.
20406         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20407         (memcpy_mvcle) Rename to __memcpy_mvcle.
20408         * sysdeps/s390/s390-32/memset.S
20409         (memset_g5): Rename to __memset_g5.
20410         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20411         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20412         and use prefixed functions.
20413         * sysdeps/s390/s390-32/multiarch/memcmp.S
20414         (memcmp_z196): Rename to __memcmp_z196.
20415         (memcmp_z10): Rename to __memcmp_z10.
20416         (memcmp): Set alias to __memcmp_g5.
20417         (bcmp): Set alias to __memcmp_g5.
20418         * sysdeps/s390/s390-32/multiarch/memcpy.S
20419         (memcpy_z196): Rename to __memcpy_z196.
20420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20421         (memcpy_z10): Rename to __memcpy_z10.
20422         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20423         (memcpy): Set alias to __memcpy_g5.
20424         * sysdeps/s390/s390-32/multiarch/memset.S
20425         (memset_z196): Rename to __memset_z196.
20426         Jump to __memset_mvcle instead of memset_mvcle.
20427         (memset_z10): Rename to __memset_z10.
20428         Jump to __memset_mvcle instead of memset_mvcle.
20429         (memset_mvcle) Rename to __memset_mvcle.
20430         (memset): Set alias to __memset_g5.
20431         * sysdeps/s390/s390-64/memcmp.S
20432         (memcmp_z900): Rename to __memcmp_z900.
20433         * sysdeps/s390/s390-64/memcpy.S
20434         (memcpy_z900): Rename to __memcpy_z900.
20435         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20436         (memcpy_mvcle) Rename to __memcpy_mvcle.
20437         * sysdeps/s390/s390-64/memset.S
20438         (memset_z900): Rename to __memset_z900.
20439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20440         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20441         and use prefixed functions.
20442         * sysdeps/s390/s390-64/multiarch/memcmp.S
20443         (memcmp_z196): Rename to __memcmp_z196.
20444         (memcmp_z10): Rename to __memcmp_z10.
20445         (memcmp): Set alias to __memcmp_z900.
20446         (bcmp): Set alias to __memcmp_z900.
20447         * sysdeps/s390/s390-64/multiarch/memcpy.S
20448         (memcpy_z196): Rename to __memcpy_z196.
20449         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20450         (memcpy_z10): Rename to __memcpy_z10.
20451         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20452         (memcpy): Set alias to __memcpy_z900.
20453         * sysdeps/s390/s390-64/multiarch/memset.S
20454         (memset_z196): Rename to __memset_z196.
20455         Jump to __memset_mvcle instead of memset_mvcle.
20456         (memset_z10): Rename to __memset_z10.
20457         Jump to __memset_mvcle instead of memset_mvcle.
20458         (memset_mvcle) Rename to __memset_mvcle.
20459         (memset): Set alias to __memset_z900.
20461 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20463         [BZ #17748]
20464         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20465         __fesetenv instead of fesetenv.
20467 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20469         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20470         macro.
20472 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20474         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20475         regression on LE.
20477         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20478         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20479         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20480         strncmp-power8 object.
20481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20482         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20483         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20484         * NEWS: Update.
20486 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20487             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20489         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20490         trailing byte check.
20492 2015-01-13  David S. Miller  <davem@davemloft.net>
20494         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20496 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20498         * login/logout.c (logout): Use memset rather than bzero.
20499         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20500         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20501         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20502         (_gethtbyaddr): Likewise.
20503         * locale/programs/simple-hash.c (bcopy): Macro removed.
20505 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20508         Add strcmp-power8 object.
20509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20510         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20511         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20512         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20513         __strcmp_power8 implementation.
20514         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20515         * NEWS: Update.
20517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20518         Add strncpy-power8 and stpncpy-power8 objects.
20519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20520         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20521         implementations.
20522         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20523         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20524         __stpncpy_power8 implementation.
20525         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20526         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20527         __strncpy_power8 implementation.
20528         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20529         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20530         * NEWS: Update.
20532         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20533         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20534         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20536         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20537         strncat-power8 object.
20538         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20539         __strcat_power8 implementation.
20540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20541         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20542         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20543         optimized strcat for power8.
20545         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20546         strcpy-power8 and stpcpy-power8 objects.
20547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20548         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20549         implementations.
20550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20551         multiarch stpcpy implementation for POWER8.
20552         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20553         multiarch strcpy implementation for POWER8.
20554         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20555         __strcpy_power8 function.
20556         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20557         stpcpy for POWER8.
20558         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20559         strcpy for POWER8.
20560         * NEWS: Update.
20562 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20564         [BZ #16009]
20565         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20566         weights and rules. Use do_xfrm_cached if data fits in cache,
20567         do_xfrm otherwise.  Moved former main loop to...
20568         * (do_xfrm_cached): New function.
20569         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20570         find_idx, find_position and stack_push.
20571         * (find_idx): New function.
20572         * (find_position): Likewise.
20573         * localedata/sort-test.sh: Added test run for do_xfrm.
20574         * localedata/xfrm-test.c (main): Added command line option
20575         -nocache to run the test with strings that are too large for
20576         the STRXFRM cache.
20578 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20580         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20581         variable to lll_futex_wake call, not the value itself.
20583 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20585         [BZ #17803]
20586         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20587         twom64.  Adjust value to 0x1p-64L.
20588         (__scalblnl): Only return standard underflowing result for K <=
20589         -64 not K <= -63; adjust exponent for underflowing result by 64
20590         not 63.
20591         * math/libm-test.inc (scalbn_test_data): Add more tests.
20592         (scalbln_test_data): Likewise.
20594         [BZ #17834]
20595         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20596         0x1p63L.
20597         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20598         not HX.
20599         * math/libm-test.inc (scalbn_test_data): Add more tests.
20600         (scalbln_test_data): Likewise.
20602 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20603             Stefani Seibold  <stefani@seibold.net>
20605         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20606         (sysdep_routines): Add dl-vdso here, ...
20607         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20608         (sysdep_routines): ... not here.
20609         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20610         fallback when vDSO is not presented.
20611         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20612         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20613         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20614         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20615         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20616         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20617         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20618         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20619         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20620         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20621         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20622         fallback configurable symbol when vDSO is not available.
20623         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20624         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20625         be able to redefine fallback symbol when vDSO is not available.
20626         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20627         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20629 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20631         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20632         (TLS_INIT_TP): Add tm_capable initialization.
20633         (TLS_DEFINE_INIT_TP): Likewise.
20634         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20635         TCB.
20636         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20637         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20638         calculation.
20639         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20640         transactoion is lock elision is built and TCB tm_capable is set.
20641         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20643         (INTERNAL_SYSCALL_NCS): Likewise.
20644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20645         (INTERNAL_SYSCALL_NCS): Likewise.
20646         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20648         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20649         for powerpc.
20650         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20651         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20652         and remove it for 32 bits case.
20653         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20655         initialization.
20656         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20657         Disable lock elision with rdlocks if elision is not available.
20659         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20660         (sysdep_routines): Add lock elision objects.
20661         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20662         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20663         [pthread_mutex_t] (__elision): Add field.
20664         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20665         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20666         elision definitions for powerpc.
20667         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20668         implementation of lock elision for powerpc.
20669         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20670         implementation of timed lock elision for powerpc.
20671         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20672         implementation of trylock with lock elision for powerpc.
20673         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20674         implementaion of unlock for lock elision for powerpc.
20675         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20676         automatic enable lock elision for mutexes.
20677         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20678         transaction execution definitions for powerpc.
20679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20680         definitions.
20681         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20682         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20683         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20684         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20685         * NEWS: Update.
20687 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20689         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20690         for #include of <shm-directory.h>.
20692 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20694         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20695         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20697 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20699         [BZ #17791]
20700         * NEWS: Mention bug fix.
20701         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20702         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20703         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20705 2015-01-09  Torvald Riegel <triegel@redhat.com>
20707         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20709 2015-01-09  Torvald Riegel <triegel@redhat.com>
20711         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20713 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20715         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20716         pointer and cast to uintptr_t.
20718 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20720         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20721         removed.
20722         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20724 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20726         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20727         of 0.
20729 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20731         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20732         <nptl/pthreadP.h> instead.
20733         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20735         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20736         already defined.
20737         [__SIGRTMIN] (init): Function removed.
20738         [__SIGRTMIN] (initialized): Variable removed.
20739         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20740         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20741         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20742         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20743         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20744         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20745         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20746         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20747         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20748         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20749         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20750         * sysdeps/nptl/allocrtsig.c: New file.
20751         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20752         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20753         * sysdeps/generic/testrtsig.h: File removed.
20755         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20756         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20758         * nptl/nptl-init.c (pthread_functions): Conditionalize
20759         .ptr__nptl_setxid initialization on [SIGSETXID].
20761         * sysdeps/nptl/sys/procfs.h: New file.
20762         * nptl_db/Makefile (headers): Add it.
20763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20765         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20766         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20767         * nptl/pthread_attr_setaffinity.c: Include it.
20768         * nptl/pthread_setattr_default_np.c: Likewise.
20769         * nptl/check-cpuset.h: New file.
20771 2015-01-08  Richard Henderson  <rth@redhat.com>
20773         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20774         (CFLAGS-tst-execstack-prog.c): Likewise.
20775         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20777 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20778             Sandra Loosemore  <sandra@codesourcery.com>
20779             Andrew Jenner  <andrew@codesourcery.com>
20780             Joseph Myers  <joseph@codesourcery.com>
20781             Nathan Sidwell  <nathan@codesourcery.com>
20783         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20784         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20785         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20786         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20787         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20788         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20789         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20790         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20791         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20792         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20793         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20794         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20795         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20796         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20797         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20798         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20799         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20801 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20803         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20804         timespec struct member in syscall macro.
20805         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20806         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20807         first timeval struct member in syscall macro.
20808         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20810 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #17748]
20813         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20814         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20815         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20816         __feupdateenv and define as weak alias of __feupdateenv.  Use
20817         libm_hidden_weak.
20818         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20819         libm_hidden_def.
20820         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20821         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20822         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20823         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20824         libm_hidden_def.
20825         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20826         __feupdateenv and define as weak alias of __feupdateenv.  Use
20827         libm_hidden_weak.
20828         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20829         libm_hidden_def.
20830         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20831         __feupdateenv and define as weak alias of __feupdateenv.  Use
20832         libm_hidden_weak.
20833         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20834         libm_hidden_def.
20835         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20836         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20837         (__feupdateenv): Likewise.
20838         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20839         __feupdateenv and define as weak alias of __feupdateenv.  Use
20840         libm_hidden_weak.
20841         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20842         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20843         libm_hidden_def.
20844         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20845         function.
20846         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20847         libm_hidden_def.
20848         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20849         __feupdateenv instead of feupdateenv.
20850         (default_libc_feupdateenv_test): Likewise.
20851         (libc_feresetround_ctx): Likewise.
20853 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20855         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20856         prototype.
20858 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20860         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20861         COLL_SYM in a couple of places to avoid uninitialized variable
20862         wanings on tilegx gcc 4.8.2.
20864 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20866         * sysdeps/aarch64/strcpy.S: New file.
20867         * sysdeps/aarch64/stpcpy.S: New file.
20868         * NEWS: Updated.
20870 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20872         * sysdeps/aarch64/strrchr.S: New file.
20873         * NEWS: Updated.
20875 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20877         [BZ #17658]
20878         * stdlib/setenv.c: Fix memory leak when setting large,
20879         duplicate string.
20881 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20883         [BZ #17273]
20884         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20885         and tabs from buffer before parsing fstab entry.
20886         * misc/tst-mntent.c (main): Add test for mount entry with
20887         trailing spaces and tabs.
20889 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20891         [BZ #17748]
20892         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20893         * math/fesetround.c (fesetround): Rename to __fesetround and
20894         define as weak alias of __fesetround.  Use libm_hidden_weak.
20895         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20896         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20897         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20898         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20899         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20900         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20901         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20902         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20903         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20904         __fesetround_inline.
20905         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20906         __fesetround_inline instead of __fesetround.
20907         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20908         __fesetround and define as weak alias of __fesetround.  Use
20909         libm_hidden_weak.  Call __fesetround_inline instead of
20910         __fesetround.
20911         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20912         __fesetround and define as weak alias of __fesetround.  Use
20913         libm_hidden_weak.
20914         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20915         Likewise.
20916         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20917         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20918         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20919         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20920         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20921         __fesetround and define as weak alias of __fesetround.  Use
20922         libm_hidden_weak.
20923         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20924         __fesetround instead of fesetround.
20925         (default_libc_feholdexcept_setround): Likewise.
20926         (libc_feholdsetround_ctx): Likewise.
20927         (libc_feholdsetround_noex_ctx): Likewise.
20929         [BZ #17748]
20930         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20931         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20932         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20933         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20934         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20935         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20936         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20937         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20938         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20939         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20940         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20941         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20942         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20943         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20944         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20945         libm_hidden_def.
20946         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20947         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20948         Likewise.
20949         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20950         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20951         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20952         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20953         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20954         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20955         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20956         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20957         __fesetenv instead of fesetenv.
20958         (libc_feresetround_noex_ctx): Likewise.
20959         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20960         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20961         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20962         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20963         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20964         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20965         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20966         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20967         (__feupdateenv): Likewise.
20968         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20969         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20970         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20971         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20973 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20975         [BZ #17806]
20976         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20977         addresses have been freed.
20979 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20981         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20982         and nservall.
20984 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20986         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20987         Clean up check_pf allocation pattern. addresses
20989 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20991         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20992         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20993         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20994         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20995         * nptl/pthread_join.c (pthread_join): Likewise.
20996         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20997         * sysdeps/posix/waitid.c (__waitid): Likewise.
20998         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20999         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21000         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21001         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21003         Likewise.
21004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21005         (__libc_pread64): Likewise.
21006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21007         (__libc_pwrite): Likewise.
21008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21009         (__libc_pwrite64): Likewsie.
21010         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21011         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21012         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21013         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21014         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21015         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21016         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21018         Likewise.
21019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21020         (__libc_pread64): Likewise.
21021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21022         Likewise.
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21024         (__libc_pwrite64): Likewise.
21025         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21026         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21027         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21028         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21029         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21030         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21031         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21032         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21033         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21034         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21035         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21036         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21037         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21038         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21039         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21040         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21041         Likewise.
21043 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21045         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21046         (CFLAGS-test-double.c): Likewise.
21047         (CFLAGS-test-ldouble.c): Likewise.
21048         (CPPFLAGS-test-ifloat.c): Likewise.
21049         (CPPFLAGS-test-idouble.c): Likewise.
21050         (CPPFLAGS-test-ildoubl.c): Likewise.
21051         (CFLAGS-test-test-fenv.c): Remove variable.
21052         (CFLAGS-test-misc.c): Likewise.
21054 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21056         [BZ #17797]
21057         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21058         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21059         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21060         CLOCKS_PER_SEC == 1000000.
21061         * time/clocktest.c (main): Replace %ld with %jd and cast to
21062         intmax_t.
21064 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21066         * sysdeps/generic/unwind-resume.h: New file.
21067         * sysdeps/gnu/unwind-resume.c: Include it.
21068         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21069         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21070         argument list.
21071         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21072         global rather than static.
21073         (_Unwind_Resume): Update user.
21074         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21075         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21076         rather than static.  Add __attribute__ ((cold)).
21077         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21078         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21079         * sysdeps/arm/arm-unwind-resume.S: New file.
21080         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21081         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21082         * sysdeps/arm/Makefile [$(subdir) = csu]
21083         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21084         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21085         Add rt-arm-unwind-resume.
21086         [$(subdir) = nptl]
21087         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21088         Add pt-arm-unwind-resume.
21089         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21090         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21092 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21094         [BZ #17748]
21095         * include/fenv.h (__feholdexcept): Declare.  Use
21096         libm_hidden_proto.
21097         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21098         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21099         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21100         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21101         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21102         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21103         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21104         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21105         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21106         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21107         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21108         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21109         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21110         (feholdexcept): Likewise.
21111         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21112         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21113         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21114         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21115         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21116         __feholdexcept instead of feholdexcept.
21117         (default_libc_feholdexcept_setround): Likewise.
21119 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21121         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21122         to avoid using stl/str to align destination.
21124 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21126         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21128 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21130         [BZ #17796]
21131         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21132         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21133         Define as weak alias not strong alias.
21135 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21137         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21138         bltzal with addiupc.
21139         (RTLD_START): Ditto.
21141 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21143         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21144         for __vdso_* functions in declarations.
21145         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21146         definitions.
21147         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21148         INTERNAL_VSYSCALL): Use struct return types to check for error.
21150         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21151         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21152         function with cast from llround().
21153         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21154         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21155         Define.
21157 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21159         [BZ #17793]
21160         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21161         Define as weak alias not strong alias.
21163         [BZ #17635]
21164         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21165         ...
21166         * ctype/ctype-extn.c: ... here.
21167         (__isblank_l): Move to ...
21168         * ctype/ctype-c99_l.c: ... here.  New file.
21169         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21170         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21171         Remove variable.
21172         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21173         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21174         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21175         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21176         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21178         [BZ #17777]
21179         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21180         (posix_fadvise64): Define as weak alias not strong alias.
21181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21182         (posix_fallocate64): Likewise.
21183         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21184         Remove variable.
21185         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21186         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21187         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21188         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21189         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21191 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21193         [BZ #16191]
21194         * NEWS: Mention bug fix.
21195         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21196         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21197         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21198         (HOST_STACK_END_ADDR): Likewise.
21200 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21202         [BZ #17748]
21203         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21204         * math/fegetround.c (fegetround): Rename to __fegetround and
21205         define as weak alias of __fegetround.  Use libm_hidden_weak.
21206         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21207         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21208         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21209         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21210         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21211         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21212         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21213         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21214         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21215         Undefine after rather than before function definition; use
21216         parentheses around function name in definition.
21217         (__fegetround): Also undefine macro after function definition.
21218         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21219         __fegetround and define as weak alias of __fegetround.  Use
21220         libm_hidden_weak.  Do not undefine as macro.
21221         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21222         Likewise.
21223         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21224         __fegetround and define as weak alias of __fegetround.  Use
21225         libm_hidden_weak.
21226         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21227         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21228         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21229         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21230         __fegetround and define as weak alias of __fegetround.  Use
21231         libm_hidden_weak.
21232         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21233         __fegetround instead of fegetround.
21235         [BZ #17782]
21236         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21237         Condition macro definition on [__USE_MISC].
21239         [BZ #17781]
21240         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21241         (struct sigaction): Change type of sa_flags field to int.
21243         [BZ #17780]
21244         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21245         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21246         __glibc_reserved0.
21248         * nptl/version.c (banner): Use single year in copyright notice.
21250         * NEWS: Update copyright dates.
21251         * catgets/gencat.c (print_version): Likewise.
21252         * csu/version.c (banner): Likewise.
21253         * debug/catchsegv.sh: Likewise.
21254         * debug/pcprofiledump.c (print_version): Likewise.
21255         * debug/xtrace.sh (do_version): Likewise.
21256         * elf/ldconfig.c (print_version): Likewise.
21257         * elf/ldd.bash.in: Likewise.
21258         * elf/pldd.c (print_version): Likewise.
21259         * elf/sotruss.sh: Likewise.
21260         * elf/sprof.c (print_version): Likewise.
21261         * iconv/iconv_prog.c (print_version): Likewise.
21262         * iconv/iconvconfig.c (print_version): Likewise.
21263         * locale/programs/locale.c (print_version): Likewise.
21264         * locale/programs/localedef.c (print_version): Likewise.
21265         * login/programs/pt_chown.c (print_version): Likewise.
21266         * malloc/memusage.sh (do_version): Likewise.
21267         * malloc/memusagestat.c (print_version): Likewise.
21268         * malloc/mtrace.pl: Likewise.
21269         * manual/libc.texinfo: Likewise.
21270         * nptl/version.c (banner): Likewise.
21271         * nscd/nscd.c (print_version): Likewise.
21272         * nss/getent.c (print_version): Likewise.
21273         * nss/makedb.c (print_version): Likewise.
21274         * posix/getconf.c (main): Likewise.
21275         * scripts/test-installation.pl: Likewise.
21276         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21278 2015-01-02  Will Newton  <will.newton@linaro.org>
21280         * sysdeps/arm/armv7/configure: Removed.
21281         * sysdeps/arm/armv7/configure.ac: Likewise.
21283 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21285         * All files with FSF copyright notices: Update copyright dates
21286         using scripts/update-copyrights.
21287         * intl/plural.c: Regenerated.
21288         * locale/programs/charmap-kw.h: Likewise.
21289         * locale/programs/locfile-kw.h: Likewise.
21291 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21295 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21297         [BZ #17748]
21298         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21299         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21300         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21301         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21302         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21303         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21304         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21305         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21306         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21307         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21308         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21309         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21310         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21311         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21312         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21313         libm_hidden_def.
21314         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21316         Likewise.
21317         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21318         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21319         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21320         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21321         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21322         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21323         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21324         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21325         __fegetenv instead of fegetenv.
21326         (libc_feholdsetround_noex_ctx): Likewise.
21328 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21330         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21331         (Elf_MIPS_ABIFlags_v0): New structure.
21332         (EF_MIPS_FP64): Define.
21333         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21334         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21335         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21336         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21337         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21338         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21339         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21340         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21341         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21342         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21343         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21344         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21345         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21346         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21347         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21348         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21349         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21350         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21351         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21352         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21353         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21354         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21355         field.
21356         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21357         EF_MIPS_FP64.
21358         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21359         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21360         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21361         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21362         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21363         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21364         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21365         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21366         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21367         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21368         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21369         record the current FP ABI extension.
21370         (mips-mode-switch): Define to show if kernel headers support mode
21371         switching.
21372         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21373         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21374         supported SYSV ABI version to 3.
21375         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21376         feature.
21378 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21379             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21381         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21382         path.
21383         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21385 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21387         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21388         __fegetround and redefine to call __fegetround.  Remove condition
21389         on [!__NO_MATH_INLINES].
21390         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21391         function.
21392         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21393         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21394         Remove macro.
21395         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21396         instead of <fenv_libc.h>.
21397         (__llrintl): Call fegetround instead of __fegetround.
21398         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21399         instead of <fenv_libc.h>.
21400         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21401         (__lrintl): Call fegetround instead of __fegetround.
21402         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21403         instead of <fenv_libc.h>.
21404         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21405         (__rintl): Call fegetround instead of __fegetround.
21407 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21409         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21410         arrays.
21412 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21414         [BZ #17775]
21415         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21416         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21417         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21419 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21421         * sysdeps/i386/tls-macros.h: Include <features.h>.
21422         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21423         (TLS_IE): Likewise.
21424         (TLS_LD): Likewise.
21425         (TLS_GD): Likewise.
21426         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21427         define for GCC >= 5.0.
21429 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21431         * math/test-fenv.c (test_single_exception, set_single_exc,
21432         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21433         feexcp_mask_test, feenable_test, fe_single_test): Add
21434         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21435         case where they are not used.
21436         * math/libm-test.inc: Likewise.
21437         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21438         unused in the absence of FP rounding/exception support.
21439         * stdio-common/tst-printf-round.c: Likewise.
21440         * stdlib/tst-strtod-round.c: Likewise.
21441         * stdlib/tst-strtod-underflow.c: Likewise.
21443 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21445         [BZ #17723]
21446         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21447         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21448         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21449         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21450         libm_hidden_weak.
21451         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21452         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21453         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21454         libm_hidden_def.
21455         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21456         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21457         libm_hidden_weak.
21458         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21459         Likewise.
21460         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21461         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21462         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21463         libm_hidden_weak.
21464         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21465         libm_hidden_def.
21466         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21467         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21468         (__feraiseexcept): Likewise.
21469         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21470         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21471         libm_hidden_weak.
21472         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21473         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21474         libm_hidden_def.
21475         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21476         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21477         Use libm_hidden_def.
21478         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21479         libm_hidden_def.
21480         (feraiseexcept): Define as weak not strong alias.  Use
21481         libm_hidden_weak.
21482         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21483         New inline function.  Factored out of ...
21484         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21485         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21486         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21487         feraiseexcept.
21488         * math/w_acos.c (__acos): Likewise.
21489         * math/w_asin.c (__asin): Likewise.
21490         * math/w_ilogb.c (__ilogb): Likewise.
21491         * math/w_j0.c (y0): Likewise.
21492         * math/w_j1.c (y1): Likewise.
21493         * math/w_jn.c (yn): Likewise.
21494         * math/w_log.c (__log): Likewise.
21495         * math/w_log10.c (__log10): Likewise.
21496         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21497         * sysdeps/aarch64/fpu/math_private.h
21498         (libc_feupdateenv_test_aarch64): Likewise.
21499         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21500         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21501         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21502         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21503         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21504         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21505         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21506         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21507         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21508         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21510 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21512         [BZ #17732]
21513         * io/test-utime.c (main): Replace %ld with %jd and cast to
21514         intmax_t.
21515         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21516         * nptl/tst-mutex5.c: Include <stdint.h>.
21517         (do_test): Replace %ld with %jd and cast to intmax_t.
21518         * posix/tst-regex.c (run_test): Likewise.
21519         (run_test_backwards): Likewise.
21520         * rt/tst-clock.c: Include <stdint.h>.
21521         (clock_test): Replace %ld with %jd and cast to intmax_t.
21522         * rt/tst-cpuclock1.c: Include <stdint.h>.
21523         (do_test): Replace %lu with %ju and cast to uintmax_t.
21524         * rt/tst-cpuclock2.c: Include <stdint.h>.
21525         (do_test): Replace %lu with %ju and cast to uintmax_t.
21526         * rt/tst-mqueue1.c: Include <stdint.h>.
21527         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21528         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21529         intmax_t.
21530         * rt/tst-mqueue4.c (do_test): Likewise.
21531         * rt/tst-timer4.c: Include <stdint.h>.
21532         (check_ts): Replace %ld with %jd and cast to intmax_t.
21533         (do_test): Likewise.
21534         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21535         and cast to intmax_t.
21536         * sysdeps/pthread/tst-timer.c (main): Likewise.
21537         * time/clocktest.c (main): Likewise.
21538         * time/tst-posixtz.c (do_test): Likewise.
21539         * timezone/tst-timezone.c (main): Likewise.
21541 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21542             H.J. Lu  <hongjiu.lu@intel.com>
21544         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21545         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21546         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21547         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21548         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21549         version if bit_Fast_Unaligned_Load is set.
21550         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21551         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21552         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21553         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21554         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21555         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21556         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21557         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21558         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21559         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21560         to 4.
21561         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21562         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21563         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21564         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21566 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21568         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21569         instead of #if to avoid a Wundef warning.
21570         * stdlib/tst-limits.c (do_test): Likewise.
21572         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21573         parallel other exception macros.
21574         (fegetenv): Convert from macro to extern inline so that it applies
21575         retroactively to inline functions already seen by the compiler.
21576         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21578         * posix/Makefile (before-compile): Use $(objpfx) for
21579         posix-conf-vars-def.h.
21581 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21583         * posix/getconf.c (main): Use size_t for type of I.
21584         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21585         NSPEC.
21587         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21588         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21589         * posix/posix-envs.def: Likewise.
21590         * sysdeps/posix/sysconf.c: Likewise.
21591         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21592         (specs): Remove array.
21593         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21594         array.
21596         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21597         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21598         (__sysconf): Use CONF_IS_* macros.
21600         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21601         ($(objpfx)posix-conf-vars-def.h): New target.
21602         * posix/posix-conf-vars.list: New file.
21603         * posix/posix-conf-vars.h: New file.
21604         * posix/confstr.c: Include posix-conf-vars.h.
21605         (confstr): Use CONF_IS_* macros.
21606         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21607         CONF_IS_* macros.
21608         * scripts/gen-posix-conf-vars.awk: New file.
21610 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21612         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21613         fegetround): Add no-op macros to avoid linknamespace issues.
21615         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21616         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21618         * sysdeps/unix/sysv/linux/tile/sysdep.h
21619         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21620         assembly-specific section to avoid a redefinition warning.
21622         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21623         long before casting to pointer to avoid a cast warning.
21625 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21627         * sysdeps/tile/tilegx/Implies: New file.
21629 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21631         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21633 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21635         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21637 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21640         not define.
21641         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21642         <kernel-features.h>.
21643         (__utimes) [__NR_utimes]: Make code unconditional.
21644         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21645         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21646         (__ASSUME_UTIMES): Do not undefine.
21647         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21648         (__ASSUME_UTIMES): Likewise.
21649         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21650         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21651         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21652         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21654 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21656         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21658 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21660         [BZ #17747]
21661         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21662         alias to weak alias for j0l, y0l.
21663         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21664         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21666         [BZ #17746]
21667         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21668         conversion.
21670 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21672         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21673         to zero if not already defined.
21675 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21677         [BZ #17724]
21678         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21679         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21680         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21681         (char *) casts added.
21682         * sysdeps/ieee754/k_standardf.c: New file.
21683         * sysdeps/ieee754/k_standardl.c: Likewise.
21684         * math/Makefile (libm-support): Remove k_standard.
21685         (libm-calls): Add k_standard.
21687 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21689         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21690         Optimize to avoid an unnecessary FPCR read.
21692 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21694         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21695         Optimize to reduce FPCR/FPSR accesses.
21697 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21699         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21700         Call libc_fetestexcept_aarch64.
21702 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21704         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21705         Call libc_fesetround_aarch64.
21707 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21709         [BZ #17733]
21710         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21711         (__bind): Do not define as weak alias.
21712         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21713         define.
21714         (__getsockname): Do not define as weak alias.
21716 2014-12-22  Will Newton  <will.newton@linaro.org>
21718         * manual/install.texi: Document that we require bison 2.7
21719         or above.
21720         * INSTALL: Regenerate.
21721         * configure.ac: Use AC_CHECK_PROG_VER instead of
21722         AC_PATH_PROG when checking for bison and check for
21723         version 2.7 or above.
21724         * configure: Regenerate.
21726 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21728         [BZ #17745]
21729         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21730         * sysdeps/tile/ffsll.c (ffsll): To here.
21732         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21734 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21736         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21737         if not defined.
21738         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21739         definition.
21740         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21741         hidden ___tls_get_addr.
21742         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21743         hidden __tls_get_addr.
21744         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21745         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21746         Likewise.
21748 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21750         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21751         _dl_init call.
21753 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21755         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21756         from "call _dl_init@PLT".
21757         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21759 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21761         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21762         guarantees.
21764 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21766         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21768 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21770         [BZ #17744]
21771         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21772         strnlen.
21774 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21776         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21777         of multu on MIPSr6.
21778         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21779         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21780         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21781         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21782         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21784 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21786         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21787         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21788         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21789         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21790         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21791         mips32r6/mips64r6.
21792         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21794 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21796         * string/strncat.c (STRNCAT): Simplify implementation.
21798 2014-12-19  David S. Miller  <davem@davemloft.net>
21800         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21801         access the quad as both a long double and as a series of 4 words.
21803         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21804         link_map->l_info array access.
21806 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21808         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21810         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21811         * math/atest-exp2.c (TIMEOUT): Likewise.
21812         * math/atest-sincos.c (TIMEOUT): Likewise.
21814 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21816         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21817         -Wno-error with -fno-builtin-lround.
21819 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21821         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21822         Contains futex constants and functions moved over from ...
21823         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21824         <lowlevellock-futex.h>.
21825         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21826         (lll_timedwait_tid): Add comments and parentheses around macro
21827         arguments.
21829 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21831         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21832         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21833         (__lll_private_flag): Remove.
21834         (lll_futex_wait): Likewise.
21835         (lll_futex_timed_wait): Likewise.
21836         (lll_futex_wake): Likewise.
21837         (lll_futex_requeue): Likewise.
21838         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21839         (__lll_timedwait_tid): Spell out argument names.
21840         (lll_timedwait_tid): Add comments and parentheses around macro
21841         arguments.
21842         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21843         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21845 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21847         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21848         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21849         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21850         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21851         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21852         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21853         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21854         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21855         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21856         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21859         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21861         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21862         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21863         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21864         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21865         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21867 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21869         * sysdeps/x86_64/x32/Makefile: New file.
21871 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21873         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21874         1L with (mp_limb_t) 1.
21876 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21878         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21879         * nptl/libc_pthread_init.c: ... here.
21880         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21881         * nptl/register-atfork.c: ... here.
21883         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21884         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21885         Use assert_perror to check its return value.
21886         (__gai_create_helper_thread): Likewise.
21888         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21890         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21892 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21894         [BZ #17725]
21895         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21896         __profil_counter.
21897         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21898         Likewise.
21899         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21900         Likewise.
21901         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21902         Likewise.
21903         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21904         (profil_counter): Likewise.
21905         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21906         (profil_counter): Likewise.
21907         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21908         Likewise.
21909         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21910         Likewise.
21911         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21912         (profil_counter): Likewise.
21913         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21914         Likewise.
21915         [!__profil_counter] (profil_counter): Define as weak alias of
21916         __profil_counter.
21917         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21918         (profil_counter): Rename to __profil_counter.
21919         [!__profil_counter] (profil_counter): Define as weak alias of
21920         __profil_counter.
21921         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21922         (profil_counter): Rename to __profil_counter.
21923         [!__profil_counter] (profil_counter): Define as weak alias of
21924         __profil_counter.
21925         * sysdeps/posix/profil.c: Update comment referring to
21926         profil_counter.
21927         (__profil): Use __profil_counter instead of profil_counter.
21928         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21929         __profil_counter.  Use __profil_counter_ushort and
21930         __profil_counter_uint in definitions.
21931         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21932         instead of profil_counter_uint and profil_counter_ushort.
21934         [BZ #17722]
21935         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21936         define as weak alias of __inet_makeaddr.
21937         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21938         as weak alias of __inet_addr.
21939         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21940         as weak alias of __inet_pton.  Use libc_hidden_weak.
21941         * include/arpa/inet.h (__inet_pton): Declare.  Use
21942         libc_hidden_proto.
21943         (inet_makeaddr): Don't use libc_hidden_proto.
21944         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21945         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21946         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21947         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21948         Remove variable.
21949         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21950         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21952 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21954         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21956 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21958         * stdio-common/bug-vfprintf-nargs.c (do_test):
21959         Cast value to intptr_t to avoid format warning
21960         for usage with PRIdPTR printing macro.
21962 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21964         * libio/tst-widetext.c (do_test):
21965         Use format type %td instead of %Zd for ptrdiff_t
21966         in order to avoid format warning.
21968 2014-12-17  Andreas Schwab  <schwab@suse.de>
21970         * nscd/mem.c (gc): Add size_t cast to match printf format.
21972 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21974         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21975         (init): Apply PTR_MANGLE to pointers before storing them.
21976         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21977         before using them.
21979 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21981         [BZ #17719]
21982         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21983         define as weak alias of __memrchr.
21984         (__memrchr): Do not define as strong alias of memrchr.
21985         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21986         Remove variable.
21987         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21988         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21989         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21991         [BZ #17717]
21992         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21993         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21994         (if_indextoname): Rename to __if_indextoname and define as weak
21995         alias of __if_indextoname.  Use libc_hidden_weak.
21996         (if_freenameindex): Rename to __if_freenameindex and define as
21997         weak alias of __if_freenameindex.
21998         (if_nameindex): Rename to __if_nameindex and define as weak alias
21999         of __if_nameindex.
22000         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22001         __if_nametoindex and define as weak alias of __if_nametoindex.
22002         Use libc_hidden_weak.
22003         (if_freenameindex): Rename to __if_freenameindex and define as
22004         weak alias of __if_freenameindex.
22005         (if_nameindex): Rename to __if_nameindex and define as weak alias
22006         of __if_nameindex.
22007         (if_indextoname): Rename to __if_indextoname and define as weak
22008         alias of __if_indextoname.  Use libc_hidden_weak.
22009         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22010         __if_nametoindex and define as weak alias of __if_nametoindex.
22011         Use libc_hidden_weak.
22012         (if_freenameindex): Rename to __if_freenameindex and define as
22013         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22014         (if_nameindex_netlink): Use __if_freenameindex instead of
22015         if_freenameindex.
22016         (if_nameindex): Rename to __if_nameindex and define as weak alias
22017         of __if_nameindex.  Use libc_hidden_weak.
22018         (if_indextoname): Rename to __if_indextoname and define as weak
22019         alias of __if_indextoname.  Use libc_hidden_weak.
22020         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22021         libc_hidden_proto.
22022         [!_ISOMAC] (__if_freenameindex): Likewise.
22023         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22024         if_nametoindex.
22025         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22026         variable.
22027         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22028         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22029         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22030         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22031         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22032         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22033         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22035         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22036         Remove variable.
22037         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22038         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22040 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22042         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22043         subscript above bounds'
22045         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22046         bounds.
22048 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22050         * libio/tst-fopenloc.c: Use test-skeleton.c.
22052         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22053         (entry): Rename to ITEM.
22054         (do_test, comp): Adjust.
22056         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22058 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22060         * string/tester.c: Include <libc-internal.h>.
22061         (test_memset): Ignore -Wmemset-transposed-args.
22063 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22065         * misc/tst-mntent2.c (do_test): Fix warning.
22067 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22069         * elf/tst-unique4lib.cc(a): Mark as used.
22071 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22073         [BZ #17630]
22074         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22075         names.
22077 2014-12-16  Allan McRae  <allan@archlinux.org>
22079         * stdio-common/Makefile (tests): Re-add bug26.
22081 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22083         [BZ #17657]
22084         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22085         static array.
22087 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22089         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22090         (__lll_lock_wait): Likewise.
22091         (__lll_timedlock_wait): Likewise.
22092         (__lll_timedwait_tid): Likewise.
22093         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22094         (__lll_robust_timedlock_wait): Likewise.
22095         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22096         (lll_cond_trylock): Likewise.
22097         (__lll_lock): Likewise.
22098         (__lll_robust_lock): Likewise.
22099         (__lll_cond_lock): Likewise.
22100         (lll_robust_cond_lock): Likewise.
22101         (__lll_timedlock): Likewise.
22102         (__lll_robust_timedlock): Likewise.
22103         (__lll_unlock): Likewise.
22104         (__lll_robust_unlock): Likewise.
22105         (lll_wait_tid): Likewise.
22106         (lll_timedwait_tid): Likewise.
22108 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22110         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22112 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22114         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22116 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22118         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22119         * stdio-common/tst-sprintf.c: Likewise.
22121 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22123         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22125 2014-12-15  Jeff Law  <law@redhat.com>
22127         [BZ #16617]
22128         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22129         on the heap.  (CVE-2012-3406)
22130         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22131         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22132         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22134 2014-12-15  Will Newton  <will.newton@linaro.org>
22136         * manual/install.texi: Bump required version of texinfo
22137         to 4.7 from 4.5.
22138         * INSTALL: Regenerated.
22139         * configure.ac: Check for makeinfo version 4.7 and above.
22140         * configure: Regenerated.
22142 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22144         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22145         PREFIX, string constant to insert between directory and name.
22146         * sysdeps/posix/shm_open.c: Update caller.
22147         * sysdeps/posix/shm_unlink.c: Likewise.
22148         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22149         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22150         (SEM_SHM_PREFIX): New macro.
22151         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22152         [$(have-thread-library) = no].
22153         * nptl/Makefile (libpthread-routines): Add shm-directory.
22154         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22155         * sysdeps/nptl/shm-directory.h: New file.
22156         * sysdeps/posix/shm-directory.c
22157         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22158         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22159         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22160         INTERNAL_SYSCALL.
22161         (__where_is_shmfs): Function removed.
22162         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22163         Variables removed.
22164         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22165         Use SHM_GET_NAME.
22166         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22168         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22169         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22170         unconditional for use inside libpthread.
22171         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22173 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22175         * nptl/pthread_getaffinity.c: New file.
22176         * nptl/pthread_setaffinity.c: New file.
22177         * nptl/pthread_getname.c: New file.
22178         * nptl/pthread_setname.c: New file.
22180         * nptl/pthread_create.c (START_THREAD_DEFN)
22181         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22183 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22184             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22186         * resolv/res_send.c (send_vc): Disable warning resplen may
22187         be used uninitialized.
22189 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22191         * nptl/tst-mutex6.c
22192         (ATTR_NULL): New define checks ATTR against NULL.
22193         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22194         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22196 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22198         [BZ #17581]
22199         * malloc/hooks.c
22200         (mem2mem_check): Revert my previous change.
22201         (malloc_check_get_size): Revert my previous change.
22202         (mem2chunk_check): Revert my previous change.
22204 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22206         * sysdeps/posix/shm-directory.c: New file.
22207         * sysdeps/posix/shm-directory.h: New file.
22208         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22209         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22210         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22211         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22212         Transmute EPERM to EACCES.
22213         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22214         from ...
22215         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22216         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22218 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22220         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22221         pointer and cast to uintptr_t.
22222         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22223         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22224         Add cast to avoid warning.
22225         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22227 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22229         * nptl/semaphore.h: Move to ...
22230         * sysdeps/pthread/semaphore.h: ... here.
22231         * Makefile (installed-headers): Change nptl/semaphore.h to
22232         sysdeps/pthread/semaphore.h.
22234 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22236         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22237         generated error format strings.
22239         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22240         -Wformat-extra-args warnings for scanf formats.
22241         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22242         test of zero-length format (duh).
22243         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22244         corner-case scanf format test.
22245         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22246         generated fprintf format string.
22247         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22248         corner-case sprintf format tests.
22249         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22250         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22251         -Wformat-extra-args warnings throughout.
22252         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22253         (CFLAGS-scanf4.c): Likewise.
22254         (CFLAGS-scanf7.c): Likewise.
22255         (CFLAGS-tst-sprintf.c): Likewise.
22256         (CFLAGS-tst-printf.c): Likewise.
22257         (CFLAGS-tst-printfsz.c): Likewise.
22259 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22261         * include/cpio.h: New file.
22262         * include/fmtmsg.h: Likewise.
22264         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22265         corresponding format argument to size_t.
22266         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22267         arguments.
22268         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22269         corresponding format argument to size_t.
22270         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22271         arguments.
22272         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22273         corresponding format argument to size_t.
22274         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22275         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22276         (CFLAGS-tst-mbswcs2.c): Likewise.
22277         (CFLAGS-tst-mbswcs3.c): Likewise.
22278         (CFLAGS-tst-mbswcs4.c): Likewise.
22279         (CFLAGS-tst-mbswcs5.c): Likewise.
22280         (CFLAGS-tst-trans.c): Likewise.
22282 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22284         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22285         rather than assuming they won't contain any '%'s.
22287 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22289         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22290         inhibit_loop_to_libcall to avoid recursive calls.
22291         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22292         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22294 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22296         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22297         prototype.
22299 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22301         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22302         integer value instead of boolean.
22304 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22306         * malloc/malloc.c: Fix powerof2 check.
22308 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22310         * locale/programs/locfile.h (maybe_swap_uint32):
22311         Remove inline and add unused attribute.
22313 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22315         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22316         Truncating assembler expression to a .long expression.
22318 2014-12-11  Andreas Schwab  <schwab@suse.de>
22320         * elf/rtld.c (struct map_args): Constify str member.
22321         (do_preload): Constify fname argument.
22323 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22325         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22326         constants definition.
22328 2014-12-11  Andreas Schwab  <schwab@suse.de>
22330         [BZ #16657]
22331         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22332         FORCE_ELISION instead of DO_ELISION.
22333         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22334         Remove.
22335         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22336         Likewise.
22338         * iconvdata/gconv-modules: Remove duplicate entry.
22340 2014-12-11  Will Newton  <will.newton@linaro.org>
22342         Merge gettext 0.19.3 into intl/.
22344         This involves a number of cosmetic changes to comments
22345         and ANSI function definitions and prototypes throughout
22346         all the files. The gettext copyright header is used but
22347         with the date ranges taken from the glibc copy.
22349         * NEWS: Add gettext merge to 2.21.
22350         * intl/bindtextdom.c: Switch to gettext copyright.
22351         Use ANSI definitions and prototypes.
22352         Use gl_* locking primitives rather than __libc_* ones.
22353         Use __builtin_expect rather than __glibc_likely/unlikely.
22354         * intl/dcgettext.c: Switch to gettext copyright.
22355         Use ANSI definitions and prototypes.
22356         * intl/dcigettext.c: Switch to gettext copyright.
22357         Use ANSI definitions and prototypes.
22358         (INTDIV0_RAISES_SIGFPE): New define.
22359         Use gl_* locking primitives rather than __libc_* ones.
22360         Include eval-plural.h instead of plural-eval.c.
22361         Use __builtin_expect rather than __glibc_likely/unlikely.
22362         * intl/dcngettext.c: Switch to gettext copyright.
22363         Use ANSI definitions and prototypes.
22364         * intl/dgettext.c: Likewise.
22365         * intl/dngettext.c: Likewise.
22366         * intl/plural-eval.c: Renamed to...
22367         * intl/eval-plural.h: ...this.
22368         * intl/explodename.c: Switch to gettext copyright.
22369         Use ANSI definitions and prototypes.
22370         (_nl_explode_name): Use strchr instead of __rawmemchr.
22371         * intl/finddomain.c: Switch to gettext copyright.
22372         Use ANSI definitions and prototypes.
22373         Use gl_* locking primitives rather than __libc_* ones.
22374         (_nl_find_domain): Use malloc rather than alloca for
22375         allocation of temporary locale name.
22376         * intl/gettext.c: Switch to gettext copyright.
22377         Use ANSI definitions and prototypes.
22378         * intl/gettextP.h: Switch to gettext copyright.
22379         Use ANSI definitions and prototypes.
22380         Use gl_* locking primitives rather than __libc_* ones.
22381         * intl/gmo.h: Switch to gettext copyright.
22382         (struct sysdep_string): Move struct segment_pair outside of
22383         struct definition.
22384         * intl/hash-string.c: Use ANSI definitions and prototypes.
22385         * intl/hash-string.h: Switch to gettext copyright.
22386         Use ANSI definitions and prototypes.
22387         * intl/l10nflist.c: Switch to gettext copyright.
22388         Use ANSI definitions and prototypes.
22389         (_nl_normalize_codeset): Avoid integer overflow.
22390         * intl/loadinfo.h: Switch to gettext copyright.
22391         Use ANSI definitions and prototypes.
22392         (LIBINTL_DLL_EXPORTED): New define.
22393         (PATH_SEPARATOR): New define.
22394         * intl/loadmsgcat.c: Switch to gettext copyright.
22395         * intl/localealias.c: Switch to gettext copyright.
22396         Use ANSI definitions and prototypes.
22397         (_nl_expand_alias): Use PATH_SEPARATOR.
22398         * intl/ngettext.c: Switch to gettext copyright.
22399         Use ANSI definitions and prototypes.
22400         * intl/plural-exp.c: Likewise.
22401         * intl/plural-exp.h: Switch to gettext copyright.
22402         Use ANSI definitions and prototypes.
22403         (struct expression): Move definition of enum operator outside
22404         of struct definition.
22405         * intl/plural.c: Regenerate.
22406         * intl/plural.y: Switch to gettext copyright.
22407         Use ANSI definitions and prototypes.
22408         Port to bison 3.0.
22409         * intl/textdomain.c: Switch to gettext copyright.
22410         Use ANSI definitions and prototypes.
22411         Use gl_* locking primitives rather than __libc_* ones.
22413 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22415         * debug/warning-nop.c: Add used atrribute.
22417 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22419         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22421         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22422         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22423         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22425 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22426             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22428         [BZ #17634]
22429         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22430         Undefine after defining function.  Define as weak alias of
22431         __wcschr.  Use libc_hidden_weak.
22432         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22433         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22434         (libc_hidden_def): Also define __GI___wcschr alias.
22435         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22436         __wcschr and define as weak alias of __wcschr.
22437         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22438         __wcschr.
22439         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22440         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22441         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22442         libc_hidden_weak.  Do not use libc_hidden_def.
22443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22444         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22445         __GI___wcschr alias.
22446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22447         [IS_IN (libc)] (wcschr): Define as macro expanding to
22448         __redirect_wcschr.
22449         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22450         [IS_IN (libc)] (__wcschr_power6): Likewise.
22451         [IS_IN (libc)] (__wcschr_power7): Likewise.
22452         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22453         instead of wcschr.
22454         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22455         __libc_wcschr.
22456         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22457         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22458         __wcschr and define as weak alias of __wcschr.  Use
22459         libc_hidden_builtin_def.
22460         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22461         as weak alias of __wcschr.  Use libc_hidden_weak.
22462         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22463         wcschr.
22464         * time/era.c (_nl_init_era_entries): Likewise.
22465         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22466         variable.
22467         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22468         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22470 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22472         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22473         format for long int variable.
22475 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22477         [BZ #10672]
22478         * manual/search.texi: (Array Sort Function): Remove claim how to make
22479         qsort stable.
22481 2014-12-10  Andreas Schwab  <schwab@suse.de>
22483         [BZ #12847]
22484         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22485         user-controlled locks.
22487 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22489         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22490         register.
22492 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22494         * configure.ac (--disable-werror): New configure option.
22495         (enable_werror): New AC_SUBST.
22496         * configure: Regenerated.
22497         * config.make.in (enable-werror): New variable.
22498         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22499         -Wno-error=undef.
22500         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22501         * manual/install.texi (Configuring and compiling): Document
22502         --disable-werror.
22503         * INSTALL: Regenerated.
22504         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22505         (CFLAGS-tst-chk2.c): Likewise.
22506         (CFLAGS-tst-chk3.c): Likewise.
22507         (CFLAGS-tst-chk4.cc): Likewise.
22508         (CFLAGS-tst-chk5.cc): Likewise.
22509         (CFLAGS-tst-chk6.cc): Likewise.
22510         (CFLAGS-tst-lfschk1.c): Likewise.
22511         (CFLAGS-tst-lfschk2.c): Likewise.
22512         (CFLAGS-tst-lfschk3.c): Likewise.
22513         (CFLAGS-tst-lfschk4.cc): Likewise.
22514         (CFLAGS-tst-lfschk5.cc): Likewise.
22515         (CFLAGS-tst-lfschk6.cc): Likewise.
22517         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22518         (main): Disable -Wdeprecated-declarations around calls to
22519         register_printf_function.
22521         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22522         (do_test): Disable -Wdiv-by-zero around some calls to
22523         fwrite_unlocked and fread_unlocked.
22525         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22526         (DIAG_POP_NEEDS_COMMENT): Likewise.
22527         (_DIAG_STR1): Likewise.
22528         (_DIAG_STR): Likewise.
22529         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22530         * stdio-common/bug21.c: Include <libc-internal.h>.
22531         (do_test): Disable -Wformat around call to sscanf.
22532         * stdio-common/scanf14.c: Include <libc-internal.h>.
22533         (main): Disable -Wformat around some calls to scanf functions.
22535 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22537         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22539 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22541         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22542         stack variable alignment.
22544 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22546         [BZ #17682]
22547         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22548         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22549         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22550         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22551         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22552         __getrlimit instead of getrlimit.
22553         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22554         __gettimeofday instead of gettimeofday.
22555         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22556         Likewise.
22557         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22558         Likewise.
22559         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22560         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22561         Remove variable.
22562         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22563         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22565 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22567         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22568         for wide-character tests.
22570 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22572         * io/openat64.c: #include <libc-internal.h>
22573         (__openat64): Prototypify.  Use ignore_value on MODE.
22574         * io/openat.c: Likewise.
22575         * misc/reboot.c: #include <libc-internal.h>
22576         (reboot): Prototypify.  Use ignore_value on HOWTO.
22577         * misc/ptrace.c: #include <libc-internal.h>
22578         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22580 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22582         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22583         XPG4, UNIX98 and XOPEN2K.
22584         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22585         Remove variable.
22586         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22588 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22590         * libio/fileops.c: Use ISO C style for function definitions.
22591         * libio/iofopen.c: Likewise.
22592         * libio/wfileops.c: Likewise.
22594         [BZ #17653]
22595         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22596         offset on EOF.
22597         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22598         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22599         (fgets_func): Function pointer to fgets and fgetws.
22600         (do_ftell_test): Add test to verify ftell value after read
22601         EOF.
22602         (do_test): Set fgets_func.
22604         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22605         O_TRUNC flag for w and w+ modes.
22606         (do_rewind_test): Likewise.
22607         (do_ftell_test): Likewise.
22608         (do_write_test): Likewise.
22610         [BZ #17647]
22611         * libio/fileops.c (do_ftell): Seek only when there are
22612         unflushed writes.
22613         * libio/wfileops.c (do_ftell_wide): Likewise.
22614         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22615         test case.
22616         (do_one_test): Call it.
22618 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22620         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22621         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22622         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22623         Remove variable.
22624         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22625         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22626         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22628 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22630         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22631         Remove variable.
22632         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22634         [BZ #17668]
22635         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22636         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22637         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22638         __freeifaddrs.  Use libc_hidden_weak.
22639         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22640         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22641         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22642         __freeifaddrs.  Use libc_hidden_weak.
22643         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22644         __getifaddrs and define as weak alias of __getifaddrs.  Use
22645         libc_hidden_weak.
22646         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22647         __freeifaddrs.  Use libc_hidden_weak.
22648         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22649         Remove variable.
22650         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22651         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22653 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22655         [BZ #17601]
22656         * sysdeps/mips/start.S (__start): Use indirect jump to call
22657         __libc_start_main.
22659 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22661         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22663         * nptl/tst-mutex1.c: Include <stdbool.h>.
22664         [!ATTR] (ATTR_NULL): New macro.
22665         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22666         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22667         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22669         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22670         to char *.
22672         [BZ #17665]
22673         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22674         Change conditional to [__USE_MISC].
22676         [BZ #17664]
22677         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22678         fgets_unlocked.
22679         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22680         __fgets_unlocked.
22681         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22682         fgets_unlocked.
22683         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22684         Remove variable.
22685         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22686         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22687         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22688         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22689         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22690         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22691         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22692         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22693         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22695         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22697 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22700         Remove strpbrk objects.
22701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22702         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22703         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22704         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22705         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22706         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22709         Remove strcspn objects.
22710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22711         (__libc_ifunc_impl_list): Remove strcspn implementation.
22712         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22713         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22714         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22715         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22718         Remove strspn objetcs.
22719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22720         (__libc_ifunc_impl_list): Remove strspn implementation.
22721         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22722         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22723         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22724         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22726 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22728         [BZ #17581]
22729         * malloc/hooks.c
22730         (mem2mem_check): Add a terminator to the chain of checking blocks.
22731         (malloc_check_get_size): Use it here.
22732         (mem2chunk_check): Ditto.
22734 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22736         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22737         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22739 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22741         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22743         * nptl/nptl-init.c: Include libc-internal.h.
22744         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22746         * elf/ldconfig.c (search_dir): Expand comment.
22748 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22750         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22751         variable.
22752         (linknamespace-symlist-stdlibs-tests): Likewise.
22753         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22754         instead of $(objpfx)symlist-stdlibs.
22755         (linknamespace-libs-isoc): New variable.
22756         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22757         (linknamespace-libs-ISO): New variable.
22758         (linknamespace-libs-ISO99): Likewise.
22759         (linknamespace-libs-ISO11): Likewise.
22760         (linknamespace-libs-XPG3): Likewise.
22761         (linknamespace-libs-XPG4): Likewise.
22762         (linknamespace-libs-POSIX): Likewise.
22763         (linknamespace-libs-UNIX98): Likewise.
22764         (linknamespace-libs-XOPEN2K): Likewise.
22765         (linknamespace-libs-POSIX2008): Likewise.
22766         (linknamespace-libs-XOPEN2K8): Likewise.
22767         ($(objpfx)symlist-stdlibs): Replace by
22768         $(linknamespace-symlist-stdlibs-tests).  Use
22769         $(linknamespace-libs-$*) as set of libraries.
22770         ($(linknamespace-header-tests)): Update dependencies.  Use
22771         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22772         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22773         * conform/linknamespace.pl: Remove comment about considering
22774         definitions of symbols from irrelevant libraries.
22776 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22778         [BZ #13862]
22779         * elf/dl-tls.c: Include <atomic.h>.
22780         (oom): Remove #ifdef SHARED/#endif.
22781         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22782         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22783         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22784         big enough.
22785         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22786         * nptl/Makefile (tests): Add tst-stack4.
22787         (modules-names): Add tst-stack4mod.
22788         ($(objpfx)tst-stack4): New.
22789         (tst-stack4mod.sos): Likewise.
22790         ($(objpfx)tst-stack4.out): Likewise.
22791         ($(tst-stack4mod.sos)): Likewise.
22792         (clean): Likewise.
22793         * nptl/tst-stack4.c: New file.
22794         * nptl/tst-stack4mod.c: Likewise.
22796 2014-11-27  J. Brown  <jb999@gmx.de>
22798         * sysdeps/x86/bits/string.h: Add recent CPUs.
22800 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22802         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22803         sigblock.
22805         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22806         feof.
22808         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22809         variable.
22811 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22813         * nscd/connections.c: Include libc-internal.h because of macro
22814         usage ignore_value.
22816 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22818         * string/bits/string3.h (__warn_memset_zero_len): Don't
22819         declare for gcc newer than 5.0.
22820         (memset): Don't test for zero-length __LEN for gcc newer than
22821         5.0.
22823 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22825         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22826         size_t for %zu format.
22828         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22829         difference, not %ju.
22831 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22833         * include/libc-internal.h (ignore_value): New macro.
22834         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22835         with ignore_value.
22837         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22838         definition.
22840         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22841         pthread_cleanup_push to void *.
22843         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22844         Undefine.
22846         [BZ #16619]
22847         [BZ #16740]
22848         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22849         instead of 1L << 52.
22851         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22852         * libio/bug-rewind2.c (do_test): Likewise.
22854         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22855         * debug/test-strcpy_chk-ifunc.c: Likewise.
22856         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22857         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22858         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22859         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22860         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22861         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22862         * Rules [$(multi-arch) = no] (tests): Do not filter out
22863         $(tests-ifunc).
22864         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22865         * debug/Makefile (tests-ifunc): Remove variable.
22866         (tests): Do not add $(tests-ifunc).
22867         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22868         (tests): Do not add $(tests-ifunc).
22869         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22870         [TEST_IFUNC]: Remove conditionals.
22871         * string/test-string.h (TEST_IFUNC): Remove macro.
22872         [TEST_IFUNC]: Remove conditionals.
22874         * string/test-strchr.c [!WIDE] (L): New macro.
22875         [WIDE] (L): Likewise.
22876         (check1): Use CHAR instead of char.  Use L on string and character
22877         constants.
22879 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22881         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22882         tests.
22883         * sysdeps/powerpc/bits/atomic.h
22884         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22885         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22886         (atomic_exchange_and_add_acq): Likewise.
22887         (atomic_exchange_and_add_rel): Likewise.
22888         * sysdeps/powerpc/powerpc32/bits/atomic.h
22889         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22890         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22891         * sysdeps/powerpc/powerpc64/bits/atomic.h
22892         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22893         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22895 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22897         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22898         Change synchronization of __sched_fifo_min_prio and
22899         __sched_fifo_max_prio.
22900         * nptl/pthread_mutexattr_getprioceiling.c
22901         (pthread_mutexattr_getprioceiling): Likewise.
22902         * nptl/pthread_mutexattr_setprioceiling.c
22903         (pthread_mutexattr_setprioceiling): Likewise.
22904         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22905         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22906         Likewise.
22908 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22910         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22911         void.
22913 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22915         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22916         third argument const.
22918 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22920         fnmatch: work around GCC compiler warning bug with uninit var
22921         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22922         This works around a bug with x86-64 GCC 4.9.2 and earlier
22923         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22924         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22925         used uninitialized in this function [-Wmaybe-uninitialized]".
22927 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22929         * posix/bug-regex31.c (main): Return RES not 0.
22931 2014-11-25  Anton Blanchard <anton@samba.org>
22933         * sysdeps/powerpc/bits/atomic.h
22934         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22936 2014-11-24  Sterling Augustine  <saugustine@google.com>
22938         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22940 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22942         [BZ #17608]
22943         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22945 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22947         [BZ #17633]
22948         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22949         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22950         variable.
22951         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22952         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22954 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22956         * string/strncpy.c (strncpy): Improve performance by using memset.
22958 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22960         * string/strcpy.c (strcpy):
22961         Improve performance by using strlen and memcpy.
22963 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22965         * string/strcoll_l.c (get_next_seq): __always_inline.
22966         * string/strcoll_l.c (do_compare): __always_inline.
22968 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22971         defined.
22972         * include/mqueue.h: Likewise.
22973         * include/stdlib.h: Likewise.
22975         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22976         (get_null_defines): Adjust.
22977         * sunrpc/Makefile: Adjust comment.
22978         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22979         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22980         (CFLAGS-interp.c): Likewise.
22981         (CFLAGS-ldconfig.c): Likewise.
22982         (CPPFLAGS-.os): Likewise.
22983         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22984         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22985         * extra-modules.mk (extra-modules.mk): Likewise.
22986         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22987         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22988         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22989         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22990         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22991         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22992         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22993         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22994         * iconvdata/Makefile (CPPFLAGS): Likewise.
22995         (cpp-srcs-left): Add libof for all iconvdata routines.
22996         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22997         * include/assert.h: Likewise.
22998         * include/ctype.h: Likewise.
22999         * include/errno.h: Likewise.
23000         * include/libc-symbols.h: Likewise.
23001         * include/math.h: Likewise.
23002         * include/netdb.h: Likewise.
23003         * include/resolv.h: Likewise.
23004         * include/stdio.h: Likewise.
23005         * include/stdlib.h: Likewise.
23006         * include/string.h: Likewise.
23007         * include/sys/stat.h: Likewise.
23008         * include/wctype.h: Likewise.
23009         * intl/l10nflist.c: Likewise.
23010         * libidn/idn-stub.c: Likewise.
23011         * libio/libioP.h: Likewise.
23012         * nptl/libc_multiple_threads.c: Likewise.
23013         * nptl/pthreadP.h: Likewise.
23014         * posix/regex_internal.h: Likewise.
23015         * resolv/res_hconf.c: Likewise.
23016         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23017         * sysdeps/arm/memmove.S: Likewise.
23018         * sysdeps/arm/sysdep.h: Likewise.
23019         * sysdeps/generic/_itoa.h: Likewise.
23020         * sysdeps/generic/symbol-hacks.h: Likewise.
23021         * sysdeps/gnu/errlist.awk: Likewise.
23022         * sysdeps/gnu/errlist.c: Likewise.
23023         * sysdeps/i386/i586/memcpy.S: Likewise.
23024         * sysdeps/i386/i586/memset.S: Likewise.
23025         * sysdeps/i386/i686/memcpy.S: Likewise.
23026         * sysdeps/i386/i686/memmove.S: Likewise.
23027         * sysdeps/i386/i686/mempcpy.S: Likewise.
23028         * sysdeps/i386/i686/memset.S: Likewise.
23029         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23030         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23031         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23032         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23033         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23035         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23036         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23037         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23038         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23045         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23046         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23047         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23048         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23049         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23050         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23051         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23052         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23053         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23054         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23055         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23057         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23058         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23059         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23060         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23062         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23063         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23064         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23065         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23066         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23067         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23068         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23069         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23070         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23071         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23072         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23073         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23074         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23075         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23076         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23077         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23078         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23079         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23080         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23081         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23082         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23083         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23084         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23085         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23086         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23087         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23088         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23089         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23090         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23091         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23092         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23093         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23094         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23095         * sysdeps/posix/closedir.c: Likewise.
23096         * sysdeps/posix/opendir.c: Likewise.
23097         * sysdeps/posix/readdir.c: Likewise.
23098         * sysdeps/posix/rewinddir.c: Likewise.
23099         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23100         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23101         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23102         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23103         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23104         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23105         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23108         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23111         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23112         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23113         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23114         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23115         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23116         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23117         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23118         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23119         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23120         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23121         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23122         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23124         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23126         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23127         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23134         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23135         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23136         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23137         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23138         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23139         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23140         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23141         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23142         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23143         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23144         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23145         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23146         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23147         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23148         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23149         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23150         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23153         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23155         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23156         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23157         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23158         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23159         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23160         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23161         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23162         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23163         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23164         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23165         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23166         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23167         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23168         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23169         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23170         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23171         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23172         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23173         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23174         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23175         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23176         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23177         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23178         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23179         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23182         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23183         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23184         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23185         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23186         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23187         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23188         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23189         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23190         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23191         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23192         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23193         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23195         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23197         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23198         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23199         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23200         * sysdeps/unix/alpha/sysdep.S: Likewise.
23201         * sysdeps/unix/alpha/sysdep.h: Likewise.
23202         * sysdeps/unix/make-syscalls.sh: Likewise.
23203         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23204         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23205         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23206         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23207         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23208         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23209         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23210         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23211         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23212         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23213         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23214         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23217         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23218         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23219         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23220         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23221         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23222         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23223         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23224         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23225         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23226         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23227         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23228         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23229         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23232         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23233         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23237         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23241         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23242         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23243         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23244         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23245         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23246         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23247         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23250         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23253         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23254         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23255         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23256         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23258         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23259         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23261         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23262         * sysdeps/x86_64/memcpy.S: Likewise.
23263         * sysdeps/x86_64/memmove.c: Likewise.
23264         * sysdeps/x86_64/memset.S: Likewise.
23265         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23267         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23268         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23269         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23270         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23271         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23272         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23273         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23274         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23275         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23276         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23277         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23278         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23280         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23281         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23282         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23284         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23285         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23286         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23288         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23289         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23290         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23291         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23292         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23293         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23294         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23295         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23296         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23297         * sysdeps/x86_64/strcmp.S: Likewise.
23299         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23301         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23302         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23303         * elf/rtld-Rules: Likewise.
23304         * elf/setup-vdso.h: Likewise.
23305         * include/assert.h: Likewise.
23306         * include/bits/stdlib-float.h: Likewise.
23307         * include/errno.h: Likewise.
23308         * include/sys/stat.h: Likewise.
23309         * include/unistd.h: Likewise.
23310         * sysdeps/aarch64/setjmp.S: Likewise.
23311         * sysdeps/alpha/setjmp.S: Likewise.
23312         * sysdeps/arm/__longjmp.S: Likewise.
23313         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23314         * sysdeps/arm/setjmp.S: Likewise.
23315         * sysdeps/arm/sysdep.h: Likewise.
23316         * sysdeps/generic/_itoa.h: Likewise.
23317         * sysdeps/generic/dl-sysdep.h: Likewise.
23318         * sysdeps/generic/ldsodefs.h: Likewise.
23319         * sysdeps/i386/dl-tls.h: Likewise.
23320         * sysdeps/i386/setjmp.S: Likewise.
23321         * sysdeps/m68k/setjmp.c: Likewise.
23322         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23323         * sysdeps/mach/hurd/opendir.c: Likewise.
23324         * sysdeps/posix/getcwd.c: Likewise.
23325         * sysdeps/posix/opendir.c: Likewise.
23326         * sysdeps/posix/profil.c: Likewise.
23327         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23328         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23329         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23330         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23332         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23333         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23334         * sysdeps/s390/dl-tls.h: Likewise.
23335         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23336         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23337         * sysdeps/sh/sh3/setjmp.S: Likewise.
23338         * sysdeps/sh/sh4/setjmp.S: Likewise.
23339         * sysdeps/unix/alpha/sysdep.h: Likewise.
23340         * sysdeps/unix/arm/sysdep.S: Likewise.
23341         * sysdeps/unix/i386/sysdep.S: Likewise.
23342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23343         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23344         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23346         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23347         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23348         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23349         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23350         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23351         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23352         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23353         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23354         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23357         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23360         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23361         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23362         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23365         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23369         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23370         * sysdeps/x86_64/setjmp.S: Likewise.
23372         * include/math.h: Use IS_IN instead of IS_IN_libm.
23373         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23374         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23375         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23376         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23377         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23378         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23379         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23380         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23382         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23383         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23384         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23385         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23387         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23388         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23392         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23393         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23394         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23395         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23396         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23397         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23398         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23400         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23401         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23402         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23403         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23404         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23405         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23407         Likewise.
23408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23409         Likewise.
23410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23411         Likewise.
23412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23413         Likewise.
23414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23415         Likewise.
23416         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23417         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23418         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23419         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23420         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23421         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23427         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23428         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23429         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23430         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23431         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23432         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23434         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23435         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23436         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23437         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23438         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23439         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23440         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23442         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23444         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23445         * nptl/pthreadP.h: Likewise.
23446         * nptl_db/structs.def: Likewise.
23447         * sysdeps/arm/sysdep.h: Likewise.
23448         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23449         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23450         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23451         * sysdeps/unix/alpha/sysdep.h: Likewise.
23452         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23454         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23455         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23456         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23457         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23458         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23459         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23460         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23461         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23462         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23463         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23464         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23465         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23470         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23472         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23473         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23474         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23475         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23476         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23477         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23479         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23480         * nptl/pthreadP.h: Likewise.
23481         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23482         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23483         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23484         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23485         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23486         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23487         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23489         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23490         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23491         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23492         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23494         Likewise.
23495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23496         Likewise.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23499         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23502         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23503         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23504         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23506         * dlfcn/dladdr.c: Use IS_IN.
23507         * dlfcn/dladdr1.c: Likewise.
23508         * dlfcn/dlclose.c: Likewise.
23509         * dlfcn/dlerror.c: Likewise.
23510         * dlfcn/dlinfo.c: Likewise.
23511         * dlfcn/dlmopen.c: Likewise.
23512         * dlfcn/dlopen.c: Likewise.
23513         * dlfcn/dlsym.c: Likewise.
23514         * dlfcn/dlvsym.c: Likewise.
23516         * include/ifaddrs.h: Use IS_IN.
23517         * inet/check_pf.c: Likewise.
23518         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23519         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23521         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23522         IS_IN_ldconfig.
23523         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23524         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23526         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23527         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23528         IS_IN (libc).
23530         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23532         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23533         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23534         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23535         * include/libc-symbols.h (IS_IN_LIB): New macro.
23536         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23537         * include/netdb.h: Likewise.
23538         * include/stap-probe.h: Remove all uses of IN_LIB.
23540         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23541         instead of IN_MODULE.
23542         * include/libc-symbols.h (IN_MODULE): Define using
23543         MODULE_NAME.
23544         (PASTE_NAME, PASTE_NAME1): New macros.
23545         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23546         of IN_LIB.
23547         (STAP_PROBE_ASM): Likewise.
23549 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23551         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23552         __mach_init in dlopened libc.
23554 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23556         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23557         * sysdeps/arm/preconfigure: Regenerate.
23559 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23561         * nptl/pthread_create.c (__pthread_create_2_1): Set
23562         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23563         when copying values from IATTR into PD.
23565 2014-11-21  Will Newton  <will.newton@linaro.org>
23566             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23568         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23569         Refactor inline-asm.  Also add comment.
23571         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23572         ElfW macro instead of hardcoded Elf64 types.
23573         (la_aarch64_gnu_pltenter): Likewise.
23574         * sysdeps/aarch64/dl-machine.h
23575         (elf_machine_runtime_setup): Use ElfW(Addr).
23577         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23578         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23579         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23580         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23581         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23582         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23583         (R_AARCH64_TLS_DTPMOD): This.
23584         (R_AARCH64_TLS_DTPREL64): Rename to ...
23585         (R_AARCH64_TLS_DTPREL): This.
23586         (R_AARCH64_TLS_TPREL64): Rename to ...
23587         (R_AARCH64_TLS_TPREL): This.
23588         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23589         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23590         R_AARCH64_TLS_TPREL64.
23591         (elf_machine_rela): Likewise.
23593 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23595         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23596         by setting it to 0.  64b atomics are not supported currently.
23598 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23600         [BZ #16469]
23601         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23602         search domain names.
23604 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23606         [BZ #16469]
23607         * NEWS: Update.
23608         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23609         trailing dot.
23610         * posix/tst-getaddrinfo5.c: New.
23611         * posix/Makefile (tests): Add it.
23613 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23615         [BZ #14498]
23616         * NEWS: Fixed.
23617         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23618         after parsing line but before break_if_match.
23619         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23620         if there is a protocol mismatch.
23622 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23624         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23625         because the potential race is on the user-supplied stream.
23627 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23629         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23630         string literal if not passed a buffer.
23631         * manual/job.texi (ctermid): Update reasoning, note deviation
23632         from posix, suggest mtasurace when not passed a buffer, for
23633         future non-preliminary safety notes.
23635 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23637         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23638         of not passing it a buffer.
23639         Reported by Peng Haitao.
23641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23643         * manual/Makefile ($(objpfx)stamp-summary): Require
23644         check-safety.sh to pass.
23645         * manual/check-safety.sh: Wish for verification that every
23646         @deftypefn and @deftypefun is followed by a @safety remark.
23648 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23650         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23652         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23653         PTHREAD_CANCEL_ASYNCHRONOUS.
23654         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23655         send SIGCANCEL.
23657         * nptl/default-sched.h: New file.
23658         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23659         * nptl/pthread_create.c: Include it.
23660         (__pthread_create_2_1): Use collect_default_sched instead of making
23661         Linux syscalls here directly.
23663 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23665         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23666         __pthread_once): Use C11 atomics.
23668 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23670         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23672 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23674         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23675         atomic_thread_fence_acquire, atomic_thread_fence_release,
23676         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23677         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23678         atomic_compare_exchange_weak_relaxed,
23679         atomic_compare_exchange_weak_acquire,
23680         atomic_compare_exchange_weak_release,
23681         atomic_exchange_acquire, atomic_exchange_release,
23682         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23683         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23684         atomic_fetch_and_acquire,
23685         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23687 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23689         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23690         USE_ATOMIC_COMPILER_BUILTINS): Define.
23691         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23693         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23695         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23697         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23699         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23701         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23703         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23705         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23707         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23709         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23711         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23713         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23717         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23719         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23721         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23723         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23725         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23726         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23727         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23729         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23732 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23734         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23735         the sched_priority value here.  It was already checked when the user
23736         called pthread_attr_setschedparam.
23738         * nptl/tst-bad-schedattr.c: New file.
23739         * nptl/Makefile (tests): Add it.
23741 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23742             Florian Weimer  <fweimer@redhat.com>
23743             Joseph Myers  <joseph@codesourcery.com>
23744             Adam Conrad  <adconrad@0c3.net>
23745             Andreas Schwab  <schwab@suse.de>
23746             Brooks  <bmoses@google.com>
23748         [BZ #17625]
23749         * wordexp-test.c (__dso_handle): Add prototype.
23750         (__register_atfork): Likewise.
23751         (__app_register_atfork): New function.
23752         (registered_forks): New global.
23753         (register_fork): New function.
23754         (test_case): Add 3 new tests for WRDE_CMDSUB.
23755         (main): Call __app_register_atfork.
23756         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23757         fork count is non-zero fail the test.
23758         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23759         is set.
23760         (parse_dollars): Remove check for WRDE_NOCMD.
23761         (parse_dquote): Likewise.
23763 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765         * Makeconfig (built-modules): List non-library modules to be
23766         built.
23767         (module-cppflags): Include libc-modules.h for
23768         everything except shlib-versions.v.i.
23769         (CPPFLAGS): Use it.
23770         (before-compile): Add libc-modules.h.
23771         ($(common-objpfx)libc-modules.h,
23772         $(common-objpfx)libc-modules.stmp): New targets.
23773         (common-generated): Add libc-modules.h and libc-modules.stmp.
23774         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23775         * include/libc-symbols.h: Don't include libc-modules.h.
23776         * include/libc-modules.h: Remove file.
23777         * scripts/gen-libc-modules.awk: New script to generate
23778         libc-modules.h.
23779         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23780         Depend on libc-modules.stmp.
23782         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23784         * Makeconfig (in-module): Get value of libof set for the
23785         translation unit.
23786         (CPPFLAGS): Use $(in-module).
23787         * Makerules: Don't suffix routine names for nonlib.
23788         * include/libc-modules.h: New file.
23789         * include/libc-symbols.h: Include libc-modules.h
23790         (IS_IN): New macro to replace IS_IN_* macros.
23791         * elf/Makefile: Set libof-* for each routine.
23792         * elf/rtld-Rules: Likewise.
23793         * extra-modules.mk: Likewise.
23794         * iconv/Makefile: Likewise.
23795         * iconvdata/Makefile: Likewise.
23796         * locale/Makefile: Likewise.
23797         * malloc/Makefile: Likewise.
23798         * nss/Makefile: Likewise.
23799         * sysdeps/gnu/Makefile: Likewise.
23800         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23801         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23802         * sysdeps/s390/s390-64/Makefile: Likewise.
23803         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23804         CPPFLAGS for nscd instead of nonlib.
23806 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23808         * nptl/createthread.c: New file.
23810         * nptl/createthread.c: Moved ...
23811         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23813         * nptl/createthread.c: Add proper top-line comment.
23814         (do_clone): Folded into ...
23815         (create_thread): ... here.  Take new arguments STOPPED_START and
23816         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23817         increment __nptl_threads, do event-reporting logic, do
23818         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23819         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23820         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23821         just send SIGCANCEL.
23822         * nptl/pthread_create.c: Forward-declare create_thread before
23823         including createthread.c.
23824         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23825         declaration, and new macro START_THREAD_SELF to replace argument.
23826         Remove return statement.
23827         (report_thread_creation): New function.
23828         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23829         synchronization logic, and __nptl_nthreads increment here, around
23830         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23831         PD->parent_cancelhandling here, before create_thread.  When
23832         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23833         __deallocate_stack, and ENOMEM translation here.
23835 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23837         [BZ #17616]
23838         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23839         (mptwo): Rename to __mptwo.
23840         (__inv): Use __mptwo instead of mptwo.
23841         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23842         (mptwo): Rename to __mptwo.
23843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23844         of mpone and __mptwo instead of mptwo.
23845         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23846         instead of mpone.
23847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23848         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23849         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23850         of mpone and __mptwo instead of mptwo.
23851         (__mpranred): Use __mpone instead of mpone.
23852         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23853         variable.
23854         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23855         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23856         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23857         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23858         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23859         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23860         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23861         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23862         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23863         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23864         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23865         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23866         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23867         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23868         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23869         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23870         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23871         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23872         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23874 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23876         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23877         replace BSD Handler xref with BSD Signal Handling.
23879 2014-11-17  Richard Henderson  <rth@redhat.com>
23881         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23882         (_FP_PACK_RAW_2): Remove.
23883         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23884         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23885         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23886         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23887         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23888         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23889         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23890         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23891         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23892         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23893         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23894         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23895         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23896         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23897         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23898         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23900 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23902         * signal/signal.h [__USE_MISC]
23903         (struct sigvec): Remove type.
23904         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23905         (sigvec): Remove declaration.
23906         * sysdeps/posix/sigvec.c: Moved ...
23907         * signal/sigvec.c: ... here, replacing old file.
23908         (struct sigvec): New type, copied from old signal.h definition.
23909         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23910         (__sigvec): Convert definition to prototype.
23911         (sigvec): Replace weak_alias with compat_symbol.
23912         * signal/Versions (libc: GLIBC_2.21): New version set.
23913         * include/signal.h: Remove __sigvec declaration.
23914         * sysdeps/unix/bsd/sigvec.c: Remove file.
23915         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23916         * manual/signal.texi (BSD Handler): Remove subsection.
23917         Move siginterrupt up to ...
23918         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23919         (Blocking in BSD): Fold subsection into its parent.
23920         * NEWS: Mention sigvec removal.
23922 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23924         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23925         (DLA_FMS): Make definition conditional only on [__FMA4__].
23926         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23927         definition.
23929         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23930         Make definition conditional only on [PROF].
23931         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23932         definition.
23933         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23934         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23936         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23937         !__GNUC__].
23938         * include/signal.h (__sigpause): Move declaration above call to
23939         libc_hidden_proto.
23940         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23941         variable.
23942         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23943         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23945 2014-11-14  David S. Miller  <davem@davemloft.net>
23947         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23948         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23950 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23952         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23953         * configure: Regenerated.
23954         * manual/install.texi (Tools for Compilation): Document a
23955         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23956         compiler verified to work.
23957         * INSTALL: Regenerated.
23959         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23960         redeclare with asm name.
23961         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23962         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23963         including <string.h>.
23964         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23965         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23966         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23967         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23968         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23970         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23972 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23974         * stdlib/strtol.c (__strtol): Use prototype definition.
23976         [BZ #17594]
23977         * stdlib/strtol.c (SYM__): New macro.
23978         (SYM__1): Likewise.
23979         (__strtol): Likewise.
23980         (strtol): Rename to __strtol and define as weak alias of
23981         __strtol.  Use libc_hidden_weak.
23983 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23985         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23986         Use numbered labels in inline assembly.
23988 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23990         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23991         Add setjmp LIBC_PROBE.
23992         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23993         Likewise.
23994         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23995         Add longjmp, longjmp_target LIBC_PROBE.
23996         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23997         Likewise.
23999 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24001         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24002         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24003         to get rid of unused variable warning.
24005 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24007         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24008         Check for unwind_backtrace ==  NULL only in SHARED case.
24009         (__backchain_backtrace): Compile only in SHARED case.
24010         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24011         Likewise.
24012         (__backchain_backtrace): Declare as static.
24014 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24016         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24017         (__libc_multiple_threads_ptr): Variable moved ...
24018         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24020 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24022         * conform/GlibcConform.pm: New file.
24023         * conform/conformtest.pl: Use GlibcConform module.
24024         * conform/linknamespace.pl: New file.
24025         * conform/list-header-symbols.pl: Likewise.
24026         * conform/Makefile (linknamespace-symlists-base): New variable.
24027         (linknamespace-symlists-tests): Likewise.
24028         (linknamespace-header-base): Likewise.
24029         (linknamespace-header-tests): Likewise.
24030         (tests-special): Add new tests.
24031         ($(linknamespace-symlists-tests)): New rule.
24032         (linknamespace-libs): New variable.
24033         ($(objpfx)symlist-stdlibs): New rule.
24034         ($(linknamespace-header-tests)): Likewise.
24035         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24036         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24037         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24038         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24039         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24040         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24041         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24042         (test-xfail-ISO/math.h/linknamespace): Likewise.
24043         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24044         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24045         (test-xfail-ISO/time.h/linknamespace): Likewise.
24046         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24047         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24048         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24049         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24050         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24051         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24052         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24053         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24054         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24055         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24056         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24057         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24058         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24059         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24060         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24061         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24062         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24063         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24064         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24065         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24066         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24067         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24068         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24069         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24070         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24071         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24072         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24073         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24074         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24075         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24076         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24077         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24078         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24079         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24080         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24081         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24082         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24083         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24084         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24085         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24086         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24087         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24088         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24089         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24090         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24091         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24092         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24093         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24094         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24095         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24096         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24097         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24098         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24099         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24100         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24101         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24102         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24103         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24104         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24105         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24106         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24107         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24108         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24109         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24110         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24111         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24112         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24113         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24114         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24115         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24116         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24117         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24118         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24119         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24120         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24121         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24122         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24123         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24124         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24125         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24126         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24127         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24128         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24129         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24130         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24131         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24132         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24133         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24134         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24135         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24136         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24137         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24138         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24139         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24140         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24141         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24142         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24143         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24144         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24145         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24146         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24147         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24148         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24149         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24150         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24151         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24152         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24153         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24154         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24155         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24156         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24157         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24158         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24159         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24160         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24161         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24162         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24163         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24164         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24165         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24166         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24167         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24168         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24169         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24170         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24171         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24172         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24173         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24174         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24175         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24176         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24177         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24178         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24179         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24180         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24181         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24182         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24183         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24184         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24185         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24186         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24187         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24188         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24189         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24190         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24191         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24192         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24193         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24194         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24195         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24197         [BZ #17589]
24198         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24199         of fgets_unlocked.
24201         [BZ #17585]
24202         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24203         (memmem): Rename to __memmem and define as weak alias of
24204         __memmem.  Use libc_hidden_weak.
24205         (__memmem): Use libc_hidden_def.
24206         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24207         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24208         memmem.
24210         [BZ #17582]
24211         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24212         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24213         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24214         and define as weak alias of __fgets_unlocked.  Use
24215         libc_hidden_weak.
24216         (__fgets_unlocked): Use libc_hidden_def.
24217         * include/stdio.h (__fgets_unlocked): Declare.  Use
24218         libc_hidden_proto.
24219         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24220         __fgets_unlocked instead of fgets_unlocked.
24221         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24222         (GET_NPROCS_CONF_PARSER): Likewise.
24223         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24224         (GET_NPROCS_CONF_PARSER): Likewise.
24226         [BZ #17574]
24227         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24228         weak alias of __wmemset.  Use libc_hidden_weak.
24229         (__wmemset): Use libc_hidden_def.
24230         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24231         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24232         of wmemset.
24234         [BZ #17573]
24235         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24236         with asm name __mempcpy.
24237         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24239         [BZ #17572]
24240         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24241         and define as weak alias of __rawmemchr.
24242         (__rawmemchr): Do not define as strong alias of rawmemchr.
24244         [BZ #17571]
24245         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24246         alias of __qsort_r.
24247         (qsort): Call __qsort_r instead of qsort_r.
24248         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24249         (__qsort_r): Declare.  Call libc_hidden_proto.
24250         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24251         instead of qsort_r.
24252         * nscd/gai.c (__qsort_r): Define to qsort_r.
24253         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24254         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24255         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24257         [BZ #17570]
24258         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24259         define as weak alias of __malloc_info.
24261         [BZ #17584]
24262         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24263         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24264         (__rewinddir): Use libc_hidden_def.
24265         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24266         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24267         (__rewinddir): Use libc_hidden_def.
24268         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24269         weak alias of __rewinddir.  Don't use libc_hidden_def.
24270         (__rewinddir): Use libc_hidden_def.
24271         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24272         (__rewinddir): Use libc_hidden_proto.
24273         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24274         rewinddir.
24275         (__getcwd): Use __rewinddir instead of rewinddir.
24277         [BZ #17583]
24278         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24279         alias of __fileno.  Use libc_hidden_weak.
24280         (__fileno): Use libc_hidden_def.
24281         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24282         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24283         alias of __ftello.
24284         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24285         __ftello.
24286         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24287         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24288         libc_hidden_def.
24289         (fread_unlocked): Don't use libc_hidden_ver.
24290         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24291         and define as weak alias of __fread_unlocked.  Don't use
24292         libc_hidden_def.
24293         (__fread_unlocked): Use libc_hidden_def.
24294         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24295         (ftello): Don't use libc_hidden_proto.
24296         (__ftello): Declare.  Use libc_hidden_proto.
24297         (fread_unlocked): Don't use libc_hidden_proto.
24298         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24299         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24300         and __ftello instead of fileno, fread_unlocked and ftello.
24302 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24304         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24305         GOT12.
24306         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24307         Likewise.
24308         (_dl_start_user): Likewise.
24309         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24311 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24312             Siddhesh Poyarekar  <siddhesh@redhat.com>
24314         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24315         Move argv and envp down instead of moving argc up.
24316         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24318 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24320         [BZ #17506]
24321         * test-skeleton.c (main): Return successful if one of
24322         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24323         * string/tst-strcoll-overflow.c: Define expected status.
24325 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24327         [BZ #17475]
24328         * locale/iso-639.def: Define Bhili and Tulu language codes.
24330 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24332         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24334 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24336         [BZ #17555]
24337         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24339 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24341         * configure.ac: Updated check of minimal required version to
24342         2.22.
24343         * manual/install.texi (Tools for Compilation): Updated version
24344         number.
24345         * configure: Regenerated.
24346         * INSTALL: Likewise.
24348 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24350         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24351         __tls_get_addr.
24353 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24355         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24356         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24357         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24358         libc_hidden_weak.
24359         (waitpid): Define as alias of __waitpid.
24360         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24361         __waitpid.
24362         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24363         libc_hidden_weak.
24364         (waitpid): Define as alias of __waitpid.
24365         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24366         __libc_waitpid alias.
24367         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24368         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24369         Likewise.
24370         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24371         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24372         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24373         alias.
24374         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24375         __waitpid.
24376         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24377         libc_hidden_weak.
24378         (waitpid): Define as alias of __waitpid.
24380 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24382         * manual/llio.texi: Add comment that write safety has been
24383         fixed in Linux.
24385         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24386         (localplt-build-dso): Add elf/ld.so.
24387         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24388         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24389         and free for ld.so.
24390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24391         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24393         Likewise.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24395         Likewise.
24396         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24397         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24398         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24399         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24400         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24401         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24402         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24403         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24404         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24405         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24406         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24408 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #14132]
24411         * include/libc-symbols.h (INTUSE): Remove macro.
24412         (INTDEF): Likewise.
24413         (INTVARDEF): Likewise.
24414         (_INTVARDEF): Likewise.
24415         (INTDEF2): Likewise.
24416         (INTVARDEF2): Likewise.
24417         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24418         rtld_hidden_def instead of INTVARDEF.
24419         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24420         (_dl_starting_up_internal): Remove declaration.
24421         (_dl_starting_up): Use rtld_hidden_proto.
24422         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24423         declaration.
24424         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24425         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24426         _dl_starting_up.
24427         * elf/dl-writev.h (_dl_writev): Likewise.
24428         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24429         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24430         _dl_starting_up_internal.
24432 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24434         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24435         test-skeleton.c.
24437 2014-11-05  Will Newton  <will.newton@linaro.org>
24439         * benchtests/Makefile: (bench-malloc): Add malloc thread
24440         scalability benchmark.
24441         * benchtests/bench-malloc-threads.c: New file.
24443 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24445         * sysdeps/aarch64/strchrnul.S: New file.
24447 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24449         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24450         definition.
24451         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24452         Likwise.
24453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24454         Likewise.
24455         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24456         Likewise.
24457         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24458         Likewise.
24459         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24460         Likewise.
24462 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24464         * catgets/test-gencat.c: Use test-skeleton.c.
24465         * catgets/tst-catgets.c: Likewise.
24466         * csu/tst-empty.c: Likewise.
24467         * elf/tst-audit2.c: Likewise.
24468         * elf/tst-global1.c: Likewise.
24469         * elf/tst-pathopt.c: Likewise.
24470         * elf/tst-piemod1.c: Likewise.
24471         * elf/tst-tls10.c: Likewise.
24472         * elf/tst-tls11.c: Likewise.
24473         * elf/tst-tls12.c: Likewise.
24474         * gnulib/tst-gcc.c: Likewise.
24475         * iconvdata/tst-e2big.c: Likewise.
24476         * iconvdata/tst-loading.c: Likewise.
24477         * iconv/tst-iconv1.c: Likewise.
24478         * iconv/tst-iconv2.c: Likewise.
24479         * inet/test-inet6_opt.c: Likewise.
24480         * inet/tst-gethnm.c: Likewise.
24481         * inet/tst-network.c: Likewise.
24482         * inet/tst-ntoa.c: Likewise.
24483         * intl/tst-codeset.c: Likewise.
24484         * intl/tst-gettext2.c: Likewise.
24485         * intl/tst-gettext3.c: Likewise.
24486         * intl/tst-ngettext.c: Likewise.
24487         * intl/tst-translit.c: Likewise.
24488         * io/test-stat.c: Likewise.
24489         * libio/test-fmemopen.c: Likewise.
24490         * libio/tst-freopen.c: Likewise.
24491         * libio/tst-sscanf.c: Likewise.
24492         * libio/tst-ungetwc1.c: Likewise.
24493         * libio/tst-ungetwc2.c: Likewise.
24494         * libio/tst-widetext.c: Likewise.
24495         * localedata/tst-ctype.c: Likewise.
24496         * localedata/tst-digits.c: Likewise.
24497         * localedata/tst-leaks.c: Likewise.
24498         * localedata/tst-mbswcs1.c: Likewise.
24499         * localedata/tst-mbswcs2.c: Likewise.
24500         * localedata/tst-mbswcs3.c: Likewise.
24501         * localedata/tst-mbswcs4.c: Likewise.
24502         * localedata/tst-mbswcs5.c: Likewise.
24503         * localedata/tst-setlocale.c: Likewise.
24504         * localedata/tst-trans.c: Likewise.
24505         * localedata/tst-wctype.c: Likewise.
24506         * localedata/tst-xlocale1.c: Likewise.
24507         * login/tst-grantpt.c: Likewise.
24508         * malloc/tst-calloc.c: Likewise.
24509         * malloc/tst-malloc.c: Likewise.
24510         * malloc/tst-mallocstate.c: Likewise.
24511         * malloc/tst-mcheck.c: Likewise.
24512         * malloc/tst-mtrace.c: Likewise.
24513         * malloc/tst-obstack.c: Likewise.
24514         * math/atest-exp2.c: Likewise.
24515         * math/atest-exp.c: Likewise.
24516         * math/atest-sincos.c: Likewise.
24517         * math/test-matherr.c: Likewise.
24518         * math/test-misc.c: Likewise.
24519         * math/test-powl.c: Likewise.
24520         * math/tst-definitions.c: Likewise.
24521         * misc/tst-dirname.c: Likewise.
24522         * misc/tst-efgcvt.c: Likewise.
24523         * misc/tst-fdset.c: Likewise.
24524         * misc/tst-hsearch.c: Likewise.
24525         * misc/tst-mntent2.c: Likewise.
24526         * nptl/tst-sem7.c: Likewise.
24527         * nptl/tst-sem8.c: Likewise.
24528         * nptl/tst-sem9.c: Likewise.
24529         * nss/test-netdb.c: Likewise.
24530         * posix/tst-fnmatch.c: Likewise.
24531         * posix/tst-getlogin.c: Likewise.
24532         * posix/tst-gnuglob.c: Likewise.
24533         * posix/tst-mmap.c: Likewise.
24534         * pwd/tst-getpw.c: Likewise.
24535         * resolv/tst-inet_ntop.c: Likewise.
24536         * rt/tst-timer.c: Likewise.
24537         * stdio-common/test-fseek.c: Likewise.
24538         * stdio-common/test-popen.c: Likewise.
24539         * stdio-common/test-vfprintf.c: Likewise.
24540         * stdio-common/tst-cookie.c: Likewise.
24541         * stdio-common/tst-fileno.c: Likewise.
24542         * stdio-common/tst-gets.c: Likewise.
24543         * stdio-common/tst-obprintf.c: Likewise.
24544         * stdio-common/tst-perror.c: Likewise.
24545         * stdio-common/tst-sprintf2.c: Likewise.
24546         * stdio-common/tst-sprintf3.c: Likewise.
24547         * stdio-common/tst-sprintf.c: Likewise.
24548         * stdio-common/tst-swprintf.c: Likewise.
24549         * stdio-common/tst-tmpnam.c: Likewise.
24550         * stdio-common/tst-unbputc.c: Likewise.
24551         * stdio-common/tst-wc-printf.c: Likewise.
24552         * stdlib/tst-environ.c: Likewise.
24553         * stdlib/tst-fmtmsg.c: Likewise.
24554         * stdlib/tst-limits.c: Likewise.
24555         * stdlib/tst-rand48-2.c: Likewise.
24556         * stdlib/tst-rand48.c: Likewise.
24557         * stdlib/tst-random2.c: Likewise.
24558         * stdlib/tst-random.c: Likewise.
24559         * stdlib/tst-strtol.c: Likewise.
24560         * stdlib/tst-strtoll.c: Likewise.
24561         * stdlib/tst-tls-atexit.c: Likewise.
24562         * stdlib/tst-xpg-basename.c: Likewise.
24563         * string/test-ffs.c: Likewise.
24564         * string/tst-bswap.c: Likewise.
24565         * string/tst-inlcall.c: Likewise.
24566         * string/tst-strtok.c: Likewise.
24567         * string/tst-strxfrm.c: Likewise.
24568         * sysdeps/x86_64/tst-audit10.c: Likewise.
24569         * sysdeps/x86_64/tst-audit3.c: Likewise.
24570         * sysdeps/x86_64/tst-audit4.c: Likewise.
24571         * sysdeps/x86_64/tst-audit5.c: Likewise.
24572         * time/tst-ftime_l.c: Likewise.
24573         * time/tst-getdate.c: Likewise.
24574         * time/tst-mktime3.c: Likewise.
24575         * time/tst-mktime.c: Likewise.
24576         * time/tst-posixtz.c: Likewise.
24577         * time/tst-strptime2.c: Likewise.
24578         * time/tst-strptime3.c: Likewise.
24579         * wcsmbs/tst-btowc.c: Likewise.
24580         * wcsmbs/tst-mbrtowc.c: Likewise.
24581         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24582         * wcsmbs/tst-wchar-h.c: Likewise.
24583         * wcsmbs/tst-wcpncpy.c: Likewise.
24584         * wcsmbs/tst-wcrtomb.c: Likewise.
24585         * wcsmbs/tst-wcsnlen.c: Likewise.
24586         * wcsmbs/tst-wcstof.c: Likewise.
24588 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24590         [BZ #14132]
24591         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24592         INTDEF.
24593         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24594         declaration.
24595         (_dl_mcount): Use rtld_hidden_proto.
24596         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24597         _dl_mcount.
24598         * elf/rtld.c (_rtld_global_ro): Likewise.
24600         [BZ #14132]
24601         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24602         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24603         of _dl_init_internal.
24604         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24605         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24606         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24607         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24608         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24609         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24610         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24611         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24612         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24613         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24614         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24615         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24616         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24617         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24618         * sysdeps/tile/dl-start.S (_start): Likewise.
24619         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24620         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24622         [BZ #14132]
24623         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24624         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24625         (rtld_progname): Make macro definition unconditional.
24626         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24627         INTDEF.
24628         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24629         (dl_main): Likewise.
24630         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24631         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24632         instead of _dl_argv_internal.
24633         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24634         __GI__dl_argv instead of INTUSE(_dl_argv).
24635         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24636         __GI__dl_argv instead of _dl_argv_internal.
24638         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24639         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24640         macro.
24641         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24642         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24643         New macro.
24644         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24645         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24646         macro.
24647         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24648         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24650 2014-11-04  Andreas Schwab  <schwab@suse.de>
24652         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24654 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24656         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24657         mtvsrd instruction in binary form.
24659 2014-11-03  Andreas Schwab  <schwab@suse.de>
24661         [BZ #17522]
24662         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24663         for less than MB_LEN_MAX use a local buffer of that size.
24664         * libio/tst-fputws.c: New file.
24665         * libio/Makefile (tests): Add tst-fputws.
24667 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24669         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24670         the size of the fpu_fr.fpu_dregs[] array.
24672 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24674         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24675         (__nanosleep): Do not define as alias.
24676         (nanosleep): Define as alias of __nanosleep.
24677         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24678         __libc_nanosleep name.
24680 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24682         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24683         install.texi in comment.
24685 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24687         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24688         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24689         ... add here and use lwsync or sync ...
24690         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24691         ... and add here using lwsync.
24693 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24695         * elf/dl-machine-reject-phdr.h: New file.
24696         * elf/dl-load.c: #include that.
24697         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24698         if that returned true.
24700 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24702         [BZ #17496]
24703         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24704         gen-as-const-headers chunk.  Add a big scare comment after the last
24705         safe place to touch before-compile.
24707 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24709         * manual/install.texi (Tools for Compilation): Update autoconf
24710         version requirements.
24711         * INSTALL: Regenerated.
24713         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24714         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24715         (__libc_pselect): Likewise.
24717         [BZ #14138]
24718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24723 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24725         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24726         correct barrier instruction.
24727         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24728         Likewise.
24729         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24730         Likewise.
24732 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24734         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24735         after defining inlines.  Instead, just use parens to defeat macro
24736         expansion of __isctype in its declaration.
24738 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24740         * include/sys/uio.h (__libc_readv): Remove declaration.
24741         (__libc_writev): Likewise.
24742         * misc/readv.c (__libc_readv): Rename to __readv.
24743         (__readv): Do not define as alias.
24744         (readv): Define as alias of __readv.
24745         * misc/writev.c (__libc_writev): Rename to __writev.
24746         (__writev): Do not define as alias.
24747         (writev): Define as alias of __writev.
24748         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24749         (__readv): Do not define as alias.
24750         (readv): Define unconditionally as alias of __readv.
24751         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24752         (__writev): Do not define as alias.
24753         (writev): Define unconditionally as alias of __writev.
24754         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24755         name.
24756         (writev): Do not define __libc_writev name.
24758 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24760         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24761         (convert_charseq): New function, broken out of ...
24762         (use_from_charmap): ... here.  Call it.
24763         (use_to_charmap): Use convert_charseq and free instead of duplicating
24764         its code with a variable-length stack struct.
24766 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24768         * include/fcntl.h (__libc_creat): Remove declaration.
24769         * io/creat.c (__libc_creat): Rename to creat.
24770         (creat): Do not define as alias.
24771         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24772         of creat instead of __libc_creat.
24773         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24774         to creat.
24775         (creat): Do not define as alias.
24776         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24777         __libc_creat.
24778         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24779         __libc_creat name.
24780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24781         Likewise.
24783 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24785         * manual/llio.texi: Add comments discussing why write() may be
24786         considered MT-unsafe on Linux.
24788 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24790         * dl-load.c (local_strdup): Remove.
24791         (expand_dynamic_string_token): Use __strdup.
24792         (decompose_rpath): Likewise.
24793         (_dl_map_object): Likewise.
24795 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24797         [BZ #14132]
24798         * sysdeps/generic/unwind-dw2-fde.c
24799         (__register_frame_info_bases_internal): Do not declare.
24800         (__register_frame_info_table_bases_internal): Likewise.
24801         (__deregister_frame_info_bases_internal): Likewise.
24802         (__register_frame_info_bases): Declare and use hidden_proto before
24803         definition.  Use hidden_def instead of INTDEF.
24804         (__register_frame_info_table_bases): Likewise.
24805         (__deregister_frame_info_bases): Likewise.
24806         (__register_frame_info): Do not use INTUSE.
24807         (__register_frame): Likewise.
24808         (__register_frame_info_table): Likewise.
24809         (__register_frame_table): Likewise.
24810         (__deregister_frame_info): Likewise.
24811         (__deregister_frame): Likewise.
24813 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24816         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24817         not undefine.
24818         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24819         Likewise.
24820         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24821         Likewise.
24823 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24825         [BZ #14138]
24826         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24827         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24828         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24829         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24830         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24831         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24832         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24833         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24834         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24835         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24836         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24837         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24838         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24839         syscall.
24840         (setfsuid): Likewise.
24841         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24842         (setfsuid): Likewise.
24843         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24844         (setfsuid): Likewise.
24845         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24846         Likewise.
24847         (setfsuid): Likewise.
24848         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24849         (setfsuid): Likewise.
24850         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24851         Likewise.
24852         (setfsuid): Likewise.
24854 2014-10-27  Andreas Schwab  <schwab@suse.de>
24856         [BZ #17501]
24857         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24858         check for Slow_SSE4_2 feature bit.
24859         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24860         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24861         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24862         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24864 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24866         * configure.ac: Validate compiler version with a empirical test of
24867         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24868         $CC -v output.
24869         * configure: Regenerated.
24871         * inet/htons.c (htons): Prototypify.
24872         * inet/htonl.c (htonl): Likewise.
24874 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24876         * string/strncat.c (strncat): Improve performance by using strlen.
24878 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24880         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24882 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24884         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24885         Call libc_fetestexcept_aarch64.
24887 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24889         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24890         Call libc_feholdexcept_aarch64.
24892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24894         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24895         Call get_rounding_mode.
24897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24899         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24900         Simplify logic.
24902 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24904         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24905         Simplify logic.
24907 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24909         [BZ #14138]
24910         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24911         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24912         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24913         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24914         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24915         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24916         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24917         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24918         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24919         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24920         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24921         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24922         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24923         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24924         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24925         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24926         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24927         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24928         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24929         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24930         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24931         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24932         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24933         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24934         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24935         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24936         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24937         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24938         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24939         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24940         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24941         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24942         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24943         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24944         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24945         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24946         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24947         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24948         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24949         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24950         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24951         syscall.
24952         (geteuid): Likewise.
24953         (getgid): Likewise.
24954         (getuid): Likewise.
24955         (getresgid): Likewise.
24956         (getresuid): Likewise.
24957         (getgroups): Likewise.
24958         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24959         (geteuid): Likewise.
24960         (getgid): Likewise.
24961         (getuid): Likewise.
24962         (getresgid): Likewise.
24963         (getresuid): Likewise.
24964         (getgroups): Likewise.
24965         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24966         (geteuid): Likewise.
24967         (getgid): Likewise.
24968         (getuid): Likewise.
24969         (getresgid): Likewise.
24970         (getresuid): Likewise.
24971         (getgroups): Likewise.
24972         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24973         Likewise.
24974         (geteuid): Likewise.
24975         (getgid): Likewise.
24976         (getuid): Likewise.
24977         (getresgid): Likewise.
24978         (getresuid): Likewise.
24979         (getgroups): Likewise.
24980         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24981         (geteuid): Likewise.
24982         (getgid): Likewise.
24983         (getuid): Likewise.
24984         (getresgid): Likewise.
24985         (getresuid): Likewise.
24986         (getgroups): Likewise.
24987         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24988         Likewise.
24989         (geteuid): Likewise.
24990         (getgid): Likewise.
24991         (getuid): Likewise.
24992         (getgroups): Likewise.
24994         [BZ #14138]
24995         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24996         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24997         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24998         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24999         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25000         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25001         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25002         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25003         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25004         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25005         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25006         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25007         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25008         __chown.
25009         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25010         (lchown): Likewise.
25011         (fchown): Likewise.
25012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25013         Likewise.
25014         (lchown): Likewise.
25015         (fchown): Likewise.
25016         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25017         (lchown): Likewise.
25018         (fchown): Likewise.
25019         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25020         Likewise.
25021         (lchown): Likewise.
25022         (fchown): Likewise.
25024 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25026         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25027         Simplify logic.
25029 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25031         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25032         Cleanup logic.
25034 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25036         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25037         Remove unused include.
25039 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25041         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25044         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25046 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25047             Helge Deller <deller@gmx.de>
25049         [BZ #17508]
25050         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25051         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25052         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25054 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25056         [BZ #14132]
25057         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25058         Remove macro definition.
25059         (__ashrdi3_v_glibc20): Likewise.
25060         (__lshrdi3_v_glibc20): Likewise.
25061         (__cmpdi2_v_glibc20): Likewise.
25062         (__ucmpdi2_v_glibc20): Likewise.
25063         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25064         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25065         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25066         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25067         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25068         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25070 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25072         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25073         old GNU extension [0] syntax.
25074         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25075         alloca rather than an array member with variable length.
25076         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25077         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25078         (parse_opt): ... here.  Likewise use alloca there.
25079         Validate the -i argument before checking for rootness.
25080         (send_shutdown): New function, broken out of ...
25081         (parse_opt): ... here.
25083 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25085         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25086         macro to get at the _rt_local_ro field.
25087         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25088         ([PIC] case) or _dl_hwcap ([!PIC] case).
25089         * sysdeps/arm/setjmp.S: Likewise.
25091         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25092         * sysdeps/arm/configure.ac: New check to define it.
25093         * sysdeps/arm/configure: Regenerated.
25094         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25095         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25096         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25097         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25098         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25099         Use move/movt pair instead of a load.
25100         (LDST_GLOBAL): Macro removed.
25101         (LDR_GLOBAL): New macro replaces it.
25102         (LDR_HIDDEN): New macro.
25103         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25104         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25106         * setjmp/tst-setjmp-static.c: New file.
25107         * setjmp/Makefile (tests): Add it.
25108         (tests-static): New variable.
25110 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25112         [BZ #17485]
25113         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25115 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25117         [BZ #14132]
25118         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25120 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25122         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25124 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25126         * io/fts.c (dirent_not_directory): New function.
25127         (fts_build): Call it.
25129 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25131         * nptl/version.c (__nptl_main): Use normal __write rather than
25132         INTERNAL_SYSCALL.
25133         (banner): Update copyright years.
25135         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25136         gettimeofday.
25137         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25138         * nptl/pthread_cond_timedwait.c: Likewise.
25139         * nptl/pthread_mutex_timedlock.c: Likewise.
25140         * nptl/sem_timedwait.c: Likewise.
25142         * sysdeps/nptl/bits/libc-lock.h
25143         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25144         (__libc_lock_init_recursive): Return void, not 0.
25145         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25146         (__libc_rwlock_init): Likewise.
25147         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25149 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25151         [BZ #15215]
25152         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25153         (__pthread_once_slow): ... here.
25154         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25155         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25157 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25159         [BZ #15215]
25160         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25161         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25162         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25163         * nptl/pthread_once.c (__pthread_once): Likewise.
25164         Update comments.
25166 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25168         [BZ #14138]
25169         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25170         name.
25171         (writev): Use __libc_writev as strong name.
25172         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25173         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25175 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25177         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25179         * sysdeps/i386/nptl/tls.h
25180         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25181         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25182         New macros.
25183         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25184         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25185         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25186         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25187         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25188         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25190         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25191         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25192         on [__NR_futex].
25193         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25194         broken out of ...
25195         (__pthread_mutex_init): ... here.  Call it.
25196         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25197         Conditionalize PI cases on [__NR_futex].
25198         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25199         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25200         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25202         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25203         conditional on [SIGSETXID].
25204         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25205         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25206         is defined.  Likewise for SIGSETXID.
25207         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25208         Conditionalize definitions on [SIGSETXID].
25209         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25210         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25211         unblocking on [SIGCANCEL].
25213         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25214         [__NR_set_robust_list].
25216 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25218         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25219         (do_compare): Likewise.
25221 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25223         [BZ #15884]
25224         * string/strcoll_l.c: Don't include stdio.h.
25225         (coll_seq): Remove members idxarr and rulearr.
25226         (get_next_seq_cached): Remove function.
25227         (get_next_seq): Likewise.
25228         (get_next_seq_nocache): Rename to get_next_seq.
25229         (do_compare): Remove function.
25230         (do_compare_nocache): Rename to do_compare.
25231         (STRCOLL): Remove weight and rules cache.
25233 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25235         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25236         * sysdeps/arm/sfp-machine.h: ... to here.
25237         * sysdeps/arm/Implies: Remove arm/soft-fp.
25239 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25241         * conform/data/sys/utsname.h-data (*_t): Allow.
25242         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25243         [POSIX] (WEXITED): Do not expect constant.
25244         [POSIX] (WSTOPPED): Likewise.
25245         [POSIX] (WNOHANG): Likewise.
25246         [POSIX] (WNOWAIT): Likewise.
25247         [POSIX] (siginfo_t): Do not expect type or elements.
25248         [POSIX] (pid_t): Do not expect type.
25249         [POSIX] (signal.h): Do not allow header.
25250         [POSIX] (sys/resource.h): Likewise.
25251         [POSIX] (si_*): Do not allow pattern.
25252         [POSIX] (W*): Likewise.
25253         [POSIX] (P_*): Likewise.
25254         [POSIX] (BUS_*): Likewise.
25255         [POSIX] (CLD_*): Likewise.
25256         [POSIX] (FPE_*): Likewise.
25257         [POSIX] (ILL_*): Likewise.
25258         [POSIX] (POLL_*): Likewise.
25259         [POSIX] (SEGV_*): Likewise.
25260         [POSIX] (SI_*): Likewise.
25261         [POSIX] (TRAP_*): Likewise.
25262         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25263         variable.
25265 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25267         [BZ #12926]
25268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25269         infinite loop when __recvmsg returns 0.
25271 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25273         * CANCEL-FCT-WAIVE: Remove file.
25274         * CANCEL-FILE-WAIVE: Likewise.
25276         [BZ #14132]
25277         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25278         instead of INTVARDEF.
25279         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25280         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25281         rtld_hidden_data_def instead of INTVARDEF.
25282         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25283         * elf/dl-deps.c (expand_dst): Likewise.
25284         * elf/dl-load.c (_dl_dst_count): Likewise.
25285         (_dl_dst_substitute): Likewise.
25286         (decompose_rpath): Likewise.
25287         (_dl_init_paths): Likewise.
25288         (open_path): Likewise.
25289         (_dl_map_object): Likewise.
25290         * elf/rtld.c (dl_main): Likewise.
25291         (process_dl_audit): Likewise.
25292         (process_envvars): Likewise.
25293         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25294         Remove declaration.
25295         (__libc_enable_secure): Use rtld_hidden_proto.
25297 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25299         * elf/dl-load.c
25300         (add_path): New function broken out of _dl_rtld_di_serinfo.
25301         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25303 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25305         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25306         parentheses around macro arguments.
25307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25309         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25311         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25312         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25315         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25316         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25318         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25319         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25320         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25321         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25322         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25323         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25324         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25326         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25327         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25336         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25338         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25339         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25340         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25341         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25342         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25343         Likewise.
25344         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25351         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25352         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25353         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25354         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25355         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25356         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25363         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25364         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25365         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25366         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25367         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25368         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25369         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25370         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25371         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25372         (_FP_FRAC_SRS_1): Likewise.
25373         (_FP_FRAC_CLZ_1): Likewise.
25374         (_FP_MUL_MEAT_1_imm): Likewise.
25375         (_FP_MUL_MEAT_1_wide): Likewise.
25376         (_FP_MUL_MEAT_1_hard): Likewise.
25377         (_FP_SQRT_MEAT_1): Likewise.
25378         (_FP_FRAC_ASSEMBLE_1): Likewise.
25379         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25380         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25381         (__FP_CLZ_2): Likewise.
25382         (_FP_MUL_MEAT_2_wide): Likewise.
25383         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25384         (_FP_MUL_MEAT_2_gmp): Likewise.
25385         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25386         (_FP_SQRT_MEAT_2): Likewise.
25387         (_FP_FRAC_ASSEMBLE_2): Likewise.
25388         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25389         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25390         (_FP_FRAC_CLZ_4): Likewise.
25391         (_FP_MUL_MEAT_4_wide): Likewise.
25392         (_FP_MUL_MEAT_4_gmp): Likewise.
25393         (_FP_SQRT_MEAT_4): Likewise.
25394         (_FP_FRAC_ASSEMBLE_4): Likewise.
25395         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25396         * soft-fp/op-common.h (_FP_CMP): Likewise.
25397         (_FP_CMP_EQ): Likewise.
25398         (_FP_CMP_UNORD): Likewise.
25399         (_FP_TO_INT): Likewise.
25400         (_FP_FROM_INT): Likewise.
25401         [!__FP_CLZ] (__FP_CLZ): Likewise.
25402         (_FP_DIV_HELP_imm): Likewise.
25403         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25404         Likewise.
25405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25406         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25407         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25410         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25414         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25416         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25417         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25418         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25419         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25420         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25421         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25424         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25434         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25436         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25437         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25438         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25439         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25440         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25441         (FP_UNPACK_RAW_SP): Likewise.
25442         (FP_PACK_RAW_S): Likewise.
25443         (FP_PACK_RAW_SP): Likewise.
25444         (FP_UNPACK_S): Likewise.
25445         (FP_UNPACK_SP): Likewise.
25446         (FP_UNPACK_SEMIRAW_S): Likewise.
25447         (FP_UNPACK_SEMIRAW_SP): Likewise.
25448         (FP_PACK_S): Likewise.
25449         (FP_PACK_SP): Likewise.
25450         (FP_PACK_SEMIRAW_S): Likewise.
25451         (FP_PACK_SEMIRAW_SP): Likewise.
25452         (_FP_SQRT_MEAT_S): Likewise.
25453         (FP_CMP_S): Likewise.
25454         (FP_CMP_EQ_S): Likewise.
25455         (FP_CMP_UNORD_S): Likewise.
25456         (FP_TO_INT_S): Likewise.
25457         (FP_FROM_INT_S): Likewise.
25459         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25461         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25462         (FP_EX_INVALID_IMZ): Likewise.
25463         (FP_EX_INVALID_IMZ_FMA): Likewise.
25464         (FP_EX_INVALID_ISI): Likewise.
25465         (FP_EX_INVALID_ZDZ): Likewise.
25466         (FP_EX_INVALID_IDI): Likewise.
25467         (FP_EX_INVALID_SQRT): Likewise.
25468         (FP_EX_INVALID_CVI): Likewise.
25469         (FP_EX_INVALID_VC): Likewise.
25470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25471         "invalid" exceptions.
25472         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25473         (_FP_ADD_INTERNAL): Likewise.
25474         (_FP_MUL): Likewise.
25475         (_FP_FMA): Likewise.
25476         (_FP_DIV): Likewise.
25477         (_FP_CMP_CHECK_NAN): Likewise.
25478         (_FP_SQRT): Likewise.
25479         (_FP_TO_INT): Likewise.
25480         (FP_EXTEND): Likewise.
25482 2014-10-09  Allan McRae  <allan@archlinux.org>
25484         * po/fr.po: Update French translation from translation project.
25486 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25488         [BZ #14132]
25489         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25490         of INTDEF.
25491         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25492         (__cxa_atexit): Use libc_hidden_proto.
25493         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25495         [BZ #14132]
25496         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25497         declaration.
25498         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25499         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25500         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25501         [!_ISOMAC] (__iswctype_internal): Likewise.
25502         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25503         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25504         alias.
25505         (fcntl): Remove __fcntl_internal alias.
25506         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25507         __connect_internal alias.
25508         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25509         Likewise.
25511         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25512         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25513         FP_DENORM_ZERO.
25514         (_FP_CHECK_FLUSH_ZERO): New macro.
25515         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25516         (_FP_CMP): Likewise.
25517         (_FP_CMP_EQ): Likewise.
25518         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25519         FP_DENORM_ZERO.
25520         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25521         (FP_TRUNC): Likewise.
25523         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25524         treated as invalid conversion, not as normal exponent.
25526         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25527         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25528         (_FP_CMP_EQ): Likewise.
25529         (_FP_CMP_UNORD): Likewise.
25530         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25531         (FP_CMP_EQ_D): Likewise.
25532         (FP_CMP_UNORD_D): Likewise.
25533         * soft-fp/extended.h (FP_CMP_E): Likewise.
25534         (FP_CMP_EQ_E): Likewise.
25535         (FP_CMP_UNORD_E): Likewise.
25536         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25537         (FP_CMP_EQ_Q): Likewise.
25538         (FP_CMP_UNORD_Q): Likewise.
25539         * soft-fp/single.h (FP_CMP_S): Likewise.
25540         (FP_CMP_EQ_S): Likewise.
25541         (FP_CMP_UNORD_S): Likewise.
25542         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25543         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25544         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25545         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25546         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25547         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25548         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25549         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25550         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25551         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25552         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25553         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25554         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25555         to FP_CMP_Q.
25556         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25557         FP_CMP_Q.
25558         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25559         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25560         FP_CMP_EQ_Q.
25561         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25562         FP_CMP_Q.
25563         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25564         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25565         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25566         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25567         FP_CMP_EQ_Q.
25568         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25569         FP_CMP_Q.
25570         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25571         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25572         FP_CMP_EQ_Q.
25573         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25574         FP_CMP_Q.
25575         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25576         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25577         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25578         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25579         FP_CMP_EQ_Q.
25581         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25582         a subnormal result, set the underflow exception if trapping on
25583         underflow is enabled.
25584         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25585         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25586         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25587         redefine to 0.
25588         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25589         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25590         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25591         * soft-fp/extendxftf2.c (__extendxftf2): Use
25592         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25594         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25595         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25596         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25597         FP_HANDLE_EXCEPTIONS.
25598         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25599         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25600         FP_HANDLE_EXCEPTIONS.
25601         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25602         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25603         FP_HANDLE_EXCEPTIONS.
25604         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25605         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25606         FP_HANDLE_EXCEPTIONS.
25608 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25610         [BZ #14132]
25611         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25612         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25613         use INTUSE.
25614         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25615         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25616         Remove alias.
25617         (__adjtimex): Define using libc_hidden_ver.
25618         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25619         Remove declaration.
25620         (ntp_gettime): Call __adjtimex directly.
25621         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25622         Remove declaration.
25623         (ntp_gettimex): Call __adjtimex directly.
25624         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25625         __adjtimex_internal alias.
25627 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25629         [BZ #17460]
25630         * nscd/nscd.c (more_help): Rewrite list of tables collection
25631         using xstrdup and asprintf.
25633         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25635 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25636             Roland McGrath  <roland@hack.frob.com>
25638         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25639         (do_lookup_unique): ... local function 'enter' here; update callers.
25641 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25643         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25644         compat_symbol calls on [SHARED].
25645         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25646         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25647         Remove.
25648         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25649         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25650         (oldsetrlimit): Remove.
25651         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25653         (lchown): New syscall entry.
25654         (oldsetrlimit): Remove.
25655         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25657         (oldsetrlimit): Remove.
25658         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25660         [BZ #14138]
25661         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25662         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25663         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25664         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25665         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25666         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25667         (fchown): Likewise.
25668         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25669         (fchown): Likewise.
25670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25671         Likewise.
25673 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25675         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25676         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25677         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25678         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25679         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25680         Likewise.
25681         (__old_sem_post): Likewise.
25683 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25685         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25686         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25687         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25688         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25689         Use INLINE_VSYSCALL macro.
25690         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25691         __vdso_clock_gettime.
25692         * sysdeps/unix/sysv/linux/tile/init-first.c
25693         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25694         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25695         __vdso_clock_gettime.
25697         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25698         to set up frame more cleanly.
25700         * sysdeps/tile/memcmp.c: New file.
25702         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25704         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25705         * sysdeps/tile/tilegx/strcasestr.c: New file.
25706         * sysdeps/tile/tilegx/strnlen.c: New file.
25707         * sysdeps/tile/tilegx/strstr.c: New file.
25709         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25711 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25713         * nptl/tst-setuid3.c: Write errors to stdout.
25715 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25717         * elf/dl-deps.c
25718         (preload): New functions broken out of _dl_map_object_deps.
25719         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25721 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25723         [BZ #14138]
25724         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25725         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25727 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25729         * sysdeps/mips/strcmp.S: New.
25731 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25733         [BZ #14138]
25734         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25735         (linkat): Likewise.
25736         (mkdirat): Likewise.
25737         (readlinkat): Likewise.
25738         (renameat): Likewise.
25739         (symlinkat): Likewise.
25740         (unlinkat): Likewise.
25741         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25742         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25743         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25744         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25745         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25746         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25747         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25749 2014-09-30  Will Newton  <will.newton@linaro.org>
25751         * math/math.h: Define long double math functions if
25752         _LIBC_TEST is defined.
25753         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25755         * localedata/Makefile: Move assignment to tests-special
25756         into an ifdef testing run-built-tests.
25757         * timezone/Makefile: Likewise.
25759 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25761         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25762         with $(BASH) not $(SHELL).
25764 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25765             Matthew LeGendre  <legendre1@llnl.gov>
25767         [BZ #17411]
25768         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25769         l_reloc_result.
25771 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25773         * stdio-common/printf_fp.c
25774         (hack_digit): New function, broken out of ...
25775         (__printf_fp): ... local function here.  Update call sites.
25776         hack_digit now takes an additional parameter that is a pointer
25777         to a struct of the referenced locals.  Those locals moved inside
25778         the struct and references updated.
25780 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25782         * aclocal.m4: Require autoconf 2.69.
25783         * configure: Regenerated.
25784         * sysdeps/aarch64/configure: Likewise.
25785         * sysdeps/alpha/configure: Likewise.
25786         * sysdeps/arm/armv7/configure: Likewise.
25787         * sysdeps/arm/configure: Likewise.
25788         * sysdeps/ia64/configure: Likewise.
25789         * sysdeps/mach/configure: Likewise.
25790         * sysdeps/mips/configure: Likewise.
25791         * sysdeps/s390/configure: Likewise.
25792         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25795         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25796         file.
25797         * sysdeps/ia64/configure.ac: Likewise.
25799 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25802         specify symbol version for ld.so.  Do not include entry for
25803         libpthread.
25804         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25805         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25806         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25808         [BZ #14171]
25809         * Makeconfig [$(build-shared) = yes]
25810         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25811         makefiles.
25812         [$(build-shared) = yes && $(soversions.mk-done) = t]
25813         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25814         [$(build-shared) = yes && $(soversions.mk-done) = t]
25815         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25816         to Makerules.
25817         [$(build-shared) = yes && $(soversions.mk-done) = t]
25818         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25819         here.
25820         [$(build-shared) = yes && $(soversions.mk-done) = t]
25821         (common-generated): Don't append gnu/lib-names.h and
25822         gnu/lib-names.stmp here.
25823         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25824         (lib-names-h-abi): New variable.
25825         [$(build-shared) = yes && $(soversions.mk-done) = t]
25826         (lib-names-stmp-abi): Likewise.
25827         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25828         abi-variants] (before-compile): Append
25829         $(common-objpfx)$(lib-names-h-abi).
25830         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25831         abi-variants] (common-generated): Append gnu/lib-names.h.
25832         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25833         abi-variants] (install-others-nosubdir): Depend on
25834         $(inst_includedir)/$(lib-names-h-abi).
25835         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25836         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25837         [$(build-shared) = yes && $(soversions.mk-done) = t]
25838         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25839         [$(build-shared) = yes && $(soversions.mk-done) = t]
25840         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25841         [$(build-shared) = yes && $(soversions.mk-done) = t]
25842         (common-generated): Append $(lib-names-h-abi) and
25843         $(lib-names-stmp-abi).
25844         * scripts/lib-names.awk: Do not handle multi being set.
25845         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25846         Remove variable.
25847         (abi-lp64_be-ld-soname): Likewise.
25848         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25849         Likewise.
25850         (abi-hard-ld-soname): Likewise.
25851         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25852         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25853         Remove variable.
25854         (abi-o32_hard-ld-soname): Likewise.
25855         (abi-o32_soft_2008-ld-soname): Likewise.
25856         (abi-o32_hard_2008-ld-soname): Likewise.
25857         (abi-n32_soft-ld-soname): Likewise.
25858         (abi-n32_hard-ld-soname): Likewise.
25859         (abi-n32_soft_2008-ld-soname): Likewise.
25860         (abi-n32_hard_2008-ld-soname): Likewise.
25861         (abi-n64_soft-ld-soname): Likewise.
25862         (abi-n64_hard-ld-soname): Likewise.
25863         (abi-n64_soft_2008-ld-soname): Likewise.
25864         (abi-n64_hard_2008-ld-soname): Likewise.
25865         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25866         Likewise.
25867         (abi-64-v2-ld-soname): Likewise.
25868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25869         ld.so entries.
25870         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25871         variable.
25872         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25873         entry.
25874         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25875         variable.
25876         (abi-64-ld-soname): Likewise.
25877         (abi-x32-ld-soname): Likewise.
25878         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25879         entry.
25880         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25882 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25884         [BZ #14138]
25885         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25886         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25887         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25888         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25889         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25890         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25891         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25892         syscall entry for GLIBC_2.2 symbol version.
25893         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25894         Likewise.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25896         (setrlimit): Likewise.
25897         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25898         Likewise.
25900 2014-09-23  Will Newton  <will.newton@linaro.org>
25902         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25903         _LINUX_ARM_SYSDEP_H include guard too.
25904         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25905         define.
25907 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25909         * sysdeps/unix/sysv/linux/eventfd.c:
25910         Make first argument unsigned.
25911         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25912         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25914 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25916         [BZ #16852]
25917         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25918         * socket/sys/socket.h: Likewise.
25919         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25921 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25923         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25925 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25927         * time/tst-ftime.c: New test.
25928         * time/Makefile (tests): Add tst-ftime.
25930 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25932         * soft-fp/extended.h: Fix comment formatting.
25933         * soft-fp/op-1.h: Likewise.
25934         * soft-fp/op-2.h: Likewise.
25935         * soft-fp/op-4.h: Likewise.
25936         * soft-fp/op-8.h: Likewise.
25937         * soft-fp/op-common.h: Likewise.
25938         * soft-fp/soft-fp.h: Likewise.
25940         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25942 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25944         [BZ #6652]
25945         * Makeconfig (soversions-default-setname): Remove variable.
25946         ($(common-objpfx)soversions.i): Don't pass default_setname to
25947         soversions.awk.
25948         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25949         oldest_abi to abi-versions.awk.
25950         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25951         * config.make.in (oldest-abi): Remove variable.
25952         * configure.ac (--enable-oldest-abi): Remove configure option.
25953         * configure: Regenerated.
25954         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25955         text.
25956         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25957         * scripts/soversions.awk: Do not handle default_setname variable.
25958         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25959         variable.
25960         * sysdeps/mach/hurd/configure: Regenerated.
25961         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25962         variable.
25963         * sysdeps/unix/sysv/linux/configure: Regenerated.
25965 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25967         * elf/Makefile (CFLAGS-interp.c): Remove.
25968         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25969         path string.
25970         * elf/interp.c: Include generated runtime-linker.h
25972         * Makerules (lib%.so): Don't include $(+interp) in
25973         prerequisites.
25974         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25975         * dlfcn/eval.c: Remove file.
25977         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25978         macros.
25980         [BZ #17266]
25981         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25982         4.2 and newer.
25984         [BZ #17370]
25985         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25987 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25988             Jakub Jelinek  <jakub@redhat.com>
25990         [BZ #17266]
25991         * libio/stdio.h: Check definition of __fortify_function
25992         instead of __extern_always_inline to include bits/stdio2.h.
25993         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25994         check if __extern_always_inline is defined.
25995         [__USE_MISC || __USE_XOPEN]: Likewise.
25996         [__USE_ISOC99] Likewise.
25997         * misc/sys/cdefs.h (__fortify_function): Define only if
25998         __extern_always_inline is defined.
25999         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26000         __extern_always_inline and __extern_inline only for g++-4.3
26001         and newer or a compatible gcc.
26003 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26005         [BZ #17371]
26006         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26007         last change to handle zero prefix length.
26009 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26011         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26012         _SC_REGEX_VERSION.
26014         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26015         _POSIX_RAW_SOCKETS.
26017 2014-09-13  Allan McRae  <allan@archlinux.org>
26019         * po/ru.po: Update Russian translation from translation project.
26021 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26023         * locale/programs/locale.c (show_locale_vars): Inline local function
26024         into its sole call site.  Clean up some style nits.
26025         (print_item): New function, broken out of ...
26026         (show_info): ... local function here.  Clean up style nits.
26028         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26029         out of ...
26030         (set_class_defaults): ... local function set_default here.
26031         Define set_default as a macro locally to pass constant parameters.
26032         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26033         rather than a shared local.
26035         * stdlib/rpmatch.c (try): New function, broken out of ...
26036         (rpmatch): ... local function here.  Also, prototypify definition.
26038 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26040         * scripts/soversions.awk: Do not handle configuration names.
26041         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26042         vendor and os variables to soversions.awk.
26043         * configure.ac: Do not modify gnu-* host_os.
26044         * configure: Regenerated
26045         * shlib-versions: Remove first column with configuration names.
26046         * nptl/shlib-versions: Likewise.
26047         * nptl_db/shlib-versions: Likewise.
26048         * sysdeps/hppa/shlib-versions: Likewise.
26049         * sysdeps/m68k/shlib-versions: Likewise.
26050         * sysdeps/mach/hurd/shlib-versions: Likewise.
26051         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26052         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26053         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26054         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26055         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26056         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26057         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26058         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26060         Likewise.
26061         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26062         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26063         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26064         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26065         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26066         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26067         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26068         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26071         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26073         Regenerated.
26074         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26076         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26078         * shlib-versions: Remove OS-specific entries.  Moved to files in
26079         sysdeps.
26080         * sysdeps/mach/hurd/shlib-versions: New file.
26081         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26083         * nptl/shlib-versions: Remove architecture-specific entries.
26084         Moved to files in sysdeps.
26085         * shlib-versions: Likewise.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26087         file.
26088         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26089         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26090         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26091         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26093         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26094         (UDP_NO_CHECK6_RX): Likewise.
26096 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26098         * sysdeps/posix/sysconf.c (__sysconf): Spell
26099         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26101 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26103         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26104         loading.
26105         * iconv/Versions (__gconv_transliterate): Export for use from
26106         gconv modules.
26107         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26108         (struct __gconv_trans_data, __gconv_trans_fct,
26109         __gconv_trans_context_fct, __gconv_trans_query_fct,
26110         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26111         definitions.
26112         (struct __gconv_step_data): Remove __trans member.
26113         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26114         longer hidden.  Remove unused trans_data argument.
26115         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26116         (__gconv_translit_find): Remove declaration.
26117         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26118         prototype.
26119         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26120         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26121         trans_data argument.  Add hidden definition.
26122         (__gconv_translit_find): Remove.
26123         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26124         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26125         * iconv/skeleton.c: Remove transliteration initialization.
26126         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26127         __gconv_step_data initialization.
26128         * libio/iofwide.c (__libio_translit_): Remove.
26129         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26130         * wcsmbs/btowc.c (__btowc): Likewise.
26131         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26132         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26133         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26134         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26135         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26136         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26137         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26138         * wcsmbs/wctob.c (wctob): Likewise.
26140 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26142         [BZ #16194]
26143         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26144         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26145         register usage.
26146         * sysdeps/x86/Makefile: Adjust.
26148 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26149             Roland McGrath  <roland@hack.frob.com>
26151         * locale/weight.h: Add include guard.
26152         (findidx): Make static rather than auto; take new parameters
26153         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26154         * locale/weightwc.h: Likewise.
26155         * posix/fnmatch_loop.c
26156         (FCT): Change type of EXTRA from int32_t to wint_t.
26157         Don't include either header inside the function.
26158         Call FINDIDX rather than findidx, and pass new arguments.
26159         #undef FINDIDX at the end of the file.
26160         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26161         FINDIDX before including fnmatch_loop.c for the non-wide version.
26162         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26163         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26164         for the wide version.
26165         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26166         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26167         Pass new arguments to findidx.
26168         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26169         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26170         Don't #include it inside the function.  Pass new arguments to findidx.
26171         * posix/regex_internal.h
26172         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26173         (re_string_elem_size_at): Don't #include it inside the function.
26174         Pass new arguments to findidx.
26175         * string/strcoll_l.c: #include WEIGHT_H at top level.
26176         (get_next_seq): Don't #include it inside the function.
26177         Pass new arguments to findidx.
26178         (get_next_seq_nocache): Likewise.
26179         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26180         (STRXFRM): Don't #include it inside the function.
26181         Pass new arguments to findidx.
26183 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26185         [BZ #17344]
26186         * malloc/malloc.c (unlink): Turn asserts into a call to
26187         malloc_printerr.
26189 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26191         [BZ #17370]
26192         * libio/wfileops (do_ftell_wide): Free OUT.
26194 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26196         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26198 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26200         [BZ #17363]
26201         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26202         group if the current group is empty.
26204 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26206         * benchtests/bench-memset.c (test_main): Add more test from size
26207         from 32 to 512 bytes.
26208         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26209         Add POWER8 memset object.
26210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26211         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26212         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26213         implementation.
26214         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26215         Likewise.
26216         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26217         multiarch POWER8 memset optimization.
26218         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26219         POWER8 memset optimization.
26221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26222         Remove bzero multiarch objects.
26223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26224         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26225         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26226         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26227         Remove define.
26228         [__bzero]: Redefine to specific name.
26229         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26230         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26231         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26232         define.
26233         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26234         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26236 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26238         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26239         warnings into errors.
26241         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26242         __cxa_thread_atexit_impl prototype.
26244 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26246         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26247         Fix capitalization of error message.
26249 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26251         * sysdeps/mips/preconfigure: Modify ABI tests.
26253 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26255         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26257 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26258             Carlos O'Donell  <carlos@systemhalted.org>
26260         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26261         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26262         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26263         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26264         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26265         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26266         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26267         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26268         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26269         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26271         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26272         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26273         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26275         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26277         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26279         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26280         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26281         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26282         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26283         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26284         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26285         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26286         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26287         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26288         Deconditionalize the code that was previously under [RESET_PID].
26289         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26290         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26291         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26292         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26293         include sysdep.h.
26295 2014-09-08  Allan McRae  <allan@archlinux.org>
26297         * version.h (RELEASE): Set to "development".
26298         (VERSION): Set to "2.20.90"
26300 2014-09-07  Allan McRae  <allan@archlinux.org
26302         * version.h (RELEASE): Set to "stable".
26303         (VERSION): Set to "2.20"
26304         * include/features.h (__GLIBC_MINOR__): Set to 20.
26306         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26307         Liebler.
26309         * po/ko.po: Update Korean translation from translation project.
26311 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26313         [BZ #17354]
26314         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26315         macro for handling signed relocations.
26317 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26319         [BZ #17325]
26320         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26321         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26322         assert.
26323         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26324         * iconvdata/ibm935.c (BODY): Likewise.
26325         * iconvdata/ibm937.c (BODY): Likewise.
26326         * iconvdata/ibm939.c (BODY): Likewise.
26327         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26328         assert.
26329         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26330         script.
26331         * iconvdata/run-iconv-test.sh: New test loop for checking for
26332         decoder crashers.
26334 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26336         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26337         libm_hidden_ver.
26339 2014-09-01  Allan McRae  <allan@archlinux.org>
26341         * po/eo.po: Update Esperanto translation from translation project.
26343         * po/ca.po: Update Catalan translation from translation project.
26345 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26347         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26348         __proc_dostop call.
26350 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26352         [BZ #17319]
26353         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26354         to call set_thread_area instead of hand written asm.
26355         (__NR_set_thread_area): Removed define.
26356         (TLS_FLAG_WRITABLE): Likewise.
26357         (__ASSUME_SET_THREAD_AREA): Remove check.
26358         (TLS_EBX_ARG): Remove define.
26359         (TLS_LOAD_EBX): Likewise.
26361 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26363         Simplify atomicity of socket creation in bind.
26365         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26366         looking up the name after linking the file.
26368 2014-08-27  Allan McRae  <allan@archlinux.org>
26370         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26372 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26374         [BZ #17187]
26375         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26376         trans_compare, open_translit, __gconv_translit_find):
26377         Remove module loading code.
26379 2014-08-26  Allan McRae  <allan@archlinux.org>
26381         * po/vi.po: Update Vietnamese translation from translation project.
26383         * po/uk.po: Update Ukrainian translation from translation project.
26385         * po/fr.po: Update French translation from translation project.
26387         * po/ru.po: Update Russian translation from translation project.
26389         * po/pl.po: Update Polish translation from translation project.
26391         * po/cs.po: Update Czech translation from translation project.
26393         * po/de.po: Update German translation from translation project.
26395         * po/bg.po: Update Bulgarian translation from translation project.
26397         * po/sv.po: Update Sweedish translation from translation project.
26399         * po/nl.po: Update Dutch translation from translation project.
26401         * po/es.po: Update Spanish translation from translation project.
26403 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26405         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26407         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26408         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26409         (CPPFLAGS-iconvconfig): Likewise.
26410         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26412         * include/libc-symbols.h: Remove unnecessary check for
26413         NOT_IN_libc.
26414         * nptl/pthreadP.h: Likewise.
26415         * sysdeps/aarch64/setjmp.S: Likewise.
26416         * sysdeps/alpha/setjmp.S: Likewise.
26417         * sysdeps/arm/sysdep.h: Likewise.
26418         * sysdeps/i386/setjmp.S: Likewise.
26419         * sysdeps/m68k/setjmp.c: Likewise.
26420         * sysdeps/posix/getcwd.c: Likewise.
26421         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26422         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26423         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26424         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26425         * sysdeps/sh/sh3/setjmp.S: Likewise.
26426         * sysdeps/sh/sh4/setjmp.S: Likewise.
26427         * sysdeps/unix/alpha/sysdep.h: Likewise.
26428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26430         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26431         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26436         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26439         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26441         * sysdeps/x86_64/setjmp.S: Likewise.
26443 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26445         [BZ #17263]
26446         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26447         <stdint.h>.
26448         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26449         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26451 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26453         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26455         [BZ #17262]
26456         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26457         and __x86_64__ when disabling x87 inline functions.
26459 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26461         [BZ #17259]
26462         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26463         asm statement with __cpuid_count.
26465 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26467         * configure.ac: Change __ehdr_start code to dereference the struct.
26468         Run readelf on the output to look for relocations.
26469         * configure: Regenerated.
26471 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26473         [BZ #17261]
26474         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26475         value to 0.
26476         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26478 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26480         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26482 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26484         [BZ #16892]
26485         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26486         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26488 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26490         * malloc/malloc.c: Fix typo in comment.
26492 2014-08-09  Allan McRae  <allan@archlinux.org>
26494         * Regenerate libc.po.
26496 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26498         * intl/tst-gettext2.sh: Check every lang file for creation.
26500 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26502         * sysdeps/aarch64/fpu/math_private.h
26503         (libc_feholdsetround_noex_aarch64_ctx): New function.
26505 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26507         * sysdeps/arm/armv6/strcpy.S (strcpy):
26508         Fix performance issue in misaligned cases.
26510 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26512         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26513         Move definition from termios.h.
26514         (struct termio): Likewise.
26515         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26516         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26517         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26518         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26519         Likewise.
26520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26521         Move definition to ioctl-types.h
26522         (struct termio): Likewise.
26523         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26524         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26525         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26526         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26527         Likewise.
26529 2014-08-05  Richard Henderson  <rth@redhat.com>
26531         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26532         exceptions.
26533         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26534         Add fraiseexcpt.
26535         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26536         Use __feraiseexcept.
26537         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26538         Protect libm symbols with IS_IN_libm.
26540         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26542 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26544         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26546 2014-08-04  Will Newton  <will.newton@linaro.org>
26548         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26549         file.
26551 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26553         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26554         variants for each function.
26556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26558         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26559         appended ...
26560         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26561         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26562         appended ...
26563         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26564         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26565         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26566         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26567         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26568         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26569         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26570         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26571         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26572         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26573         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26574         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26575         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26576         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26577         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26578         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26579         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26580         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26581         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26582         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26583         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26584         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26585         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26586         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26587         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26588         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26589         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26590         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26591         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26592         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26593         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26594         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26595         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26596         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26597         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26598         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26599         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26600         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26601         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26602         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26603         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26605         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26606         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26607         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26609         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26610         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26611         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26613         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26614         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26615         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26616         Update #include.
26617         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26618         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26620 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26622         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26623         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26624         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26625         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26626         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26627         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26629 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26631         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26632         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26633         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26634         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26636 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26638         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26639         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26640         (__libc_vfork): Define function under this name.
26641         (__vfork): Define as an alias.
26642         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26643         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26645 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26647         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26648         that was previously under [RESET_PID].
26649         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26651 2014-08-04  Andreas Schwab  <schwab@suse.de>
26653         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26655 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26657         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26658         (main): Likewise.
26660 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26662         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26664 2014-08-01  Richard Henderon  <rth@redhat.com>
26666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26667         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26668         typo in exact zero test.
26669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26670         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26673 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26675         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26676         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26677         * sysdeps/arm/sysdep.h: ... here.
26678         [!__ASSEMBLER__]: Include <stdint.h>.
26680 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26682         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26683         (HAVE_WCTYPE_H): Likewise.
26684         (HAVE_ISWCTYPE): Likewise.
26685         (ENABLE_NLS): Likewise.
26686         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26687         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26689         * posix/regex_internal.c: Check if DEBUG is defined and is
26690         set.
26692         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26693         (HAVE_MBSRTOWCS): Likewise.
26694         * posix/fnmatch.c: Include string.h unconditionally.
26696 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26698         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26699         reversal.
26701 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26703         * sysdeps/generic/safe-fatal.h: New file.
26704         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26705         * nptl/forward.c: Include it.
26706         (__pthread_unwind): Use __safe_fatal as default action, rather
26707         than a bogus use of INTERNAL_SYSCALL that could never work.
26709         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26710         * configure.ac (libc_cv_builtin_trap): New test.
26711         * configure: Regenerated.
26712         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26713         (ABORT_INSTRUCTION): Define using __builtin_trap.
26715         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26716         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26717         * sysdeps/nptl/nptl-signals.h: New file.
26718         * nptl/pthreadP.h: Include <nptl-signals.h>.
26720 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26722         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26723         (ONE_DIRECTION): Define.
26724         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26725         (ONE_DIRECTION): Define.
26726         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26727         (ONE_DIRECTION): Define.
26729 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26731         * sysdeps/s390/Makefile: Delete file.
26732         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26733         * sysdeps/s390/__longjmp.c: Delete file.
26734         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26735         Remove fields __flags and __reserved.
26736         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26737         and add versioning.
26738         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26739         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26740         * sysdeps/s390/rtld-setjmp.S: Likewise.
26741         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26742         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26743         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26744         * sysdeps/s390/s390-32/setjmp.S: ... here.
26745         Add versioning.
26746         (__sigsetjmp): Remove setting __flags field.
26747         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26748         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26749         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26750         * sysdeps/s390/s390-64/setjmp.S: ... here.
26751         Add versioning.
26752         (__sigsetjmp): Remove setting __flags field.
26753         * sysdeps/s390/setjmp.S: Delete file.
26754         * sysdeps/s390/sigjmp.c: Likewise.
26755         * sysdeps/s390/v1-longjmp.c: Likewise.
26756         * sysdeps/s390/v1-setjmp.h: Likewise.
26757         * sysdeps/s390/v1-sigjmp.c: Likewise.
26758         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26759         Remove v1-longjmp_chk.
26760         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26761         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26762         Include debug/longjmp_chk.c and add versioning.
26763         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26764         Include nptl/pt-longjmp.c and add versioning.
26765         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26766         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26767         Include __longjmp.c.
26768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26769         Move to ...
26770         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26771         (__getcontext): Remove setting __flags field.
26772         Add versioning.
26773         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26774         Don't restore upper high grps.
26775         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26776         Likewise.
26777         (__swapcontext): Remove setting uc_flags field.
26778         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26779         Delete file.
26780         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26781         Include __longjmp.c.
26782         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26783         Move to ...
26784         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26785         (__getcontext): Remove setting __flags field.
26786         Add versioning.
26787         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26788         (__swapcontext): Remove setting uc_flags field.
26789         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26790         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26791         Remove fields uc_high_gprs and __reserved.
26792         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26793         New file with reverted content.
26794         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26795         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26796         Regenerated.
26797         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26798         Regenerated.
26800 2014-07-31  Andreas Schwab  <schwab@suse.de>
26802         * config.h.in (HAVE_IFUNC): Define to 0.
26803         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26804         definedness.
26806 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26809         memmove-avx-unaligned, memcpy-avx-unaligned and
26810         mempcpy-avx-unaligned.
26811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26812         Add tests for AVX memcpy functions.
26813         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26814         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26815         memcpy_chk.
26816         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26817         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26818         memmove_chk.
26819         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26820         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26821         mempcpy_chk.
26822         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26823         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26824         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26826 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26828         [BZ #17213]
26829         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26830         powerpc64le.
26832 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26834         [BZ #16839]
26835         * manual/llio.texi: Add section about open file description locks.
26836         * manual/examples/ofdlocks.c: Example of open file description
26837         lock usage.
26838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26839         F_OFD_SETLK, and F_OFD_SETLKW.
26841 2014-07-23  Allan McRae  <allan@archlinux.org>
26843         * po/es.po: Update Spanish translation from translation project.
26845 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26847         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26849 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26851         [BZ #17078]
26852         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26853         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26854         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26856 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26858         [BZ #17088]
26859         * math/fesetenv.c (__fesetenv)
26860         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26861         * math/feupdateenv.c (__feupdateenv)
26862         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26864         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26865         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26866         (__ASSUME_SOCKETCALL): Do not define.
26868         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26869         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26870         (__ASSUME_SOCKETCALL): Do not define.
26871         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26872         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26873         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26874         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26875         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26876         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26877         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26878         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26880         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26881         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26882         (__ASSUME_SOCKETCALL): Do not define.
26883         (__ASSUME_IPC64): Define unconditionally.
26884         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26885         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26886         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26887         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26888         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26889         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26890         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26891         Likewise.
26893         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26894         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26895         (__ASSUME_SOCKETCALL): Do not define.
26896         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26897         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26898         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26899         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26900         (__ASSUME_REQUEUE_PI): Define unconditionally.
26901         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26902         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26903         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26904         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26905         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26906         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26908         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26909         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26910         (__ASSUME_SOCKETCALL): Do not define.
26911         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26912         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26913         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26914         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26916         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26918         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26919         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26920         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26921         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26923         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26925         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26926         (__ASSUME_GETCPU_SYSCALL): Likewise.
26928         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26929         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26930         cases for individual architectures.
26931         * sysdeps/gnu/configure: Regenerated.
26932         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26933         LIBC_SLIBDIR_RTLDDIR.
26934         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26935         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26936         LIBC_SLIBDIR_RTLDDIR.
26937         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26939         LIBC_SLIBDIR_RTLDDIR.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26941         Regenerated.
26942         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26943         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26944         file.
26945         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26946         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26947         file.
26948         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26949         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26950         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26951         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26953         * sysdeps/aarch64/shlib-versions: Move to ...
26954         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26955         * sysdeps/alpha/shlib-versions: Move to ...
26956         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26957         * sysdeps/arm/shlib-versions: Move to ...
26958         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26959         * sysdeps/hppa/shlib-versions: Move all contents except for
26960         libgcc_s entry to ...
26961         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26962         entry from ...
26963         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26964         * sysdeps/ia64/shlib-versions: Move to ...
26965         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26966         entry from ...
26967         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26968         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26969         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26970         * sysdeps/microblaze/shlib-versions: Move to ...
26971         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26972         * sysdeps/mips/shlib-versions: Move to ...
26973         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26974         entry from ...
26975         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26976         * sysdeps/tile/shlib-versions: Move to ...
26977         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26978         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26979         from ...
26980         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26981         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26982         entry from ...
26983         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26985 2014-07-17  Will Newton  <will.newton@linaro.org>
26987         * sysdeps/arm/bits/atomic.h
26988         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26989         (__arch_compare_and_exchange_bool_16_int): Likewise.
26990         (__arch_compare_and_exchange_bool_64_int): Likewise.
26992         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26993         into an #else block.
26995 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26997         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26998         just Linux configurations.  Test empirically that the compiler sets
26999         __ARM_EABI__, rather than using the tuple to decide.
27000         * sysdeps/arm/preconfigure: Regenerated.
27001         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27002         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27003         contents appended ...
27004         * sysdeps/arm/configure.ac: ... here.
27005         * sysdeps/arm/configure: Regenerated.
27007 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27009         * nptl/pthread_kill.c: New file.
27010         * nptl/pthread_sigmask.c: New file.
27011         * nptl/pthread_sigqueue.c: New file.
27013         * sysdeps/nptl/lowlevellock.h: New file.
27014         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27015         * sysdeps/nptl/lowlevellock-futex.h: New file.
27017         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27018         Remove dead declarations.
27020 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27022         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27023         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27024         config-cflags-avx2.
27025         * sysdeps/x86_64/configure.ac: Likewise.
27026         * sysdeps/i386/configure: Regenerated.
27027         * sysdeps/x86_64/configure: Likewise.
27028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27029         memset-avx2 only if config-cflags-avx2 is yes.
27030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27031         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27032         defined.
27033         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27034         only if HAVE_AVX2_SUPPORT is defined.
27035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27037 2014-07-14  Alan Modra  <amodra@gmail.com>
27039         [BZ #17153]
27040         * elf/elf.h (DT_PPC64_NUM): Correct value.
27041         * NEWS: Add to fixed bug list.
27043 2014-07-13  Jim Meyering  <meyering@fb.com>
27045         [BZ 17150]
27046         regex: don't deref NULL upon heap allocation failure
27047         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27048         failure in one more place.
27049         To trigger the segfault, configure grep -with-included-regex,
27050         build it, and run these commands:
27051         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27053 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27055         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27057 2014-07-11  Richard Henderson  <rth@redhat.com>
27059         * sysdeps/aarch64/libm-test-ulps: Update.
27061 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27063         [BZ #17135]
27064         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27065         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27066         (__nptl_setxid): Initialize error member.  Call
27067         __nptl_setxid_error.
27068         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27069         * nptl/descr.h (struct xid_command): Add error member.
27070         * nptl/tst-setuid3.c: New file.
27071         * nptl/Makefile (tests): Add it.
27073 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27075         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27076         New define.
27077         (__lll_trylock): Use __lll_base_trylock.
27078         (__lll_cond_trylock): Likewise.
27080 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27082         * nptl/pthread_create.c (start_thread): Use atomic_or and
27083         lll_futex_wake directly rather than lll_robust_dead.
27084         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27085         (lll_robust_dead): Macro removed.
27086         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27088         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27090         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27091         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27092         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27094         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27096         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27097         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27098         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27099         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27102         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27103         Use atomic_compare_and_exchange_val_acq directly rather than
27104         lll_robust_trylock.
27105         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27106         (__lll_robust_trylock, lll_robust_trylock): Removed.
27107         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27108         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27109         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27111         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27112         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27113         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27114         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27116         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27117         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27118         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27119         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27120         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27122 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27124         * manual/locale.texi (Locale Names): New section documenting
27125         locale name syntax.  Adjust menu and node chaining accordingly.
27126         (Choosing Locale): Reference Locale Names, Locale Categories.
27127         Mention setting LC_ALL=C.  Reflect that name syntax is now
27128         documented.
27129         (Locale Categories): New section title.  Reference Locale Names.
27130         LC_ALL is an environment variable, but not a category.
27131         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27132         description, now in Locale Name.  Reference that section.  Locale
27133         name syntax is now documented.
27135 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27137         [BZ #17137]
27138         * locale/findlocale.c (name_present, valid_locale_name): New
27139         functions.
27140         (_nl_find_locale): Use the loc_name variable to store name
27141         candidates.  Call name_present and valid_locale_name to check and
27142         validate locale names.  Return an error if the locale is invalid.
27144 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27146         * locale/setlocale.c (setlocale): Use strdup for allocating
27147         composite name copy.
27149 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27151         Sync up with gnulib.
27152         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27153         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27154         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27155         and _GL_ARG_NONNULL.
27156         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27157         [!_LIBC]: Include code for Windows and Cygwin.
27158         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27159         Include prototype for int strerror_r.
27160         [!_LIBC] (is_open): New function.
27161         (flush_stdout): New function.
27162         (print_errno_message): Use it.
27163         (error): Likewise.
27164         (error_at_line): Likewise.
27165         (error_tail) Add function attribute macros.  Use
27166         __builtin_expect.
27168         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27170         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27172         * io/ftw.c: Include sys/param.h unconditionally.
27174         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27176         [BZ #17125]
27177         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27178         libc_freeres_ptr.
27179         (freecache): New function to free CACHE on exit.
27181         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27182         initialization.
27184 2014-07-09  David S. Miller  <davem@davemloft.net>
27186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27188         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27189         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27190         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27191         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27192         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27193         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27194         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27195         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27196         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27197         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27198         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27199         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27200         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27202 2014-07-09  Andreas Schwab  <schwab@suse.de>
27204         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27205         output.
27206         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27207         (do_test): Likewise.
27209         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27211 2014-07-09  Will Newton  <will.newton@linaro.org>
27213         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27214         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27215         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27216         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27217         * sysdeps/hppa/start.S (_start): Likewise.
27219 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27221         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27223         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27224         defined.
27226 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27228         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27229         after checking that it is non-NULL.
27231         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27233 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27235         * sysdeps/powerpc/memmove.c: Remove file.
27236         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27237         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27238         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27239         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27240         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27241         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27242         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27243         string memmove instead of removed powerpc one.
27245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27246         [weak_alias]: Fix compiler warning due trailing data.
27247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27248         [weak_alias]: Likewise.
27249         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27250         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27253         (__libc_ifunc_impl_list): Add memmove functions.
27255 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27257         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27258         Remove code.
27259         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27260         Likewise.
27261         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27262         Likewise.
27263         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27264         Likewise.
27265         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27266         Likewise.
27267         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27268         Likewise.
27269         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27270         Likewise.
27271         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27272         Likewise.
27273         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27274         Likewise.
27275         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27276         Likewise.
27277         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27278         Likewise.
27279         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27280         Likewise.
27281         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27282         Likewise.
27283         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27284         Likewise.
27285         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27286         Likewise.
27287         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27288         Likewise.
27289         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27290         Likewise.
27292 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27294         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27295         to avoid alignment traps in non-cacheable memory.
27296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27299         multiarch objects.
27300         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27301         file: multiarch power7 memmove.
27302         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27303         multiarch default memmove.
27304         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27305         multiarch memove for powerpc32/power4.
27307         * string/bcopy.c: Use full path to include memmove.c.
27308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27309         multiarch objects.
27310         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27311         bcopy for powerpc64.
27312         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27313         bcopy for powerpc64.
27314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27315         and memmove implementations.
27316         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27317         optimized multiarch memmove for POWER7/powerpc64.
27318         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27319         default multiarch memmove for powerpc64.
27320         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27321         multiarch for powerpc64.
27322         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27323         for POWER7/powerpc64.
27324         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27325         memmove for POWER7/powerpc64.
27327         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27328         glibc default one.
27330         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27331         __ELF_NATIVE_CLASS equal to 64.
27333 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27335         * sysdeps/nptl/lowlevellock.h: File removed.
27337         * NEWS: NPTL is no longer an add-on!
27338         * nptl/internaltypes.h: Moved ...
27339         * sysdeps/nptl/internaltypes.h: ... here.
27340         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27341         * sysdeps/nptl/fork.c: Likewise.
27342         * sysdeps/nptl/gai_misc.h: Likewise.
27343         * sysdeps/nptl/librt-cancellation.c: Likewise.
27344         * sysdeps/nptl/jmp-unwind.c: Likewise.
27345         * sysdeps/nptl/setxid.h: Likewise.
27346         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27347         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27348         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27349         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27350         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27351         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27352         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27353         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27354         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27355         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27356         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27357         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27358         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27359         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27360         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27361         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27362         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27363         * nptl/Makeconfig: Moved ...
27364         * sysdeps/nptl/Makeconfig: ... here.
27365         * nptl/configure: File removed.
27366         * nptl/ANNOUNCE: File removed.
27367         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27368         * sysdeps/unix/sysv/linux/configure: Regenerated.
27370         * nptl/Makefile (routines): Add libc_pthread_init,
27371         libc_multiple_threads, register-atfork and unregister-atfork.
27372         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27373         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27374         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27375         pthread-pi-defines.sym, structsem.sym.
27376         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27377         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27378         [$(subdir) = nptl] (tests): Add tst-setgetname.
27379         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27380         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27381         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27382         [!LIBC_SIGACTION]: Remove aliases.
27383         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27384         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27385         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27386         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27387         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27388         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27389         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27391         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27392         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27393         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27394         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27395         __libc_allocate_rtsig_private.
27396         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27397         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27398         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27399         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27400         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27401         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27402         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27403         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27404         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27405         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27406         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27407         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27408         * nptl/internaltypes.h: ... here.
27409         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27410         * sysdeps/nptl/jmp-unwind.c: ... here.
27411         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27412         * nptl/libc-lowlevellock.c: ... here.
27413         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27414         * nptl/libc_multiple_threads.c: ... here.
27415         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27416         * nptl/libc_pthread_init.c: ... here.
27417         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27418         * nptl/lowlevelbarrier.sym: ... here.
27419         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27420         * nptl/lowlevelcond.sym: ... here.
27421         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27422         * nptl/lowlevellock.c: ... here.
27423         * nptl/lowlevellock.h: Moved ...
27424         * sysdeps/nptl/lowlevellock.h: ... here.
27425         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27426         * nptl/lowlevelrobustlock.c: ... here.
27427         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27428         * nptl/lowlevelrobustlock.sym: ... here.
27429         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27430         * nptl/lowlevelrwlock.sym: ... here.
27431         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27432         * nptl/pt-fork.c: ... here.
27433         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27434         * nptl/pthread-pi-defines.sym: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27436         * nptl/pthread_attr_getaffinity.c: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27438         * nptl/pthread_attr_setaffinity.c: ... here.
27439         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27440         * nptl/pthread_mutex_cond_lock.c: ... here.
27441         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27442         Update #include.
27443         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27444         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27445         * nptl/pthread_once.c: ... here, replacing old file.
27446         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27447         * nptl/pthread_yield.c: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27449         * nptl/register-atfork.c: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27451         * nptl/sem_post.c: ... here.
27452         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27453         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27454         * nptl/sem_timedwait.c: ... here.
27455         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27456         * nptl/sem_trywait.c: ... here.
27457         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27458         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27459         * nptl/sem_wait.c: ... here.
27460         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27461         * nptl/structsem.sym: ... here.
27462         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27463         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27464         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27465         * nptl/unregister-atfork.c: ... here.
27466         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27467         * nptl/unwindbuf.sym: ... here.
27468         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27469         * sysdeps/nptl/fork.c: ... here.
27470         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27471         * sysdeps/nptl/fork.h: ... here.
27472         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27473         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27474         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27475         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27476         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27477         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27478         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27479         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27480         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27481         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27482         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27483         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27484         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27485         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27486         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27487         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27488         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27489         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27490         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27491         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27492         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27493         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27494         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27495         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27496         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27497         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27498         * sysdeps/unix/sysv/linux/raise.c: ... here.
27499         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27500         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27501         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27502         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27503         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27504         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27505         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27506         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27507         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27508         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27509         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27510         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27511         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27512         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27513         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27515 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27517         * sysdeps/generic/memcopy.h: Add comment for
27518         MEMCPY_OK_FOR_FWD_MEMMOVE.
27520 2014-07-04  Will Newton  <will.newton@linaro.org>
27522         * string/memchr.c: Merge from gnulib.
27523         [_LIBC]: Remove conditionals.
27524         (__ptr_t): Remove define.
27525         (LONG_MAX_32_BITS): Likewise.
27526         (LONG_MAX): Likewise.
27527         (MEMCHR): Use ANSI prototype and optimize algorithm.
27529         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27531 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27534         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27536         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27537         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27538         in a bare environment with no <stdlib.h> installed.
27539         * sysdeps/nptl/configure: Regenerated.
27541         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27543         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27544         AC_EGREP_CPP for kernel header checks, so they only succeed if
27545         including <linux/version.h> actually works right.
27546         * sysdeps/unix/sysv/linux/configure: Regenerated.
27548         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27549         value so it's not diagnosed as unused.
27551         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27552         thing) with "ifeq ($(subdir),rt)".
27554 2014-07-03  Richard Henderson  <rth@redhat.com>
27556         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27557         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27558         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27560         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27561         (math_force_eval): New.
27563         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27564         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27566         * sysdeps/alpha/fpu/s_round.c: Remove file.
27567         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27569         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27570         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27571         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27572         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27573         (_dl_start, print_statistics): Likewise.
27574         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27575         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27577         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27578         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27579         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27580         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27581         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27582         (HP_SMALL_TIMING_AVAIL): Define.
27583         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27584         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27585         (HP_SMALL_TIMING_AVAIL): Define.
27586         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27587         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27589         * sysdeps/aarch64/hp-timing.h: New file.
27591         * sysdeps/generic/hp-timing.h: Remove dead comment.
27592         * sysdeps/generic/hp-timing-common.h: New file.
27593         * sysdeps/alpha/hp-timing.h: Include it.
27594         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27595         * sysdeps/i386/i686/hp-timing.h: Likewise.
27596         * sysdeps/ia64/hp-timing.h: Likewise.
27597         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27598         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27599         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27600         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27601         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27602         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27603         (hp_timing_t): New.
27605         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27606         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27607         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27608         * elf/rtld.c (_dl_start_final): Likewise.
27609         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27610         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27611         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27612         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27613         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27614         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27615         (HP_TIMING_DIFF_INIT): Remove.
27616         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27617         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27618         (HP_TIMING_DIFF_INIT): Remove.
27619         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27620         * sysdeps/i386/i686/hp-timing.c: Remove file.
27621         * sysdeps/x86_64/hp-timing.c: Remove file.
27622         * sysdeps/ia64/hp-timing.c: Remove file.
27623         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27624         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27625         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27626         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27628         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27629         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27630         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27631         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27633         (HP_TIMING_ACCUM): Remove.
27634         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27635         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27636         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27638         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27639         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27640         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27641         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27643         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27645         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27647         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27649 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27651         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27653 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27655         Sync up with gettext.
27656         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27657         [_MSC_VER]: Include malloc.h
27658         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27659         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27660         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27661         TEMP_FAILURE_RETRY.  Cast return of alloca.
27662         [!_LIBC] Call gl_rwlock_init.
27663         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27665 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27667         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27668         before checking its value.
27670 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27672         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27674         * debug/memcpy_chk.c: Don't include pagecopy.h.
27675         * debug/mempcpy_chk.c: Likewise.
27676         * string/memcpy.c: Likewise.
27677         * string/memmove.c: Likewise.
27678         * sysdeps/powerpc/memmove.c: Likewise.
27679         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27680         definition of PAGE_COPY_FWD_MAYBE here...
27681         * sysdeps/generic/pagecopy.h: ... from here.
27682         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27684 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27685             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27689         optimizations.
27690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27691         (__libc_ifunc_impl_list): Likewise.
27692         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27693         multiarch strcat for PPC64.
27694         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27695         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27697 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27699         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27701 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27703         * intl/loadmsgcat.c: Remove declaration of
27704         get_sysdep_segment_value.
27705         (get_sysdep_segment_value): Use ISO C style.
27706         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27707         semicolon.  Fix typo and formatting in comment.
27708         (_nl_unload_domain): Use ISO C style.
27710         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27712 2014-07-02  Will Newton  <will.newton@linaro.org>
27714         * malloc/obstack.c: Merge from gnulib master.
27715         [HAVE_CONFIG_H]: Remove conditional code.
27716         [!_LIBC]: Include config.h.
27717         [!ELIDE_CODE]: Don't include inttypes.h, include
27718         stdint.h unconditionally.
27719         (print_and_abort): Mark as _Noreturn.
27720         (_obstack_allocated_p): Mark as __attribute_pure__.
27721         (obstack_free): Rename to __obstack_free.
27722         [!__attribute__]: Remove conditional code.
27723         * malloc/obstack.h: Merge from gnulib master.
27724         [__cplusplus]: Move conditional down.
27725         [!__attribute_pure__]: Define __attribute_pure__ here
27726         if it is not already defined.
27727         (_obstack_memory_used): Mark as __attribute_pure__.
27728         [!__obstack_free]: Define as obstack_free.
27729         [__GNUC__]: Remove check for ancient NeXT gcc.
27731 2014-07-02  Will Newton  <will.newton@linaro.org>
27732             Paul Eggert  <eggert@cs.ucla.edu>
27734         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27736 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27738         * resolv/gethnamaddr.c: Add comment warning that the file is
27739         not maintained.
27741 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27743         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27744         entries.
27746         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27747         entry for aio_cancel and aio_cancel64.
27748         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27749         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27750         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27751         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27752         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27753         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27754         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27755         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27756         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27757         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27758         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27759         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27760         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27762 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27764         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27765         * nptl/pthread_mutex_lock.c: Likewise.
27766         * nptl/pthread_mutex_timedlock.c: Likewise.
27767         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27769 2014-07-01  Richard henderson  <rth@redhat.com>
27771         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27772         (__isnan, __isnanl): Remove.
27773         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27775         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27777 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27779         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27781 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27783         * resolv/nss_dns/dns-host.c (getanswer_r)
27784         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27786 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27789         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27790         undefine.
27791         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27792         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27794 2014-07-01  Roland McGrath <roland@hack.frob.com>
27796         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27797         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27799         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27800         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27802         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27803         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27804         ... here.
27805         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27806         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27808         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27809         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27810         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27811         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27813         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27814         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27815         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27816         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27817         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27818         Moved ...
27819         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27820         ... here.
27821         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27822         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27823         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27824         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27825         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27826         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27827         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27828         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27829         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27830         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27831         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27832         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27833         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27834         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27835         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27836         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27837         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27838         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27839         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27840         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27841         ... here.
27842         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27843         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27844         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27845         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27846         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27847         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27848         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27849         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27851 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27853         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27854         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27855         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27856         Add sysdep.
27858 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27862 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27864         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27865         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27867         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27869         * sysdeps/arm/libm-test-ulps: Regenerated.
27871 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27872             Roland McGrath <roland@hack.frob.com>
27874         * test-skeleton.c (signal_handler): Kill the whole process group
27875         before killing the child individually.
27876         (main): Report any failure on `setpgid'.
27878 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27880         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27881         from _TLS_H to _ARM_NPTL_TLS_H.
27882         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27883         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27885 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27887         [BZ #16539]
27888         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27889         (__expm1l): Return argument unchanged when small but not
27890         subnormal.
27892         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27893         include macro name.
27894         (_FP_UNPACK_RAW_1_P): Likewise.
27895         (_FP_PACK_RAW_1): Likewise.
27896         (_FP_PACK_RAW_1_P): Likewise.
27897         (_FP_MUL_MEAT_1_wide): Likewise.
27898         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27899         (_FP_MUL_MEAT_1_hard): Likewise.
27900         (_FP_DIV_MEAT_1_imm): Likewise.
27901         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27902         (_FP_DIV_MEAT_1_udiv): Likewise.
27903         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27904         (_FP_UNPACK_RAW_2): Likewise.
27905         (_FP_UNPACK_RAW_2_P): Likewise.
27906         (_FP_PACK_RAW_2): Likewise.
27907         (_FP_PACK_RAW_2_P): Likewise.
27908         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27909         (_FP_MUL_MEAT_2_wide): Likewise.
27910         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27911         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27912         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27913         (_FP_MUL_MEAT_2_gmp): Likewise.
27914         (_FP_DIV_MEAT_2_udiv): Likewise.
27915         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27916         (_FP_FRAC_SRL_4): Likewise.
27917         (_FP_FRAC_SRST_4): Likewise.
27918         (_FP_FRAC_SRS_4): Likewise.
27919         (_FP_UNPACK_RAW_4): Likewise.
27920         (_FP_UNPACK_RAW_4_P): Likewise.
27921         (_FP_PACK_RAW_4): Likewise.
27922         (_FP_PACK_RAW_4_P): Likewise.
27923         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27924         (_FP_MUL_MEAT_4_wide): Likewise.
27925         (_FP_MUL_MEAT_4_gmp): Likewise.
27926         (umul_ppppmnnn): Likewise.
27927         (_FP_DIV_MEAT_4_udiv): Likewise.
27928         (__FP_FRAC_ADD_4): Likewise.
27929         (__FP_FRAC_SUB_3): Likewise.
27930         (__FP_FRAC_SUB_4): Likewise.
27931         (__FP_FRAC_DEC_3): Likewise.
27932         (__FP_FRAC_DEC_4): Likewise.
27933         (__FP_FRAC_ADDI_4): Likewise.
27934         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27935         (_FP_FRAC_SRL_8): Likewise.
27936         (_FP_FRAC_SRS_8): Likewise.
27938         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27939         include macro name.
27940         (FP_UNPACK_RAW_EP): Likewise.
27941         (FP_PACK_RAW_E): Likewise.
27942         (FP_PACK_RAW_EP): Likewise.
27943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27944         (_FP_ISSIGNAN): Likewise.
27945         (_FP_ADD_INTERNAL): Likewise.
27946         (_FP_FMA): Likewise.
27947         (_FP_CMP): Likewise.
27948         (_FP_SQRT): Likewise.
27949         (_FP_TO_INT): Likewise.
27950         (_FP_FROM_INT): Likewise.
27951         (FP_EXTEND): Likewise.
27952         (_FP_DIV_MEAT_N_loop): Likewise.
27954 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27956         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27957         throughout.
27959 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27961         [BZ #17097]
27962         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27963         result with correct sign in case of exponents that produce
27964         overflow except for X very close to 1.
27966 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27968         mktime: merge #if/#ifdef usage from glibc
27969         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27970         as that works with both Glibc's and Gnulib's style.
27971         See thread starting at Siddhesh Poyarekar's bug report at:
27972         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27974 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27976         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27977         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27978         * sysdeps/tile/tilegx/memmove.c: Remove file.
27980 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27982         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27983         abi-name definition.
27984         * scripts/soversions.awk: Do not handle or generate ABI lines.
27985         * shlib-versions: Remove ABI entries.
27986         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27987         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27989 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27992         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27993         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27994         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27996         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27998         Moved ...
27999         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28000         ... here.
28001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28002         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28004         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28006         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28008         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28010         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28012         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28014         Moved ...
28015         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28021         Moved ...
28022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28024         Moved ...
28025         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28029         Moved ...
28030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28032         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28034         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28036         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28038         Moved ...
28039         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28041         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28042         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28043         Moved ...
28044         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28046         Moved ...
28047         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28049         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28051         Moved ...
28052         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28053         ... here.
28054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28055         Identical file removed.
28056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28060         Identical file removed.
28061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28062         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28064         Moved ...
28065         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28067         Identical file removed.
28068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28069         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28071         Identical file removed.
28072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28075         Identical file removed.
28076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28077         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28079         Identical file removed.
28080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28081         Moved ...
28082         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28084         Identical file removed.
28085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28086         Moved ...
28087         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28089         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28091         Identical file removed.
28092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28093         Moved ...
28094         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28095         ... here.
28096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28097         Identical file removed.
28098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28099         Moved ...
28100         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28102         Identical file removed.
28103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28104         Moved ...
28105         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28107         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28111         Moved ...
28112         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28113         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28114         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28116         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28117         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28118         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28119         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28120         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28122 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28124         [BZ #17092]
28125         * nscd/nscd.c (monitor_child): Return exit status of child
28126         instead of return value from wait syscall.
28128 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28130         * configure.ac (libc_commonpagesize): Remove variable.
28131         (libc_relro_required): Likewise.
28132         (libc_cv_z_relro): Remove configure test.
28133         * configure: Regenerated.
28134         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28135         variable.
28136         (libc_relro_required): Likewise.
28137         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28138         (libc_relro_required): Likewise.
28139         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28140         (libc_relro_required): Likewise.
28141         * sysdeps/arm/preconfigure: Regenerated.
28142         * sysdeps/ia64/preconfigure: Remove file.
28143         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28144         variable.
28145         (libc_relro_required): Likewise.
28147         [BZ #16561]
28148         [BZ #16562]
28149         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28150         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28151         recompute overflowing results in original rounding mode.
28152         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28153         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28154         recompute overflowing results in original rounding mode.
28155         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28156         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28157         recompute overflowing results in original rounding mode.
28158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28159         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28160         recompute overflowing results in original rounding mode.
28161         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28162         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28163         recompute overflowing results in original rounding mode.
28164         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28165         (libc_feholdsetround_ctx): New macro.
28166         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28167         * sysdeps/i386/fpu/libm-test-ulps: Update.
28168         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28170 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28172         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28173         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28174         corresponding .cpsetup call.
28176 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28178         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28179         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28180         * sysdeps/arm/Makefile [$(subdir) = csu]
28181         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28182         (static-only-routines): Add aeabi_read_tp here.
28183         (shared-only-routines): Add libc-aeabi_read_tp here.
28184         (CFLAGS-libc-start.c): Add -fexceptions here.
28185         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28186         (sysdep_routines, static-only-routines, shared-only-routines):
28187         Don't add to these here.
28188         (CFLAGS-libc-start.c): Likewise.
28190         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28191         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28192         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28193         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28194         * sysdeps/arm/Makefile [$(subdir) = rt]
28195         (librt-sysdep_routines, librt-shared-only-routines):
28196         Append rt-aeabi_unwind_cpp_pr1 here.
28197         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28198         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28199         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28200         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28201         Append nptl-aeabi_unwind_cpp_pr1 here.
28202         (tests): Filter out tst-cleanupx4 here.
28203         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28204         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28205         Don't do those here.
28207 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28209         * scripts/list-sources.sh: Do not handle ports specially.
28211 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28213         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28214         * sysdeps/arm/feupdateenv.c: Likewise.
28216         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28218 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28220         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28221         trailing whitespace removed.
28222         * scripts/config.guess: Update to version 2014-03-23.
28223         * scripts/config.sub: Update to version 2014-05-01
28224         * scripts/install-sh: Update to version 2013-12-25.23.
28225         * scripts/move-if-change: Update from gnulib.
28227 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28229         * debug/memmove_chk.c: Remove pagecopy.h include.
28231 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28233         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28234         identical to gnulib mktime.
28236 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28238         * configure.ac: Do not test for machine being rs6000.  Do not test
28239         for powerpc*-*soft.
28240         * configure: Regenerated.
28242         [BZ #11505]
28243         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28244         test.
28245         * configure: Regenerated.
28246         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28247         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28248         Remove configure test.
28249         * sysdeps/arm/configure: Regenerated.
28250         * sysdeps/nptl/configure.ac: Do not check
28251         libc_cv_asm_cfi_directives.
28252         * sysdeps/nptl/configure: Regenerated.
28253         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28254         * sysdeps/x86_64/nptl/configure: Remove generated file.
28255         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28256         unconditional.
28257         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28259 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28261         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28262         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28263         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28264         it is defined.
28266         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28267         instead of whether it is defined.
28268         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28269         * sysdeps/hppa/dl-machine.h: Likewise.
28270         * sysdeps/ia64/dl-machine.h: Likewise.
28271         * sysdeps/m68k/dl-machine.h: Likewise.
28272         * sysdeps/microblaze/dl-machine.h: Likewise.
28273         * sysdeps/mips/dl-machine.: Likewise.
28274         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28275         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28276         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28277         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28278         * sysdeps/sh/dl-machine.h: Likewise.
28279         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28280         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28281         * sysdeps/tile/dl-machine.h: Likewise.
28282         * sysdeps/x86_64/dl-machine.h: Likewise.
28284         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28285         code.
28286         (verify_persistent_db): Likewise.
28288 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28291         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28293         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28295         Moved ...
28296         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28297         ... here.
28298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28299         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28301         Identical file removed.
28302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28305         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28307         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28309         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28311         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28313         Moved ...
28314         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28320         Moved ...
28321         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28323         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28325         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28327         Identical file removed.
28328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28329         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28331         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28333         Moved ...
28334         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28335         ... here.
28336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28337         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28339         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28341         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28343         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28345         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28347         Moved ...
28348         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28350         Moved ...
28351         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28353         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28355         Moved ...
28356         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28358         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28360         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28361         folded into ...
28362         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28363         * sysdeps/unix/sysv/linux/s390/Versions
28364         (libpthread: GLIBC_2.19): New version set.
28365         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28366         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28367         (librt: GLIBC_2.3.3): New version set.
28368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28369         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28370         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28372         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28373         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28374         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28376         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28378         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28379         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28380         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28381         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28382         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28383         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28384         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28385         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28386         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28387         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28388         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28389         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28390         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28392         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28394         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28396         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28398         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28404         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28406         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28408         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28410         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28412         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28415         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28416         (__libc_vfork): Define the function under this name.
28417         [!NOT_IN_libc] (__vfork): Make this an alias.
28418         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28420         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28421         (__libc_vfork): Define the function under this name.
28422         [!NOT_IN_libc] (__vfork): Make this an alias.
28423         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28424         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28427         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28428         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28430         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28431         code that was previously under [RESET_PID].
28432         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28433         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28436         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28437         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28438         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28439         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28440         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28441         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28442         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28443         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28444         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28445         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28446         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28447         Moved ...
28448         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28449         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28450         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28451         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28452         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28453         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28454         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28455         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28456         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28457         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28458         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28459         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28460         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28461         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28462         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28463         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28464         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28465         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28466         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28467         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28468         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28469         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28470         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28471         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28472         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28473         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28474         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28476         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28478 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28480         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28481         that was previously under [RESET_PID].
28482         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28484 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28486         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28487         not undefine and redefine.
28488         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28489         [O_CLOEXEC]: Make code unconditional.
28490         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28491         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28492         <kernel-features.h>.
28493         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28494         conditional variable definition.
28495         (shm_open) [O_CLOEXEC]: Make code unconditional.
28496         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28497         code.
28499         * configure.ac (USE_REGPARMS): Don't define here.
28500         * configure: Regenerated.
28501         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28502         * sysdeps/i386/configure: Regenerated.
28504         * nptl/createthread.c: Don't include kernel-features.h.
28505         * nptl/pthread_cancel.c: Likewise.
28506         * nptl/pthread_condattr_setclock.c: Likewise.
28507         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28508         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28509         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28510         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28511         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28512         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28513         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28516         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28517         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28518         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28519         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28520         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28521         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28522         * nscd/gai.c: Likewise.
28523         * nss/nss_db/db-open.c: Likewise.
28524         * sysdeps/generic/ldsodefs.h: Likewise.
28525         * sysdeps/sh/nptl/tls.h: Likewise.
28526         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28527         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28528         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28529         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28530         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28531         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28532         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28533         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28534         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28535         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28536         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28537         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28538         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28539         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28540         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28541         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28542         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28543         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28544         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28545         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28548         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28549         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28554         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28555         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28556         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28557         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28558         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28559         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28560         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28561         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28562         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28563         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28564         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28565         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28566         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28567         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28568         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28569         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28570         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28571         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28572         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28573         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28574         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28575         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28576         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28577         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28578         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28579         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28580         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28581         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28582         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28583         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28606         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28607         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28608         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28609         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28610         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28611         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28612         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28613         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28614         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28615         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28616         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28617         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28618         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28619         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28620         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28621         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28622         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28623         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28624         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28625         * sysdeps/unix/sysv/linux/system.c: Likewise.
28626         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28627         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28628         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28629         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28630         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28631         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28632         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28634         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28635         * configure: Regenerated.
28636         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28638         * configure.ac (base_machine): Do not set specially for particular
28639         machines here.
28640         * configure: Regenerated.
28641         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28642         settings from configure.ac.
28643         * sysdeps/i386/preconfigure: New file.
28644         * sysdeps/s390/preconfigure: Likewise.
28645         * sysdeps/sh/preconfigure: Likewise.
28646         * sysdeps/sparc/preconfigure: Likewise.
28648 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28650         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28651         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28652         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28653         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28654         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28655         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28656         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28657         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28658         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28659         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28660         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28661         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28662         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28663         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28664         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28665         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28667         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28668         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28670         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28671         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28672         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28673         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28674         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28675         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28676         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28677         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28678         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28679         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28680         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28681         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28682         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28683         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28684         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28685         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28686         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28687         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28688         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28689         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28690         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28691         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28693         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28694         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28695         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28697         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28699         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28700         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28701         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28702         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28703         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28704         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28705         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28706         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28707         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28710         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28714         Moved ...
28715         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28716         ... here.
28717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28722         Moved ...
28723         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28725         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28727         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28729         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28731         Moved ...
28732         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28734         Moved ...
28735         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28737         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28739         Moved ...
28740         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28744         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28746         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28748         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28750         Moved ...
28751         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28752         ... here.
28753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28754         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28756         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28758         Moved ...
28759         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28761         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28763         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28767         Moved ...
28768         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28770         Moved ...
28771         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28773         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28775         Moved ...
28776         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28778         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28780         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28782 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28784         * timezone/checktab.awk: Update from tzcode 2014e.
28785         * timezone/private.h: Likewise.
28786         * timezone/tzfile.h: Likewise.
28787         * timezone/zdump.c: Likewise.
28788         * timezone/zic.c: Likewise.
28790         * sysdeps/unix/sysv/linux/kernel-features.h
28791         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28792         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28793         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28794         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28795         Remove conditional code.
28797 2014-06-25  Will Newton  <will.newton@linaro.org>
28799         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28800         (_dl_arm_cap_flags): Add HWCAP2 values.
28801         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28802         (_DL_HWCAP_COUNT): Increase to 37.
28803         (_DL_HWCAP_LAST): New define.
28804         (_DL_HWCAP2_LAST): New define.
28805         (_dl_procinfo): Add support for printing
28806         AT_HWCAP2 entries.
28807         (_dl_string_hwcap): Use _dl_hwcap_string.
28809 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28813 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28815         * README: Do not mention ports directory.
28817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28818         Remove macro.
28819         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28820         <kernel-features.h>.
28821         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28822         conditional variable definition.
28823         (__futimes): Update comment.
28824         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28825         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28827         [BZ #16560]
28828         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28829         arguments close to 0.
28830         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28831         Likewise.
28832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28833         Likewise.
28834         * math/auto-libm-test-in: Add more tests of exp10.
28835         * math/auto-libm-test-out: Regenerated.
28836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28838         * sysdeps/unix/sysv/linux/kernel-features.h
28839         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28840         * sysdeps/unix/sysv/linux/readv.c: Do not include
28841         <kernel-features.h>.
28842         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28843         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28844         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28845         unconditional.
28846         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28847         conditional code.
28848         * sysdeps/unix/sysv/linux/writev.c: Do not include
28849         <kernel-features.h>.
28850         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28851         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28852         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28853         unconditional.
28854         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28855         conditional code.
28857 2014-06-25  Will Newton  <will.newton@linaro.org>
28859         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28860         comment changes throughout the file.  Remove checks
28861         for HAVE_*_H definitions that are not required.
28862         (__gen_tempname): Call abort if an unknown kind value is
28863         passed.
28865 2014-06-25  Andreas Schwab  <schwab@suse.de>
28867         [BZ #17086]
28868         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28869         scalbln, scalblnf, scalblnl in libc.
28871 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28873         [BZ #17086]
28874         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28875         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28876         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28878 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28880         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28881         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28882         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28883         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28884         Update #include.
28885         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28886         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28887         Update #include.
28888         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28889         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28890         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28892         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28893         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28894         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28895         * sysdeps/x86/bits/semaphore.h: ... here.
28896         * sysdeps/x86/nptl/elide.h: Moved ...
28897         * sysdeps/x86/elide.h: ... here.
28898         * sysdeps/x86_64/nptl/Implies: File removed.
28899         * sysdeps/i386/nptl/Implies: File removed.
28901 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28903         [BZ #16539]
28904         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28905         return the argument for normal arguments with exponent below -64.
28906         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28907         Likewise.
28908         * math/auto-libm-test-in: Add another test of expm1.
28909         * math/auto-libm-test-out: Regenerated.
28911         [BZ #16287]
28912         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28913         calling __erfcl for arguments at least 16.
28914         * math/auto-libm-test-in: Add more tests of erf.
28915         * math/auto-libm-test-out: Regenerated.
28917         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28918         individual architectures.
28919         * sysdeps/unix/sysv/linux/configure: Regenerated.
28920         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28921         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28922         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28923         (ldd_rewrite_script): Define variable.
28924         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28926         file.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28928         generated file.
28929         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28930         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28931         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28932         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28933         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28934         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28935         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28936         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28938 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28940         [BZ #17084]
28941         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28942         Rename member __data.d to __data.__elision_data.
28944 2014-06-24  Wilco  <wdijkstr@arm.com>
28946         * NEWS: Add 16918 to fixed bug list.
28948 2014-06-24  Wilco  <wdijkstr@arm.com>
28950         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28952 2014-06-24  Wilco  <wdijkstr@arm.com>
28954         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28955         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28956         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28957         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28958         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28959         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28960         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28961         Use _FPU_MASK_RM.
28963 2014-06-24  Wilco  <wdijkstr@arm.com>
28965         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28967 2014-06-24  Wilco  <wdijkstr@arm.com>
28969         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28970         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28971         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28972         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28974 2014-06-24  Wilco  <wdijkstr@arm.com>
28976         [BZ #16918]
28977         * sysdeps/arm/feupdateenv.c (feupdateenv):
28978         Rewrite to reduce FPSCR accesses and fix return value.
28980 2014-06-24  Wilco  <wdijkstr@arm.com>
28982         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28983         Optimize to avoid unnecessary FPSCR writes.
28984         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28985         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28986         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28987         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28989 2014-06-24  Wilco  <wdijkstr@arm.com>
28991         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28992         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28993         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28994         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28995         Call libc_fetestexcept_vfp.
28996         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28997         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28998         __SOFTFP__ ifdef so that they can be built for softfp.
29000 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29002         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29003         argument type signed char.
29005         * Makerules (check-abi): Dump diff of symlist if the test
29006         fails.
29008 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29010         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29011         using abort.
29013         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29014         Remove unused variable ST.
29016 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29018         [BZ #16354]
29019         [BZ #17061]
29020         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29021         small arguments before calling __expm1.
29022         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29023         small arguments before calling __expm1f.
29024         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29025         small arguments before calling __expm1l.
29026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29027         Likewise.
29028         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29029         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29030         spurious underflow for some cosh tests.
29031         * math/auto-libm-test-out: Regenerated.
29032         * sysdeps/i386/fpu/libm-test-ulps: Update.
29034         [BZ #17050]
29035         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29036         (__ieee754_y1): Set errno if return value overflows.
29037         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29038         (__ieee754_y1f): Set errno if return value overflows.
29039         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29040         (__ieee754_y1l): Set errno if return value overflows.
29041         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29042         (__ieee754_y1l): Set errno if return value overflows.
29043         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29044         * math/auto-libm-test-out: Regenerated.
29046         * math/gen-auto-libm-tests.c: Document use of
29047         ignore-zero-inf-sign.
29048         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29049         (input_flags): Add ignore-zero-inf-sign.
29050         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29051         * math/gen-libm-test.pl (generate_testfile): Handle
29052         ignore-zero-inf-sign.
29053         * math/auto-libm-test-in: Mark some cpow tests with
29054         ignore-zero-inf-sign and some with xfail-rounding.
29055         * math/auto-libm-test-out: Regenerated.
29056         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29057         * sysdeps/i386/fpu/libm-test-ulps: Update.
29058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29060         [BZ #16315]
29061         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29062         overflowing or underflowing operations take place with sign of
29063         result.
29064         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29065         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29066         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29067         (__ieee754_pow): Recompute overflowing and underflowing results in
29068         original rounding mode.
29069         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29070         (__powl_helper): Allow negative argument X and scale negated value
29071         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29072         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29073         overflowing or underflowing operations take place with sign of
29074         result.
29075         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29076         Include <math.h>.
29077         * math/auto-libm-test-in: Add more tests of pow.
29078         * math/auto-libm-test-out: Regenerated.
29079         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29080         (pow_tonearest_test_data): Remove.
29081         (pow_test_tonearest): Likewise.
29082         (pow_towardzero_test_data): Likewise.
29083         (pow_test_towardzero): Likewise.
29084         (pow_downward_test_data): Likewise.
29085         (pow_test_downward): Likewise.
29086         (pow_upward_test_data): Likewise.
29087         (pow_test_upward): Likewise.
29088         (main): Don't call removed functions.
29089         * sysdeps/i386/fpu/libm-test-ulps: Update.
29090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29092 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29095         Moved ...
29096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29098         Moved ...
29099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29101         Moved ...
29102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29104         Moved ...
29105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29107         File removed.
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29109         File removed.
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29111         File removed.
29112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29113         File removed.
29114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29115         File removed.
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29117         File removed.
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29119         File removed.
29120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29121         File removed.
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29123         File removed.
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29125         File removed.
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29127         File removed.
29128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29129         File removed.
29130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29131         Moved ...
29132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29134         Moved ...
29135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29136         ... here.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29138         Moved ...
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29141         Moved ...
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29144         Moved ...
29145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29147         Moved ...
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29150         Moved ...
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29153         Moved ...
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29156         Moved ...
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29160         ... here.
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29162         Moved ...
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29165         Moved ...
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29167         ... here.
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29169         Moved ...
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29171         ... here.
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29173         Moved ...
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29175         ... here.
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29177         Moved ...
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29180         Moved ...
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29185         Moved ...
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29187         ... here.
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29189         Moved ...
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29191         ... here.
29192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29193         Moved ...
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29196         Moved ...
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29202         Moved ...
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29205         Moved ...
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29207         ... here.
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29209         Moved ...
29210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29215         Moved ...
29216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29226         Moved ...
29227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29229         Moved ...
29230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29231         ... here.
29232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29233         Moved ...
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29235         ... here.
29236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29237         Moved ...
29238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29239         ... here.
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29241         Moved ...
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29247         Moved ...
29248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29250         Moved ...
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29252         ... here.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29254         Moved ...
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29256         ... here.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29258         Moved ...
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29260         ... here.
29261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29262         Moved ...
29263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29265         Moved ...
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29268 2014-06-23  Will Newton  <will.newton@linaro.org>
29269             Wilco  <wdijkstr@arm.com>
29271         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29272         implementation.  Include get-rounding-mode.h.
29273         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29274         [!libc_feholdsetround_noex_ctx]: Define
29275         libc_feholdsetround_noex_ctx.
29276         [!libc_feholdsetround_noexf_ctx]: Define
29277         libc_feholdsetround_noexf_ctx.
29278         [!libc_feholdsetround_noexl_ctx]: Define
29279         libc_feholdsetround_noexl_ctx.
29280         (libc_feholdsetround_ctx): New function.
29281         (libc_feresetround_ctx): New function.
29282         (libc_feholdsetround_noex_ctx): New function.
29283         (libc_feresetround_noex_ctx): New function.
29285 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29287         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29288         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29289         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29290         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29291         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29292         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29294         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29295         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29296         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29297         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29298         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29299         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29301         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29303         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29305         Moved ...
29306         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29307         ... here.
29308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29309         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29311         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29313         Moved ...
29314         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29316         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29318         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29322         Moved ...
29323         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29325         Moved ...
29326         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29330         Moved ...
29331         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29333         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29334         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29335         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29336         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29337         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29339         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29341         Moved ...
29342         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29343         ... here.
29344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29345         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29349         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29351         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29353         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29355         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29357         Moved ...
29358         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29360         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29362         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29364         Moved ...
29365         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29367         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29368         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29369         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29371         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29372         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29373         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29374         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29376         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29377         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29380         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29381         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29382         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29383         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29384         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29385         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29386         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29387         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29388         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29389         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29390         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29391         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29392         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29393         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29394         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29395         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29396         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29397         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29398         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29400 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29403         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29404         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29405         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29406         (IPV6_PMTUDISC_INTERFACE): Likewise.
29407         (IPV6_PMTUDISC_OMIT): Likewise.
29409 2014-06-23  Andreas Schwab  <schwab@suse.de>
29411         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29412         Remove unused errout label.
29414 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29416         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29417         macro: hardware supports Vector Crypto instructions.
29419 2014-06-23  Will Newton  <will.newton@linaro.org>
29421         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29422         rather than __builtin_expect.
29424         * elf/dl-lookup.c (undefined_msg): Remove variable.
29425         (_dl_lookup_symbol_x): Replace undefined_msg with string
29426         literal.
29428         * elf/dl-lookup.c (do_lookup_unique): New function.
29429         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29430         to a separate function.
29432 2014-06-23  Andreas Schwab  <schwab@suse.de>
29434         [BZ #17079]
29435         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29436         before reading the next line.
29438 2014-06-23  Will Newton  <will.newton@linaro.org>
29440         * test-skeleton.c (signal_handler): Use printf and %m
29441         rather than perror.  Use printf rather than fprintf to
29442         stderr.  Use puts rather than fputs to stderr.
29443         (main): Likewise.
29445 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29447         * nscd/nscd.c (thread_info_t): Remove typedef.
29448         (thread_info): Remove variable.
29450 2014-06-21  Allan McRae  <allan@archlinux.org>
29452         * NEWS: Mention CVE-2014-4043.
29454 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29456         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29457         * nptl/smp.h: ... here.
29459         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29461         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29462         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29463         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29464         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29466         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29467         * nptl/stack-aliasing.h: New file.
29468         * sysdeps/i386/i686/stack-aliasing.h: New file.
29469         * sysdeps/i386/i686/nptl/Makefile: File removed.
29470         * sysdeps/x86_64/stack-aliasing.h: New file.
29471         * sysdeps/x86_64/nptl/Makefile
29472         (CFLAGS-pthread_create.c): Variable removed.
29474         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29475         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29476         old file.
29477         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29478         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29479         old file.
29481 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29484         (__ASSUME_SIGFRAME_V2): Remove macro.
29485         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29486         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29487         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29488         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29489         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29490         Declare as function.  Remove conditional macro definitions.
29491         (__default_rt_sa_restorer): Likewise.
29492         (__default_sa_restorer_v1): Remove declaration.
29493         (__default_sa_restorer_v2): Likewise.
29494         (__default_rt_sa_restorer_v1): Likewise.
29495         (__default_rt_sa_restorer_v2): Likewise.
29496         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29497         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29498         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29500 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29502         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29503         (libpthread-routines): Add sysdep.
29504         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29505         * sysdeps/unix/sysv/linux/sparc/Versions
29506         (libpthread: GLIBC_2.3.3): New version set.
29507         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29508         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29509         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29510         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29511         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29512         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29513         Moved ...
29514         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29515         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29516         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29517         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29518         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29519         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29520         * sysdeps/sparc/nptl/sem_init.c: ... here.
29521         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29522         * sysdeps/sparc/nptl/sem_post.c: ... here.
29523         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29524         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29525         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29526         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29527         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29528         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29529         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29530         (libpthread-routines): Add cpu_relax.
29531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29532         File removed.
29533         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29534         (librt: GLIBC_2.3.3): New version set.
29535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29536         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29537         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29538         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29541         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29543         Moved ...
29544         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29546         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29548         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29550         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29552         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29554         Moved ...
29555         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29556         Update #include.
29557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29558         Moved ...
29559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29560         Update #include.
29561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29562         Moved ...
29563         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29564         Update #include.
29565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29566         Moved ...
29567         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29568         Update #include.
29569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29570         Moved ...
29571         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29572         Update #include.
29573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29574         Moved ...
29575         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29576         Update #include.
29577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29578         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29584         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29586         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29588         Moved ...
29589         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29591         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29593         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29595 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29597         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29598         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29599         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29600         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29601         * nscd/nscd.c: Likewise.
29602         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29603         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29604         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29605         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29607         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29608         <kernel-features.h>.
29609         (init_mq_netlink): Remove conditional have_sock_cloexec
29610         definitions.  Remove code conditional on have_sock_cloexec < 0.
29611         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29612         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29613         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29614         <kernel-features.h>.
29615         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29616         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29618 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29621         Add tests for memset_chk and memset.
29623         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29624         with AVX2_Usable.
29626 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29628         [BZ #16046]
29629         * elf/tst-dl-iter-static.c: New file.
29630         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29632         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29633         error.
29635 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29637         * sysdeps/unix/sysv/linux/kernel-features.h
29638         (__ASSUME_F_GETOWN_EX): Remove macro.
29639         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29640         <kernel-features.h>.
29641         (miss_F_GETOWN_EX): Remove variable or macro.
29642         (do_fcntl): Do not check miss_F_GETOWN_EX.
29643         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29646         Remove macro.
29647         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29648         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29649         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29651         * sysdeps/unix/sysv/linux/kernel-features.h
29652         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29653         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29654         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29655         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29657 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29659         [BZ #17075]
29660         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29661         Fix calculation of the symbol's value.
29662         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29663         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29664         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29665         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29666         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29667         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29668         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29669         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29670         (modules-names): Add `tst-armtlsdescmod',
29671         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29672         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29673         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29674         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29675         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29676         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29677         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29678         ($(objpfx)tst-armtlsdescloc): New dependency.
29679         ($(objpfx)tst-armtlsdescextnow): Likewise.
29680         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29681         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29682         TLS scheme support.
29683         * sysdeps/arm/configure: Regenerate.
29685 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29687         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29688         (__atfct_seterrno_2): Likewise.
29689         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29690         <kernel-features.h>.
29691         (__ASSUME_ATFCTS): Do not undefine and redefine.
29692         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29693         (__have_atfcts): Remove conditional definition.
29694         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29695         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29696         unreachable if [__ASSUME_ATFCTS].
29697         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29698         not undefine and redefine.
29699         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29700         <kernel-features.h>.
29701         (faccessat) [__NR_faccessat]: Make code unconditional.
29702         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29703         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29704         <kernel-features.h>.
29705         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29706         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29707         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29708         <kernel-features.h>.
29709         (fchownat) [__NR_fchownat]: Make code unconditional.
29710         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29711         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29712         <kernel-features.h>.
29713         (futimesat) [__NR_futimesat]: Make code unconditional.
29714         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29715         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29716         <kernel-features.h>.
29717         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29718         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29719         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29720         <kernel-features.h>.
29721         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29722         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29723         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29724         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29725         <kernel-features.h>.
29726         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29727         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29728         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29729         <kernel-features.h>.
29730         (linkat) [__NR_linkat]: Make code unconditional.
29731         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29732         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29733         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29734         <kernel-features.h>.
29735         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29736         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29737         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29738         <kernel-features.h>.
29739         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29740         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29741         * sysdeps/unix/sysv/linux/openat.c: Do not include
29742         <kernel-features.h>.
29743         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29744         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29745         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29746         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29747         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29748         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29749         <kernel-features.h>.
29750         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29751         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29752         result of INLINE_SYSCALL directly, not via int variable.
29753         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29754         <kernel-features.h>.
29755         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29756         (renameat) [__NR_renameat]: Make code unconditional.
29757         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29758         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29759         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29760         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29761         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29762         (__ASSUME_ATFCTS): Do not undefine and redefine.
29763         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29764         <kernel-features.h>.
29765         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29766         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29767         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29768         <kernel-features.h>.
29769         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29770         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29771         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29772         (__ASSUME_ATFCTS): Do not undefine and redefine.
29773         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29774         <kernel-features.h>.
29775         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29776         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29777         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29778         <kernel-features.h>.
29779         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29780         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29782 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29784         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29786 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29788         [BZ #17069]
29789         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29790         constructed tree before returning error.
29791         * posix/bug-regexp36.c: Expand test case.
29793 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29795         [BZ #6803]
29796         * math/libm-test.inc (scalbln_test_date):
29797         Add errno expectations.
29798         * math/w_scalblnf.c: New File.
29799         Add wrapper which checks for setting errno to ERANGE.
29800         Add weak_alias for corresponding scalbln function.
29801         * math/w_scalbln.c: Likewise.
29802         * math/w_scalblnl.c: Likewise.
29803         * math/Makefile (libm-calls): Add w_scalbln.
29804         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29805         Remove weak_alias for corresponding scalbln function.
29806         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29810         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29811         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29812         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29813         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29814         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29815         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29816         Remove long_double_symbol for scalblnl function in libm, libc.
29817         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29818         Add wrapper which checks for setting errno to ERANGE.
29819         Add long_double_symbol for scalblnl function in libm, libc.
29820         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29821         Remove long_double_symbol for scalblnl in libm.
29822         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29823         Add wrapper which checks for setting errno to ERANGE.
29824         Add long_double_symbol for scalblnl function in libm.
29825         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29826         Do not use wrapper because of own implementation.
29828 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29830         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29831         3 bytes for __pad1 for x32.
29832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29834 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29835             H.J. Lu  <hongjiu.lu@intel.com>
29837         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29838         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29839         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29840         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29841         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29843 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29845         [BZ #17069]
29846         * posix/regcomp.c (parse_expression): Deallocate partially
29847         constructed tree before returning error.
29848         * posix/Makefile.c (tests): Add bug-regex36.
29849         (generated): Add bug-regex36.mtrace.
29850         (tests-special): Add $(objpfx)bug-regex36-mem.out
29851         (bug-regex36-ENV): New variable.
29852         ($(objpfx)bug-regex36-mem.out): New rule.
29853         * posix/bug-regex36.c: New file.
29855 2014-06-19  Will Newton  <will.newton@linaro.org>
29857         * malloc/malloc.c (systrim): If extra is zero then return
29858         early.
29860 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29862         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29864 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29866         * sysdeps/aarch64/strchr.S: New file.
29868 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29870         [BZ #17022]
29871         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29872         from arguments -2 or below.
29873         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29874         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29876 2014-06-18  Andreas Schwab  <schwab@suse.de>
29878         [BZ #17062]
29879         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29880         of a bracket expr not to run off the end of the string.
29881         * posix/Makefile (tests): Add tst-fnmatch3.
29882         * posix/tst-fnmatch3.c: New file.
29884 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29886         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29887         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29888         [$(cross-compiling) = no]: Likewise.
29889         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29890         [$(cross-compiling) = no]: Likewise.
29892 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29894         [BZ #17031]
29895         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29896         double, adjusted for any remainder from the high double.
29897         * math/libm-test.inc (nearbyint): Add tests.
29898         (rint): Likewise.
29900 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29902         * nptl/sysdeps/powerpc/Makefile: Moved ...
29903         * sysdeps/powerpc/nptl/Makefile: ... here.
29904         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29905         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29906         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29907         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29908         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29909         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29910         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29911         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29912         * nptl/sysdeps/powerpc/tls.h: Moved ...
29913         * sysdeps/powerpc/nptl/tls.h: ... here.
29915 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29917         [BZ #16681]
29918         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29919         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29920         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29921         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29922         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29923         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29924         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29925         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29926         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29928 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29930         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29932 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29934         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29935         defined operator.
29937         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29938         $TIMEOUTFACTOR.
29940 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29942         [BZ #17058]
29943         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29944         non-executed part of the test.
29946 2014-06-16  Andreas Schwab  <schwab@suse.de>
29948         * string/bits/string2.h (strdup, strndup): Update feature guard.
29950 2014-06-14  David S. Miller  <davem@davemloft.net>
29952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29954 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29956         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29957         that was previously under [RESET_PID].
29958         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29960         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29961         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29962         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29963         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29964         (__libc_vfork): New strong alias.
29965         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29967 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29969         * sysdeps/generic/elide.h: New file.
29971 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29973         * Makefile (installed-headers): Adjust path of pthread.h header.
29975 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29977         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29978         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29979         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29980         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29982         * nptl/sysdeps/s390/Makefile: Moved ...
29983         * sysdeps/s390/nptl/Makefile: ... here.
29984         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29985         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29986         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29987         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29988         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29989         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29990         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29991         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29992         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29993         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29994         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29995         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29996         * nptl/sysdeps/s390/tls.h: Moved ...
29997         * sysdeps/s390/nptl/tls.h: ... here.
29999         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30000         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30002 2014-06-13  David S. Miller  <davem@davemloft.net>
30004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30007         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30011         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30012         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30013         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30014         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30015         Remove RESET_PID cpp guards.
30016         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30017         Remove RESET_PID cpp guards.
30018         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30020 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30022         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30023         __sp to uintptr_t.
30025 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30029         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30031         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30033         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30035         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30039         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30048         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30049         (pthread_rwlock_rdlock): Add elision.
30050         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30051         (pthread_rwlock_wrlock): Add elision.
30052         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30053         (pthread_rwlock_trywrlock): Add elision.
30054         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30055         (pthread_rwlock_tryrdlock): Add elision.
30056         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30057         (pthread_rwlock_tryrdlock): Add elision unlock.
30058         * nptl/sysdeps/pthread/pthread.h:
30059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30060         (PTHREAD_RWLOCK_INITIALIZER,
30061         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30062         Handle new elision field.
30063         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30064         * sysdeps/arm/nptl/bits/pthreadtypes.h
30065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30066         * sysdeps/sh/nptl/bits/pthreadtypes.h
30067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30068         * sysdeps/tile/nptl/bits/pthreadtypes.h
30069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30070         * sysdeps/a/nptl/bits/pthreadtypes.h
30071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30072         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30074         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30076         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30078         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30080         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30082         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30084         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30086         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30088         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30089         (elision_init): Set try_xbegin to zero when no RTM.
30090         * sysdeps/x86/nptl/bits/pthreadtypes.h
30091         (pthread_rwlock_t): Change __pad1 to __rwelision.
30092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30094 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30096         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30097         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30098         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30099         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30101 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30103         [BZ #16996]
30104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30105         that the cached result has been set before returning it.
30107 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30109         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30110         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30111         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30112         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30113         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30114         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30116         * nptl/sysdeps/sparc/Makefile: Moved ...
30117         * sysdeps/sparc/nptl/Makefile: ... here.
30118         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30119         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30120         * nptl/sysdeps/sparc/tls.h: Moved ...
30121         * sysdeps/sparc/nptl/tls.h: ... here.
30122         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30123         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30124         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30125         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30126         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30127         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30128         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30129         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30130         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30131         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30132         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30133         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30134         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30135         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30136         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30137         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30138         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30140         Update #include.
30141         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30143         Update #include.
30144         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30146         Update #include.
30147         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30148         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30149         Update #include.
30151         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30153         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30154         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30156         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30157         (struct list_links): Type removed.
30158         (struct thread_node, struct timer_node): Replace struct list_links
30159         with struct list_head.
30160         (list_unlink_ip): Likewise.
30161         * sysdeps/pthread/timer_routines.c
30162         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30163         (list_append, list_insbefore): Likewise.
30164         (list_init): Function removed.
30165         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30166         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30167         * sysdeps/pthread/Makefile: ... here, new file.
30169         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30170         * sysdeps/nptl/Implies: ... here.
30171         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30172         * nptl/sysdeps/pthread/list.h: Moved ...
30173         * include/list.h: ... here.
30174         * nptl/sysdeps/pthread/createthread.c: Moved ...
30175         * nptl/createthread.c: ... here.
30176         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30177         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30178         * nptl/pt-longjmp.c: ... here.
30179         * nptl/sysdeps/pthread/Makefile: Moved ...
30180         * sysdeps/nptl/Makefile: ... here.
30181         * nptl/sysdeps/pthread/Subdirs: Moved ...
30182         * sysdeps/nptl/Subdirs: ... here.
30183         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30184         * sysdeps/nptl/aio_misc.h: ... here.
30185         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30186         * sysdeps/nptl/bits/libc-lock.h: ... here.
30187         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30188         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30189         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30190         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30191         * nptl/sysdeps/pthread/configure: Moved ...
30192         * sysdeps/nptl/configure: ... here.
30193         * nptl/sysdeps/pthread/configure.ac: Moved ...
30194         * sysdeps/nptl/configure.ac: ... here.
30195         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30196         * sysdeps/nptl/gai_misc.h: ... here.
30197         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30198         * sysdeps/nptl/librt-cancellation.c: ... here.
30199         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30200         * sysdeps/nptl/malloc-machine.h: ... here.
30201         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30202         * sysdeps/nptl/pthread-functions.h: ... here.
30203         * nptl/sysdeps/pthread/pthread.h: Moved ...
30204         * sysdeps/nptl/pthread.h: ... here.
30205         * nptl/sysdeps/pthread/setxid.h: Moved ...
30206         * sysdeps/nptl/setxid.h: ... here.
30207         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30208         * sysdeps/nptl/sigfillset.c: ... here.
30209         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30210         * sysdeps/nptl/tcb-offsets.h: ... here.
30211         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30212         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30213         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30214         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30215         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30216         * sysdeps/pthread/allocalim.h: ... here.
30217         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30218         * sysdeps/pthread/bits/sigthread.h: ... here.
30219         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30220         * sysdeps/pthread/flockfile.c: ... here.
30221         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30222         * sysdeps/pthread/ftrylockfile.c: ... here.
30223         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30224         * sysdeps/pthread/funlockfile.c: ... here.
30225         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30226         * sysdeps/pthread/posix-timer.h: ... here.
30227         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30228         * sysdeps/pthread/timer_create.c: ... here.
30229         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30230         * sysdeps/pthread/timer_delete.c: ... here.
30231         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30232         * sysdeps/pthread/timer_getoverr.c: ... here.
30233         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30234         * sysdeps/pthread/timer_gettime.c: ... here.
30235         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30236         * sysdeps/pthread/timer_routines.c: ... here.
30237         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30238         * sysdeps/pthread/timer_settime.c: ... here.
30239         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30240         * sysdeps/pthread/tst-timer.c: ... here.
30241         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30242         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30244         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30245         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30247         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30248         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30249         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30250         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30251         Update #include target.
30252         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30253         * sysdeps/i386/i686/nptl/Makefile: ... here.
30254         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30255         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30256         Update #include target.
30257         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30258         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30259         * nptl/sysdeps/i386/Makefile: Moved ...
30260         * sysdeps/i386/nptl/Makefile: ... here.
30261         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30262         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30263         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30264         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30265         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30266         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30267         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30268         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30269         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30270         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30271         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30272         * nptl/sysdeps/i386/tls.h: Moved ...
30273         * sysdeps/i386/nptl/tls.h: ... here.
30275         * sysdeps/sh/Makefile [$(subdir) = csu]
30276         (gen-as-const-headers): Add tcb-offsets.sym.
30277         * nptl/sysdeps/sh/Makefile: File removed.
30278         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30279         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30280         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30281         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30282         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30283         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30284         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30285         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30286         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30287         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30288         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30289         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30290         * nptl/sysdeps/sh/tls.h: Moved ...
30291         * sysdeps/sh/nptl/tls.h: ... here.
30292         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30293         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30294         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30295         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30296         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30297         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30298         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30299         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30300         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30301         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30303         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30305         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30307         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30309         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30311         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30313         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30315         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30317         Moved ...
30318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30320         Moved ...
30321         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30326         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30327         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30328         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30329         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30330         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30331         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30332         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30333         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30334         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30335         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30336         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30337         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30338         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30341 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30343         * posix/spawn_faction_addopen.c: Include string.h.
30345 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30347         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30348         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30349         * nptl/sysdeps/x86_64/Makefile: Moved ...
30350         * sysdeps/x86_64/nptl/Makefile: ... here.
30351         * nptl/sysdeps/x86_64/configure: Moved ...
30352         * sysdeps/x86_64/nptl/configure: ... here.
30353         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30354         * sysdeps/x86_64/nptl/configure.ac: ... here.
30355         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30356         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30357         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30358         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30359         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30360         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30361         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30362         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30363         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30364         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30365         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30366         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30367         * nptl/sysdeps/x86_64/tls.h: Moved ...
30368         * sysdeps/x86_64/nptl/tls.h: ... here.
30369         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30370         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30371         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30372         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30374         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30376 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30380 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30382         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30383         type.
30384         [POSIX] (off_t): Likewise.
30385         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30386         [POSIX] (S_ISBLK): Require macro.
30387         [POSIX] (S_ISCHR): Likewise.
30388         [POSIX] (S_ISDIR): Likewise.
30389         [POSIX] (S_ISFIFO): Likewise.
30390         [POSIX] (S_ISREG): Likewise.
30391         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30392         optional-macro.
30393         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30394         type.
30395         [POSIX] (time_t): Likewise.
30396         [POSIX] (timer_t): Likewise.
30398 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30400         [BZ #17048]
30401         * posix/spawn_int.h (struct __spawn_action): Make the path string
30402         non-const to support deallocation.
30403         * posix/spawn_faction_addopen.c
30404         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30405         * posix/spawn_faction_destroy.c
30406         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30407         path in all spawn_do_open actions.
30408         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30409         posix_spawn_file_actions_addopen.
30411 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30413         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30414         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30415         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30416         conditional code always true.
30417         (__libc_vfork): New alias.
30419 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30421         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30422         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30424         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30426         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30427         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30429         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30430         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30432         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30433         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30435 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30437         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30438         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30439         multiarch strcmp for PPC64.
30440         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30441         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30443         multiarch optimizations.
30444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30445         (__libc_ifunc_impl_list): Likewise.
30447 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30449         * benchtests/scripts/validate_benchout.py: New script.
30450         * benchtests/Makefile (bench-func): Call it.
30451         * benchtests/scripts/benchout.schema.json: New file.
30453 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30455         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30456         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30457         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30458         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30459         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30460         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30461         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30462         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30463         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30464         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30465         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30466         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30467         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30468         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30469         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30470         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30472         Moved ...
30473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30474         ... here.
30475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30476         Moved ...
30477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30479         Moved ...
30480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30481         ... here.
30482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30483         Moved ...
30484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30485         ... here.
30486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30487         Moved ...
30488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30490         Moved ...
30491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30492         ... here.
30493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30494         Moved ...
30495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30496         ... here.
30497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30501         Moved ...
30502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30503         ... here.
30504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30505         Moved ...
30506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30507         ... here.
30508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30511         ... here.
30512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30513         Moved ...
30514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30516         Moved ...
30517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30518         ... here.
30519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30520         Moved ...
30521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30522         ... here.
30523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30528         Moved ...
30529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30531         Moved ...
30532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30533         ... here.
30534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30537         ... here.
30538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30544         ... here.
30545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30546         Moved ...
30547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30549         Moved ...
30550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30552         Moved ...
30553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30554         ... here.
30555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30556         Moved ...
30557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30558         ... here.
30559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30560         Moved ...
30561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30562         ... here.
30563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30564         Moved ...
30565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30567         Moved ...
30568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30569         ... here.
30570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30571         Moved ...
30572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30573         ... here.
30574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30575         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30577         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30579         Moved ...
30580         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30581         ... here.
30582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30583         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30585         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30587         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30589         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30591         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30593         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30595         Moved ...
30596         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30598         Moved ...
30599         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30601         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30603         Moved ...
30604         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30606         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30607         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30608         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30609         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30610         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30612 2014-06-10  Wilco  <wdijkstr@arm.com>
30614         * math/test-fenv-return.c: New file.
30615         * math/Makefile: Add new test test-fenv-return.
30617 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30619         [BZ #17042]
30620         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30621         when x - 1 is zero.
30622         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30623         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30624         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30625         0.0L for an argument of 1.0L.
30626         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30627         Likewise.
30628         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30629         value when x - 1 is zero.
30630         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30631         * sysdeps/i386/fpu/libm-test-ulps: Update.
30632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30634 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30636         [BZ #15119]
30637         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30639 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30641         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30642         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30644 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30646         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30647         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30649         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30650         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30652         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30653         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30655         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30656         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30658         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30659         if not already defined.
30660         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30661         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30662         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30663         (TLS_INIT_TP): Use it.
30664         (TLS_DEFINE_INIT_TP): New macro.
30665         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30667 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30669         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30670         constant.
30671         [POSIX] (IXANY): Likewise.
30672         [POSIX] (OLCUC): Likewise.
30673         [POSIX || POSIX2008] (CBAUD): Do not allow.
30674         [POSIX || POSIX2008] (DEFECHO): Likewise.
30675         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30676         [POSIX || POSIX2008] (ECHOKE): Likewise.
30677         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30678         [POSIX || POSIX2008] (EXTA): Likewise.
30679         [POSIX || POSIX2008] (EXTB): Likewise.
30680         [POSIX || POSIX2008] (FLUSHO): Likewise.
30681         [POSIX || POSIX2008] (LOBLK): Likewise.
30682         [POSIX || POSIX2008] (PENDIN): Likewise.
30683         [POSIX || POSIX2008] (SWTCH): Likewise.
30684         [POSIX || POSIX2008] (VDISCARD): Likewise.
30685         [POSIX || POSIX2008] (VDSUSP): Likewise.
30686         [POSIX || POSIX2008] (VLNEXT): Likewise.
30687         [POSIX || POSIX2008] (VREPRINT): Likewise.
30688         [POSIX || POSIX2008] (VSTATUS): Likewise.
30689         [POSIX || POSIX2008] (VWERASE): Likewise.
30690         (B*): Change to B[0123456789]*.
30691         * conform/data/time.h-data [POSIX || UNIX98]
30692         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30693         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30694         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30695         [POSIX] (tm_*): Do not allow.
30697 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30699         * Makefile (install): Don't set LANGUAGE.
30700         * Makefile.in (install): Likewise.
30701         * assert/Makefile (test-assert-ENV): Remove variable.
30702         (test-assert-perr-ENV): Likewise.
30703         * elf/Makefile (neededtest4-ENV): Likewise.
30704         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30705         [$(cross-compiling) = no]: Don't set LANGUAGE.
30706         * io/ftwtest-sh (LANG): Remove variable.
30707         * libio/Makefile (tst-widetext-ENV): Likewise.
30708         * manual/install.texi (Running make install): Don't refer to
30709         environment settings for make install.
30710         * INSTALL: Regenerated.
30711         * nptl/tst-tls6.sh: Don't set LANG.
30712         * posix/globtest.sh (LANG): Remove variable.
30713         * string/Makefile (tester-ENV): Likewise.
30714         (inl-tester-ENV): Likewise.
30715         (noinl-tester-ENV): Likewise.
30716         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30717         [$(cross-compiling) = no]: Don't set LANGUAGE.
30718         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30719         without explicit environment settings.
30721 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30723         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30724         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30725         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30726         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30728 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30730         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30731         other files in the crypt directory.
30732         * crypt/crypt.c: Remove duplicate includes.
30733         * crypt/crypt-entry.c: Likewise.
30734         * crypt/crypt_util.c: Likewise.
30736 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30738         * Makeconfig (run-program-env): New variable.
30739         (run-program-prefix-before-env): Likewise.
30740         (run-program-prefix-after-env): Likewise.
30741         (run-program-prefix): Define in terms of new variables.
30742         (built-program-cmd-before-env): New variable.
30743         (built-program-cmd-after-env): Likewise.
30744         (built-program-cmd): Define in terms of new variables.
30745         (test-program-prefix-before-env): New variable.
30746         (test-program-prefix-after-env): Likewise.
30747         (test-program-prefix): Define in terms of new variables.
30748         (test-program-cmd-before-env): New variable.
30749         (test-program-cmd-after-env): Likewise.
30750         (test-program-cmd): Define in terms of new variables.
30751         * Rules (make-test-out): Use $(run-program-env).
30752         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30753         (help): Do not mention environment variables.  Mention
30754         --timeoutfactor option.
30755         (timeoutfactor): New variable.
30756         (blacklist_exports): Remove function.
30757         (exports): Remove variable.
30758         (command): Do not include ${exports}.
30759         * manual/install.texi (Configuring and compiling): Do not mention
30760         test wrappers preserving environment variables.  Mention that last
30761         assignment to a variable must take precedence.
30762         * INSTALL: Regenerated.
30763         * benchtests/Makefile (run-bench): Use $(run-program-env).
30764         * catgets/Makefile ($(objpfx)test1.cat): Use
30765         $(built-program-cmd-before-env), $(run-program-env) and
30766         $(built-program-cmd-after-env).
30767         ($(objpfx)test2.cat): Do not specify environment variables
30768         explicitly.
30769         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30770         $(run-program-env) and $(built-program-cmd-after-env).
30771         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30772         $(run-program-env) and $(test-program-cmd-after-env).
30773         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30774         explicitly.
30775         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30776         run_program_env and test_program_cmd_after_env arguments.
30777         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30778         * elf/tst-pathopt.sh: Use run_program_env argument.
30779         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30780         $(test-wrapper-env) and $(run-program-env).
30781         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30782         run_program_env arguments.
30783         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30784         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30785         $(test-program-prefix-before-env), $(run-program-env) and
30786         $(test-program-prefix-after-env).
30787         ($(objpfx)tst-gettext2.out): Likewise.
30788         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30789         run_program_env and test_program_prefix_after_env arguments.
30790         * intl/tst-gettext2.sh: Likewise.
30791         * intl/tst-gettext4.sh: Do not set environment variables
30792         explicitly.
30793         * intl/tst-gettext6.sh: Likewise.
30794         * intl/tst-translit.sh: Likewise.
30795         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30796         $(test-program-prefix-before-env), $(run-program-env) and
30797         $(test-program-prefix-after-env).
30798         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30799         run_program_env and test_program_prefix_after_env arguments.
30800         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30801         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30802         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30803         explicitly with each use of ${test_wrapper_env}.
30804         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30805         $(test-program-prefix-before-env), $(run-program-env) and
30806         $(test-program-prefix-after-env).
30807         * posix/tst-getconf.sh: Do not set environment variables
30808         explicitly.
30809         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30810         run_program_env and test_program_prefix_after_env arguments.
30811         * stdio-common/tst-printf.sh: Do not set environment variables
30812         explicitly.
30813         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30814         $(test-program-prefix-before-env), $(run-program-env) and
30815         $(test-program-prefix-after-env).
30816         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30817         run_program_env and test_program_prefix_after_env arguments.
30818         Split $test calls into $test_pre and $test.
30819         * timezone/Makefile (build-testdata): Use
30820         $(built-program-cmd-before-env), $(run-program-env) and
30821         $(built-program-cmd-after-env).
30823 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30825         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30826         strlen for non SHARED builds.
30828 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830         * nptl/allocatestack.c (check_list): Inlined function...
30831         (__reclaim_stacks): ... here.
30833 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30835         [BZ #15698]
30836         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30837         memory overrun.
30839 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30841         * Rules (make-test-out): Include
30842         LOCPATH=$(common-objpfx)localedata in default environment.
30843         * debug/Makefile (tst-chk1-ENV): Remove variable.
30844         (tst-chk2-ENV): Likewise.
30845         (tst-chk3-ENV): Likewise.
30846         (tst-chk4-ENV): Likewise.
30847         (tst-chk5-ENV): Likewise.
30848         (tst-chk6-ENV): Likewise.
30849         (tst-lfschk1-ENV): Likewise.
30850         (tst-lfschk2-ENV): Likewise.
30851         (tst-lfschk3-ENV): Likewise.
30852         (tst-lfschk4-ENV): Likewise.
30853         (tst-lfschk5-ENV): Likewise.
30854         (tst-lfschk6-ENV): Likewise.
30855         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30856         (tst-iconv7-ENV): Likewise.
30857         * intl/Makefile (LOCPATH-ENV): Likewise.
30858         (tst-codeset-ENV): Likewise.
30859         (tst-gettext3-ENV): Likewise.
30860         (tst-gettext5-ENV): Likewise.
30861         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30862         (tst-fopenloc-ENV): Likewise.
30863         (tst-fgetws-ENV): Remove variable.
30864         (tst-ungetwc1-ENV): Likewise.
30865         (tst-ungetwc2-ENV): Likewise.
30866         (bug-ungetwc2-ENV): Likewise.
30867         (tst-swscanf-ENV): Likewise.
30868         (bug-ftell-ENV): Likewise.
30869         (tst-fgetwc-ENV): Likewise.
30870         (tst-fseek-ENV): Likewise.
30871         (tst-ftell-partial-wide-ENV): Likewise.
30872         (tst-ftell-active-handler-ENV): Likewise.
30873         (tst-ftell-append-ENV): Likewise.
30874         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30875         (tst-regexloc-ENV): Likewise.
30876         (bug-regex1-ENV): Likewise.
30877         (tst-regex-ENV): Likewise.
30878         (tst-regex2-ENV): Likewise.
30879         (bug-regex5-ENV): Likewise.
30880         (bug-regex6-ENV): Likewise.
30881         (bug-regex17-ENV): Likewise.
30882         (bug-regex18-ENV): Likewise.
30883         (bug-regex19-ENV): Likewise.
30884         (bug-regex20-ENV): Likewise.
30885         (bug-regex22-ENV): Likewise.
30886         (bug-regex23-ENV): Likewise.
30887         (bug-regex25-ENV): Likewise.
30888         (bug-regex26-ENV): Likewise.
30889         (bug-regex30-ENV): Likewise.
30890         (bug-regex32-ENV): Likewise.
30891         (bug-regex33-ENV): Likewise.
30892         (bug-regex34-ENV): Likewise.
30893         (bug-regex35-ENV): Likewise.
30894         (tst-rxspencer-ENV): Likewise.
30895         (tst-rxspencer-no-utf8-ENV): Likewise.
30896         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30897         (tst-sscanf-ENV): Likewise.
30898         (tst-swprintf-ENV): Likewise.
30899         (tst-swscanf-ENV): Likewise.
30900         (test-vfprintf-ENV): Likewise.
30901         (scanf13-ENV): Likewise.
30902         (bug14-ENV): Likewise.
30903         (tst-grouping-ENV): Likewise.
30904         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30905         (tst-strtod3-ENV): Likewise.
30906         (tst-strtod4-ENV): Likewise.
30907         (tst-strtod5-ENV): Likewise.
30908         (testmb2-ENV): Likewise./
30909         * string/Makefile (tst-strxfrm-ENV): Likewise.
30910         (tst-strxfrm2-ENV): Likewise.
30911         (bug-strcoll1-ENV): Likewise.
30912         (test-strcasecmp-ENV): Likewise.
30913         (test-strncasecmp-ENV): Likewise.
30914         * time/Makefile (tst-strptime-ENV): Likewise.
30915         (tst-ftime_l-ENV): Likewise.
30916         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30917         (tst-mbrtowc-ENV): Likewise.
30918         (tst-wcrtomb-ENV): Likewise.
30919         (tst-mbrtowc2-ENV): Likewise.
30920         (tst-c16c32-1-ENV): Likewise.
30921         (tst-mbsnrtowcs-ENV): Likewise.
30923 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30925         * manual/resource.texi (How to get information about the memory
30926         subsystem?): Fix typo.
30927         Reported by Peon de la Parra Ivan <peon@keba.com>
30929 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30931         [BZ #16882]
30932         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30933         (pthread_spin_lock): Branch out of spin loop to proper location.
30934         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30935         (pthread_spin_lock): Likewise.
30937         * nptl/tst-spin4.c: New test.
30938         * nptl/Makefile (tests): Add tst-spin4.
30940 2014-06-03  Andreas Schwab  <schwab@suse.de>
30942         [BZ #15946]
30943         * resolv/res_send.c (send_dg): Reload file descriptor after
30944         calling reopen.
30946 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30948         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30950 2014-06-03  Richard Henderson  <rth@redhat.com>
30952         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30953         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30954         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30955         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30956         in the SAVE_PID block.
30957         (__libc_vfork): New alias.
30958         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30960         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30961         child in registers, not on the stack.  Remove RESET_PID conditionals.
30962         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30964 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30966         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30968 2014-06-03  Wilco  <wdijkstr@arm.com>
30970         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30971         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30972         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30973         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30974         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30975         Likewise.
30977 2014-06-03  Wilco  <wdijkstr@arm.com>
30979         * sysdeps/aarch64/fpu/math_private.h
30980         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30981         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30982         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30983         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30984         Fix declarations.
30986 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30988         * crypt/crypt-private.h: Include ufc-crypt.h.
30989         (__b64_from_24bit): Declare extern.
30990         * crypt/crypt_util.c(__b64_from_24bit): New function.
30991         (b64t): New static const variable.
30992         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30993         (b64t): Remove variable.
30994         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30995         * crypt/sha256-crypt.c: Include crypt-private.h.
30996         (b64t): Remove variable.
30997         (__sha256_crypt_r): Remove b64_from_24bit and replace
30998         with __b64_from_24bit.
30999         * crypt/sha512-crypt.c: Likewise.
31001 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31003         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31004         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31005         Label the code __libc_vfork rather than __vfork.
31006         [!NOT_IN_libc] (vfork): Define as weak alias.
31007         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31008         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31009         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31011 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31013         * malloc/malloc.c (malloc_info): Fix format specifier for
31014         n_mmaps.
31016 2014-06-02  Wilco  <wdijkstr@arm.com>
31018         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31019         FPCR write.
31021 2014-06-02  Wilco  <wdijkstr@arm.com>
31023         [BZ #17009]
31024         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31025         Rewrite to reduce FPCR/FPSR accesses.
31027 2014-06-01  David S. Miller  <davem@davemloft.net>
31029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31031 2014-05-31  David S. Miller  <davem@davemloft.net>
31033         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31034         to occur in round to nearest mode when |x| >= 2.0
31036 2014-05-30  Richard Henderson  <rth@twiddle.net>
31038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31039         (PSEUDO_RET_NOERRNO): Remove.
31040         (ret): Don't redefine.
31041         (ret_NOERRNO): Define in terms of ret.
31042         (ret_ERRVAL): Likewise.
31044         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31045         use of PSEUDO_RET; perform the error check directly.
31047 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31049         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31050         with __int128_t.
31052 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31054         * malloc/malloc (malloc_info): Fix formatting.
31056 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31057             Roland McGrath  <roland@hack.frob.com>
31059         * malloc/malloc (malloc_info): Also print mmapped statistics.
31061 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31063         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31064         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31066 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31068         * malloc/malloc.c (malloc_info): Inline mi_arena.
31070 2014-05-29  Richard Henderson  <rth@twiddle.net>
31072         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31073         Remove comma before expanding ASM_ARGS_##nr.
31074         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31075         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31076         of ASM_ARGS_##nr.
31077         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31078         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31079         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31080         (ASM_ARGS_1): Add leading comma.
31082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31083         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31084         to __errno_location.
31085         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31086         Remove the expected plt for __errno_location.
31088         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31089         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31090         call to __read_tp.
31092         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31093         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31094         it and break it down.
31095         (DOCARGS_0, DOCARGS_1): Do nothing.
31096         (DOCARGS_2): Update to store into the new stack frame.
31097         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31098         (UNDOCARGS_1): Update to restore from the new stack frame.
31099         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31100         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31103         (SINGLE_THREAD_P): New parameter for result regno.
31104         (PSEUDO): Update to match; use cbz instead of beq.
31106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31107         Use ENTRY to define the _nocancel entry point.  Share the syscall
31108         and syscall error check paths with the cancel path.
31109         (PSEUDO_END): New.
31111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31112         whitespace; tabs before and after asm mnemonics.
31114 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31116         [BZ #15132]
31117         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31118         Call fstat64 or stat64 internally, depending on arguments passed.
31119         Replace stat buffer argument with file descriptor argument.
31120         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31121         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31122         Pass fd to __internal_statvfs instead of calling fstat64.
31123         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31124         Pass fd to __internal_statvfs64 instead of calling fstat64.
31125         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31126         Pass -1 to __internal_statvfs instead of calling stat64.
31127         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31128         Pass -1 to __internal_statvfs64 instead of calling stat64.
31130 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31132         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31133         that was previously under [RESET_PID].
31134         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31136         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31137         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31139 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31141         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31143         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31144         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31146 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31148         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31150 2014-05-27  Andreas Schwab  <schwab@suse.de>
31152         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31153         TLS_INIT_TP macro.
31154         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31155         * elf/rtld.c (init_tls, dl_main): Likewise.
31156         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31157         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31158         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31159         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31160         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31161         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31162         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31163         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31164         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31165         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31166         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31167         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31168         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31169         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31170         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31171         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31172         * sysdeps/generic/tls.h: Update description.
31174 2014-05-27  Will Newton  <will.newton@linaro.org>
31176         [BZ #16990]
31177         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31178         and restore r2 rather than just restoring.
31180 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31182         [BZ #16724]
31183         * libio/tst-ftell-append.c: New test case.
31184         * libio/Makefile (tests): Add test case.
31185         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31186         append mode.
31187         * libio/wfileops.c (do_ftell_wide): Likewise.
31189 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31193         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31194         ...
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31197         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31198         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31199         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31200         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31201         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31202         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31204         Moved ...
31205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31207         Moved ...
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31209         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31210         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31211         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31212         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31213         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31214         ...
31215         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31216         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31217         Moved ...
31218         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31219         here.
31220         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31221         ...
31222         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31223         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31224         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31226         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31227         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31229         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31232         merge into ...
31233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31235         ...
31236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31238         ...
31239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31241         Moved ...
31242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31243         here.
31244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31245         Moved ...
31246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31248         Moved ...
31249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31252         conditional [RESET_PID].
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31255         removed.
31256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31257         removed.
31259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31260         <tcb-offsets.h>.
31261         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31262         (__libc_vfork): New strong alias.
31263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31264         removed.
31265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31266         Removed.
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31269         <tcb-offsets.h>.
31270         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31271         (__libc_vfork): New strong alias.
31272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31273         removed.
31274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31275         removed.
31277 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31279         * malloc/malloc.c (mi_arena): New function.
31280         (malloc_info): Remove nested function mi_arena. Call non-nosted
31281         function mi_arena.
31283 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31285         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31286         by insrwi.
31287         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31288         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31289         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31290         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31291         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31292         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31295 2014-05-26  Andreas Schwab  <schwab@suse.de>
31297         [BZ #16984]
31298         * locale/programs/repertoire.c (repertoire_read): Add slash
31299         between I18NPATH element and file name.
31300         * locale/programs/locfile.c (locfile_read): Likewise.
31302 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31304         * nptl/pthread_mutexattr_settype.c
31305         (__pthread_mutexattr_settype):
31306         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31308 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31310         * nptl/tst-mutex5 (do_test):
31311         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31313 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31315         * benchtests/README: Document 'init' directive.
31316         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31317         BENCH_INIT.
31318         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31319         (parse_file): Recognize 'init' directive.
31321 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31323         [BZ #16796]
31324         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31325         alignment of struct pthread.
31327 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31329         [BZ #16878]
31330         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31331         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31332         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31333         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31335 2014-05-25  Richard Henderson  <rth@twiddle.net>
31337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31338         (SINGLE_THREAD_P_PIC): Remove.
31339         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31340         (SINGLE_THREAD_P_PIC): Remove.
31342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31343         branch to syscall error ...
31344         (PSEUDO): ... here.
31345         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31346         from __local_syscall_error to .Lsyscall_error.
31347         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31348         (SYSCALL_ERROR): Update label name.
31350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31351         Do not use DOARGS/UNDOARGS.
31352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31353         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31354         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31355         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31356         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31359         block comment.
31361         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31362         define if !NOT_IN_libc.
31363         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31364         define with non-default symbol versions.
31366 2014-05-23  Richard Henderson  <rth@twiddle.net>
31368         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31369         (vfork, __vfork): Define via compat_symbol.
31371         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31372         [!HAVE_IFUNC] (vfork_compat): Remove.
31373         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31375 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31377         [BZ #16978]
31378         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31379         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31380         variable.
31382 2014-05-23  Richard Henderson  <rth@twiddle.net>
31384         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31385         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31386         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31387         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31389         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31390         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31391         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31392         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31393         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31394         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31395         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31396         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31397         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31398         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31399         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31400         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31401         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31402         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31404         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31406         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31407         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31409         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31410         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31412         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31414         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31415         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31416         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31418         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31419         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31420         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31421         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31422         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31424         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31425         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31426         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31427         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31428         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31429         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31430         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31431         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31432         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31433         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31434         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31436         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31438         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31440         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31442         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31444         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31446         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31447         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31448         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31449         before exiting on error.
31450         (__libc_vfork): New strong alias.
31451         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31452         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31454         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31455         that was previously under [RESET_PID].
31456         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31458         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31460 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31462         [BZ #16977]
31463         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31464         value when x - 1 is zero.
31465         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31466         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31467         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31468         0.0L for an argument of 1.0L.
31469         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31470         Likewise.
31471         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31472         value when x - 1 is zero.
31473         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31474         * sysdeps/i386/fpu/libm-test-ulps: Update.
31475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31477 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31479         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31480         alphasort and versionsort.
31482 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31484         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31485         macro.
31486         [copysignf]: Likewise.
31488 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31490         * crypt/md5-crypt.c: Fix formatting.
31492 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31494         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31495         (b64_from_24bit): New function.
31497 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31500         libc_hidden_builtin_def to ifunc.
31501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31502         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31504 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31506         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31507         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31509 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31511         * nscd/Depend (linuxthreads): Remove.
31512         (nptl): Add.
31513         * resolv/Depend (linuxthreads): Remove.
31514         * rt/Depend (linuxthreads): Remove.
31516         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31517         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31518         $(common-objpfx)elf/.
31519         (link-libc-before-gnulib): Likewise.
31520         (elfobjdir): Remove variable.
31521         * Makefile (install): Use $(elf-objpfx) instead of
31522         $(common-objpfx)elf/.
31523         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31524         $(elfobjdir)/.
31525         (link-libc-deps): Likewise.
31526         ($(common-objpfx)libc.so): Likewise.
31527         ($(common-objpfx)linkobj/libc.so): Likewise.
31528         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31529         instead of $(common-objpfx)elf/.
31530         (symbolic-link-list): Likewise.
31531         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31532         [$(cross-compiling) = no]: Likewise.
31533         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31534         $(elfobjdir)/.
31535         (static-gnulib-arch): Likewise.
31536         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31537         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31538         $(common-objpfx)elf/.
31540 2014-05-21  Richard Henderson  <rth@redhat.com>
31542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31543         (SINGLE_THREAD_P): Use the correct width load.  Fold
31544         into the ldr offset.
31546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31547         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31549 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31551         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31552         (libgcc_s_resume): Use __attribute_used__.
31553         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31554         Likewise.
31556 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31558         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31559         optimization when used with float constants.
31561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31563 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31565         [BZ #16915]
31566         * locale/nl_langinfo_l.c: Make direct reference to every
31567         _nl_current_CATEGORY symbol.
31568         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31569         (tests-static): Add tst-langinfo-static.
31570         (tests-special): Add tst-langinfo-static.out.
31571         ($(objpfx)tst-langinfo.out): Redirect output.
31572         ($(objpfx)tst-langinfo-static.out): New.
31573         * localedata/tst-langinfo.sh: Send output to stdout.
31574         * localedata/tst-langinfo-static.c: New file.
31576         [BZ #16965]
31577         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31578         when the shift amount is modulo the limb size.
31580 2014-05-20  Richard Henderson  <rth@redhat.com>
31582         [BZ #16967]
31583         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31584         Change type of sa_flags from unsigned int to int.
31586         [BZ #16966]
31587         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31589         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31591 2014-05-20  Will Newton  <will.newton@linaro.org>
31593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31594         Test the return value of the system call in the nocancel case.
31596 2014-05-20  Will Newton  <will.newton@linaro.org>
31597             Yvan Roux  <yvan.roux@linaro.org>
31599         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31600         #include of asm/ptrace.h.
31601         (PTRACE_GET_THREAD_AREA): Remove #undef.
31602         (PTRACE_GETHBPREGS): Likewise.
31603         (PTRACE_SETHBPREGS): Likewise.
31604         (struct user_regs_struct): New structure.
31605         (struct user_fpsimd_struct): New structure.
31606         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31607         #include of asm/ptrace.h and second #include of sys/user.h.
31608         (PTRACE_GET_THREAD_AREA): Remove #undef.
31609         (PTRACE_GETHBPREGS): Likewise.
31610         (PTRACE_SETHBPREGS): Likewise.
31611         (ELF_NGREG): Use new struct user_regs_struct.
31612         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31614 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31616         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31619 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31621         [BZ #16958]
31622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31623         membar to avoid block loads/stores to overlap previous stores.
31625 2014-05-17  Richard Henderson  <rth@redhat.com>
31627         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31628         Create the __##syscall_name##_nocancel entry point.
31629         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31630         Remove; let the sysdep-cancel.h code create it.
31632 2014-05-17  David S. Miller  <davem@davemloft.net>
31634         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31635         Protect with __USE_GNU.
31636         (TIOCSET_TEMPT): Likewise.
31637         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31638         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31639         these are already provided in bits/ioctl-types.h
31641 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31643         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31644         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31646         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31647         Use wait4 regardless of [__NR_waitpid].
31649 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31651         PR libgcc/60166
31652         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31653         (_FP_NANSIGN_Q): Set the quiet bit.
31655 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31657         * benchtests/Makefile
31658         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31659         not $(common-objpfx)math/libm.so.
31660         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31661         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31662         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31663         $(common-objpfx)dlfcn/libdl.so.
31664         ($(objpfx)tst-audit8): Depend on $(libm), not
31665         $(common-objpfx)math/libm.so.
31666         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31667         not $(common-objpfx)dlfcn/libdl.so.
31668         * math/Makefile
31669         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31670         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31671         [$(build-shared) = yes].
31672         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31673         $(common-objpfx)nptl/libpthread.so.
31674         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31675         $(common-objpfx)math/libm.so$(libm.so-version) or
31676         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31677         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31678         $(common-objpfx)dlfcn/libdl.so.
31679         * setjmp/Makefile (link-libm): Remove variable.
31680         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31681         * stdio-common/Makefile (link-libm): Remove variable.
31682         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31683         * stdlib/Makefile (link-libm): Remove variable.
31684         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31685         ($(objpfx)tst-strtod-round): Likewise.
31686         ($(objpfx)tst-tininess): Likewise.
31687         ($(objpfx)tst-strtod-underflow): Likewise.
31688         ($(objpfx)tst-strtod6): Likewise.
31689         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31690         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31691         $(common-objpfx)dlfcn/libdl.so.
31693 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31696         BSD terminal modes definitions.
31698 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31700         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31701         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31703         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31704         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31705         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31706         Don't do #include_next.
31707         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31708         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31709         Don't do #include_next.
31710         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31711         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31712         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31713         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31715 2014-05-16  Allan McRae  <allan@archlinux.org>
31717         * po/sv.po: Update Swedish translation from translation project.
31719         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31720         in sed expression.
31722 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31724         [BZ #16917]
31725         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31726         errno if the TIOCGPTN ioctl fails with an error different than
31727         EINVAL.
31728         * login/tst-ptsname.c: New file.
31729         * login/Makefile (tests): Add tst-ptsname.
31731         [BZ #16943]
31732         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31733         and prlimit64.
31735 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31737         [BZ #16849]
31738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31739         herrno to return EAI_AGAIN.
31741 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31743         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31744         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31745         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31752         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31753         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31754         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31756         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31757         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31758         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31760         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31761         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31762         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31763         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31764         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31766         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31772         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31774         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31778         Moved ...
31779         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31781         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31783         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31785         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31787         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31789         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31791         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31793         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31795         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31797         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31799         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31801         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31803         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31805         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31807         Moved ...
31808         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31810         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31812         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31814         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31816         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31818         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31822         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31828         Moved ...
31829         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31833         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31834         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31835         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31836         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31837         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31838         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31839         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31840         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31841         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31842         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31843         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31844         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31845         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31846         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31847         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31848         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31849         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31850         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31851         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31852         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31853         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31854         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31855         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31856         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31857         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31858         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31859         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31860         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31861         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31862         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31863         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31865         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31866         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31868         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31869         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31870         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31871         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31872         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31877         Moved ...
31878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31880         Moved ...
31881         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31883         Moved ...
31884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31885         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31886         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31888         Moved ...
31889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31891         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31894         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31895         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31897         Moved ...
31898         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31900         Moved ...
31901         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31902         ... here.
31903         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31904         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31905         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31906         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31908         Moved ...
31909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31910         ... here.
31911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31912         Moved ...
31913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31914         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31915         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31916         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31917         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31922         Moved ...
31923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31925         Moved ...
31926         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31928         Moved ...
31929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31931         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31933         Moved ...
31934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31935         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31936         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31938         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31939         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31940         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31942         Moved ...
31943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31945         Moved ...
31946         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31947         ... here.
31948         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31949         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31951         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31955         ... here.
31956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31957         Moved ...
31958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31959         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31960         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31962         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31965         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31966         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31971         Moved ...
31972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31974         Moved ...
31975         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31976         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31977         Moved ...
31978         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31979         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31980         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31981         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31982         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31984         Moved ...
31985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31986         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31987         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31990         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31991         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31993         Moved ...
31994         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31996         Moved ...
31997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31998         ... here.
31999         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32000         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32002         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32004         Moved ...
32005         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32006         ... here.
32007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32008         Moved ...
32009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32010         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32011         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32012         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32013         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32014         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32015         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32016         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32017         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32018         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32019         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32021         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32022         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32024         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32025         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32027         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32028         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32029         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32030         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32031         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32032         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32033         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32035         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32037         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32038         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32041         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32043         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32045         Moved ...
32046         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32048         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32050         Moved ...
32051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32055         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32059         Moved ...
32060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32062         Moved ...
32063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32069         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32070         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32071         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32072         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32073         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32074         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32075         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32076         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32077         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32078         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32079         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32082         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32083         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32084         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32085         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32087         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32088         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32090         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32091         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32092         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32093         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32094         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32095         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32096         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32101         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32102         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32103         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32104         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32105         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32106         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32107         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32108         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32109         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32110         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32111         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32112         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32113         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32114         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32116         Update #include.
32117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32118         Likewise.
32119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32120         Likewise.
32121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32122         Likewise.
32123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32124         Likewise.
32125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32126         Likewise.
32127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32128         Likewise.
32129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32130         Likewise.
32131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32132         Likewise.
32133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32134         Likewise.
32135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32144         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32148         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32151         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32152         that was previously under [RESET_PID].
32153         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32154         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32155         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32157         * sysdeps/i386/nptl/Implies: New file.
32158         * sysdeps/x86_64/nptl/Implies: New file.
32159         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32160         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32161         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32162         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32164         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32165         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32166         (__libc_vfork): New strong alias.
32167         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32168         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32170         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32172         (__libc_vfork): New strong alias.
32173         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32174         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32176         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32177         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32178         (__libc_vfork): New strong alias.
32179         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32180         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32181         * nptl/pt-vfork.c: New file.
32182         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32183         (libpthread: GLIBC_2.20): New version set (empty).
32185 2014-05-14  Will Newton  <will.newton@linaro.org>
32187         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32188         rather than #if.
32190 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32192         [BZ #16564]
32193         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32194         arguments with exponent 65 or above.
32195         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32196         arguments 0x1p113L or above.
32197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32198         to arguments 0x1p107L or above.
32199         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32200         positive arguments with exponent 65 or above.
32201         * math/auto-libm-test-in: Add more tests of log1p.
32202         * math/auto-libm-test-out: Regenerated.
32204         [BZ #16928]
32205         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32206         non-finite arguments is +0.
32207         * math/s_cacosf.c (__cacosf): Likewise.
32208         * math/s_cacosl.c (__cacosl): Likewise.
32209         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32210         * sysdeps/i386/fpu/libm-test-ulps: Update.
32211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32213         [BZ #16927]
32214         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32215         value.
32216         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32217         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32218         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32219         for explicit high bit of mantissa when testing for argument equal
32220         to 1.
32221         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32222         * sysdeps/i386/fpu/libm-test-ulps: Update.
32223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32225         [BZ #16516]
32226         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32227         (__erf): Scale by 16 instead of 8 in potentially underflowing
32228         case.  Ensure exception if result actually underflows.
32229         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32230         (__erff): Scale by 16 instead of 8 in potentially underflowing
32231         case.  Ensure exception if result actually underflows.
32232         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32233         (efx8): Remove variable.
32234         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32235         case.  Ensure exception if result actually underflows.
32236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32237         (efx8): Remove variable.
32238         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32239         case.  Ensure exception if result actually underflows.
32240         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32241         (efx8): Remove variable.
32242         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32243         case.  Ensure exception if result actually underflows.
32244         * math/auto-libm-test-in: Add more tests of erf.
32245         * math/auto-libm-test-out: Regenerated.
32247 2014-05-14  Andreas Schwab  <schwab@suse.de>
32249         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32250         Remove code conditionalized on USE___THREAD.
32252         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32253         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32254         not definedness.
32256 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32258         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32259         Define unconditionally.
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/aarch64/kernel-features.h
32268         (__ASSUME_DUP3): Do not define.
32269         (__ASSUME_EVENTFD2): Likewise.
32270         (__ASSUME_IN_NONBLOCK): Likewise.
32271         (__ASSUME_O_CLOEXEC): Likewise.
32272         (__ASSUME_PIPE2): Likewise.
32273         (__ASSUME_SIGNALFD4): Likewise.
32274         (__ASSUME_SOCK_CLOEXEC): Likewise.
32275         (__ASSUME_UTIMES): Undefine.
32276         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32277         (__ASSUME_UTIMES): Do not define.
32278         (__ASSUME_O_CLOEXEC): Likewise.
32279         (__ASSUME_SOCK_CLOEXEC): Likewise.
32280         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32281         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32282         0x020621].
32283         (__ASSUME_PIPE2): Likewise.
32284         (__ASSUME_EVENTFD2): Likewise.
32285         (__ASSUME_SIGNALFD4): Likewise.
32286         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32287         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32288         Do not define.
32289         (__ASSUME_EVENTFD2): Likewise.
32290         (__ASSUME_SIGNALFD4): Likewise.
32291         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32292         (__ASSUME_32BITUIDS): Likewise.
32293         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32294         (__ASSUME_IPC64): Likewise.
32295         (__ASSUME_ST_INO_64_BIT): Likewise.
32296         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32297         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32298         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32299         (__ASSUME_UTIMES): Do not define.
32300         (__ASSUME_PSELECT): Likewise.
32301         (__ASSUME_PPOLL): Likewise.
32302         (__ASSUME_O_CLOEXEC): Likewise.
32303         (__ASSUME_SOCK_CLOEXEC): Likewise.
32304         (__ASSUME_IN_NONBLOCK): Likewise.
32305         (__ASSUME_PIPE2): Likewise.
32306         (__ASSUME_EVENTFD2): Likewise.
32307         (__ASSUME_SIGNALFD4): Likewise.
32308         (__ASSUME_DUP3): Likewise.
32309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32310         (__ASSUME_UTIMES): Likewise.
32311         (__ASSUME_O_CLOEXEC): Likewise.
32312         (__ASSUME_SOCK_CLOEXEC): Likewise.
32313         (__ASSUME_IN_NONBLOCK): Likewise.
32314         (__ASSUME_PIPE2): Likewise.
32315         (__ASSUME_EVENTFD2): Likewise.
32316         (__ASSUME_SIGNALFD4): Likewise.
32317         (__ASSUME_DUP3): Likewise.
32318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32319         (__ASSUME_UTIMES): Likewise.
32320         (__ASSUME_O_CLOEXEC): Likewise.
32321         (__ASSUME_SOCK_CLOEXEC): Likewise.
32322         (__ASSUME_IN_NONBLOCK): Likewise.
32323         (__ASSUME_PIPE2): Likewise.
32324         (__ASSUME_EVENTFD2): Likewise.
32325         (__ASSUME_SIGNALFD4): Likewise.
32326         (__ASSUME_DUP3): Likewise.
32327         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32328         Likewise.
32329         (__ASSUME_UTIMES): Likewise.
32330         (__ASSUME_EVENTFD2): Likewise.
32331         (__ASSUME_SIGNALFD4): Likewise.
32332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32333         (__ASSUME_O_CLOEXEC): Likewise.
32334         (__ASSUME_SOCK_CLOEXEC): Likewise.
32335         (__ASSUME_IN_NONBLOCK): Likewise.
32336         (__ASSUME_PIPE2): Likewise.
32337         (__ASSUME_EVENTFD2): Likewise.
32338         (__ASSUME_SIGNALFD4): Likewise.
32339         (__ASSUME_DUP3): Likewise.
32340         (__ASSUME_UTIMES): Undefine.
32342         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32343         feclearexcept.  Remove symbol versioning code.
32344         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32345         symbol versioning code.
32346         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32347         symbol versioning code.
32348         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32349         feupdateenv.  Remove symbol versioning code.
32350         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32351         fegetexceptflag.  Remove symbol versioning code.
32352         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32353         fesetexceptflag.  Remove symbol versioning code.
32354         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32355         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32356         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32357         (__posix_fadvise64_l32): Remove prototype.
32358         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32359         code.
32361 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32363         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32364         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32365         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32366         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32368 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32370         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32371         current working directory
32373 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32375         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32376         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32377         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32378         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32379         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32380         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32381         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32382         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32384         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32385         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32388         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32389         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32390         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32391         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32392         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32393         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32394         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32395         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32396         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32398         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32399         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32400         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32401         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32402         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32408         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32409         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32410         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32411         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32412         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32413         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32414         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32415         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32416         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32418         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32419         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32421         * sysdeps/unix/sysv/linux/arm/Makefile
32422         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32423         Add rt-aeabi_unwind_cpp_pr1.
32424         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32425         Add nptl-aeabi_unwind_cpp_pr1.
32426         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32427         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32428         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32429         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32430         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32431         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32433         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32434         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32435         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32436         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32438         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32439         Deconditionalize the code that was previously under [RESET_PID].
32440         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32442         * sysdeps/generic/exit-thread.h: New file.
32443         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32444         * include/unistd.h (__exit_thread): Remove declaration.
32445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32446         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32447         * csu/libc-start.c: Include <exit-thread.h>.
32448         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32449         * nptl/pthread_create.c: Include <exit-thread.h>.
32450         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32451         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32452         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32453         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32454         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32455         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32456         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32457         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32458         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32459         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32460         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32461         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32462         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32463         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32464         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32465         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32466         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32468 2014-05-13  Andreas Schwab  <schwab@suse.de>
32470         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32472 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32474         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32475         (__ASSUME_UTIMES): Do not condition on kernel version.
32476         (__ASSUME_PSELECT): Define unconditionally.
32477         (__ASSUME_PPOLL): Likewise.
32478         (__ASSUME_ATFCTS): Likewise.
32479         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32480         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32481         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32482         (__ASSUME_UTIMENSAT): Define unconditionally.
32483         (__ASSUME_PRIVATE_FUTEX): Likewise.
32484         (__ASSUME_FALLOCATE): Likewise.
32485         (__ASSUME_O_CLOEXEC): Likewise.
32486         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32487         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32488         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32489         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32490         (__ASSUME_IN_NONBLOCK): Likewise.
32491         (__ASSUME_PIPE2): Likewise.
32492         (__ASSUME_EVENTFD2): Likewise.
32493         (__ASSUME_SIGNALFD4): Likewise.
32494         (__ASSUME_DUP3): Likewise.
32495         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32496         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32497         (__ASSUME_AT_RANDOM): Likewise.
32498         (__ASSUME_PREADV): Likewise.
32499         (__ASSUME_PWRITEV): Likewise.
32500         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32501         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32502         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32503         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32504         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32506         (__ASSUME_O_CLOEXEC): Define unconditionally.
32507         (__ASSUME_PSELECT): Do not undefine conditionally.
32508         (__ASSUME_PPOLL): Likewise.
32509         (__ASSUME_ATFCTS): Likewise.
32510         (__ASSUME_SET_ROBUST_LIST): Likewise.
32511         (__ASSUME_UTIMENSAT): Likewise.
32512         (__ASSUME_FDATASYNC): Define unconditionally.
32513         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32514         (__ASSUME_SIGFRAME_V2): Likewise.
32515         )__ASSUME_EVENTFD2): Likewise.
32516         (__ASSUME_SIGNALFD4): Likewise.
32517         (__ASSUME_PSELECT): Do not undefine conditionally.
32518         (__ASSUME_PPOLL): Likewise.
32519         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32520         (__ASSUME_PSELECT): Define unconditionally.
32521         (__ASSUME_PPOLL): Likewise.
32522         (__ASSUME_O_CLOEXEC): Likewise.
32523         (__ASSUME_SOCK_CLOEXEC): Likewise.
32524         (__ASSUME_IN_NONBLOCK): Likewise.
32525         (__ASSUME_PIPE2): Likewise.
32526         (__ASSUME_EVENTFD2): Likewise.
32527         (__ASSUME_SIGNALFD4): Likewise.
32528         (__ASSUME_DUP3): Likewise.
32529         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32530         (__ASSUME_O_CLOEXEC): Likewise.
32531         (__ASSUME_SOCK_CLOEXEC): Likewise.
32532         (__ASSUME_IN_NONBLOCK): Likewise.
32533         (__ASSUME_PIPE2): Likewise.
32534         (__ASSUME_EVENTFD2): Likewise.
32535         (__ASSUME_SIGNALFD4): Likewise.
32536         (__ASSUME_DUP3): Likewise.
32537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32538         (__ASSUME_EVENTFD2): Likewise.
32539         (__ASSUME_SIGNALFD4): Likewise.
32540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32542 2014-05-12  Andreas Schwab  <schwab@suse.de>
32544         [BZ #16932]
32545         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32546         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32547         than maximum RPC packet size.
32548         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32549         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32550         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32551         (_nss_nis_getservbyport_r): Likewise.
32553 2014-05-12  Will Newton  <will.newton@linaro.org>
32555         * malloc/Makefile (tests): Add tst-mallopt.
32556         * malloc/tst-mallopt.c: New file.
32558 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32560         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32561         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32563 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32565         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32566         (tst-tlsmod6.so): Likewise.
32568 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32570         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32572 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32574         [BZ #16064]
32575         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32576         and <dl-procinfo.h>.
32577         (__fegetenv): Save SSE state in envp->__eip if supported.
32578         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32579         envp->__eip if supported.
32580         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32581         and <dl-procinfo.h>.
32582         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32583         __data_offset and __data_selector in environment to 0.  Set SSE
32584         state if supported.
32585         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32586         test-fenv-sse.
32587         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32588         -mfpmath=sse.
32589         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32591 2014-05-09  Will Newton  <will.newton@linaro.org>
32593         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32594         and libc_relro_required for ARM.
32595         * sysdeps/arm/preconfigure: Regenerate.
32597 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32598             Stefan Liebler  <stli@linux.vnet.ibm.com>
32600         * config.make.in (enable-lock-elision): New Makefile variable.
32601         * configure.ac: Likewise.
32602         * configure: Regenerate.
32603         * sysdeps/s390/configure.ac:
32604         Add check for gcc transactions support.
32605         * sysdeps/s390/configure: Regenerate.
32606         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32607         Build elision files if enabled.
32608         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32609         Add lock elision support for s390.
32610         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32611         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32612         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32613         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32614         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32615         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32617         Likewise.
32618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32619         Likewise.
32620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32621         Likewise.
32622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32623         Likewise.
32624         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32625         (__lll_timedlock_elision, __lll_lock_elision)
32626         (__lll_unlock_elision, __lll_trylock_elision)
32627         (lll_timedlock_elision, lll_lock_elision)
32628         (lll_unlock_elision, lll_trylock_elision): Add.
32629         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32630         (pthread_mutex_t): Add lock elision support for s390.
32632 2014-05-14  Wilco  <wdijkstr@arm.com>
32634         * sysdeps/arm/fclrexcpt.c: Cleanup.
32635         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32636         * sysdeps/arm/feenablxcpt.c: Cleanup.
32637         * sysdeps/arm/fegetenv.c: Cleanup.
32638         * sysdeps/arm/fegetexcept.c: Cleanup.
32639         * sysdeps/arm/fegetround.c: Cleanup.
32640         * sysdeps/arm/feholdexcpt.c: Cleanup.
32641         * sysdeps/arm/fesetenv.c: Cleanup.
32642         * sysdeps/arm/fesetround.c: Cleanup.
32643         * sysdeps/arm/feupdateenv.c: Cleanup.
32644         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32645         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32646         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32647         * sysdeps/arm/ftestexcept.c: Cleanup.
32648         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32649         * sysdeps/arm/setfpucw.c: Cleanup.
32651 2014-05-09  Will Newton  <will.newton@linaro.org>
32653         * sysdeps/arm/armv7/strcmp.S: New file.
32654         * NEWS: Mention addition of ARMv7 optimized strcmp.
32656 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32658         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32659         look for %.ac rather than %.in.
32661         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32662         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32663         * sysdeps/mach/hurd/configure: Regenerated.
32664         * sysdeps/unix/sysv/linux/configure: Regenerated.
32666         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32668 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32670         [BZ# 16922]
32671         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32672         (LONG_SUB): Ditto.
32673         (PTR_SUB): Ditto.
32675 2014-05-07  Andreas Schwab  <schwab@suse.de>
32677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32678         when skipping over non-matching result from nscd.
32680 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32682         [BZ #16876]
32683         * nptl/sockperf.c (client): Check socket return value.
32685         [BZ #16877]
32686         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32687         nscd security class.
32689 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32691         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32692         * sysdeps/arm/unwind.h: ... here.
32694 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32696         [BZ# 16916]
32697         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32698         Define.
32700 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32702         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32703         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32704         multiarch strncpy for PPC64.
32705         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32706         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32708         multiarch optimizations.
32709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32710         (__libc_ifunc_impl_list): Likewise.
32711         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32712         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32713         multiarch stpncpy for PPC64.
32714         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32715         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32717 2014-05-06  Andreas Schwab  <schwab@suse.de>
32719         [BZ #16912]
32720         * gmon/mcount.c (_MCOUNT_DECL): Use
32721         atomic_compare_and_exchange_bool_acq instead of
32722         catomic_compare_and_exchange_bool_acq.
32724 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32726         * elf/Makefile (others, install-bin): Remove pldd.
32727         (pldd-modules): Variable removed.
32728         ($(objpfx)pldd): Target removed.
32729         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32730         (others, install-bin): Append pldd here.
32731         ($(objpfx)pldd): New target.
32733         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32734         to 0, so the first #if test emitted later doesn't see it undefined.
32735         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32736         * sysdeps/gnu/errlist.c: Regenerated.
32738 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32741         [libc_hidden_builtin_def]: Define to empty value.
32742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32743         [libc_hidden_builtin_def]: Likewise.
32744         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32745         [libc_hidden_builtin_def]: Likewise.
32746         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32747         [libc_hidden_builtin_def]: Likewise.
32748         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32749         __redirect_memcpy and define ifunc as default hidden symbol.
32750         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32751         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32753 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32755         * locale/iso-4217.def: Reintroduce XDR currency.
32757 2014-05-04  Allan McRae  <allan@archlinux.org>
32759         * po/eo.po: Update Esperanto translation from translation project.
32761 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32763         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32764         and FEATURE_INDEX_MAX to 1.
32765         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32767 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32769         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32770         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32771         * iconvdata/big5.c (ONE_DIRECTION): Define.
32772         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32773         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32774         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32775         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32776         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32777         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32778         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32779         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32780         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32781         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32782         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32783         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32784         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32785         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32786         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32787         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32788         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32789         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32790         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32791         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32792         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32793         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32794         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32795         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32796         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32797         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32798         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32799         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32800         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32801         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32802         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32803         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32804         * iconvdata/johab.c (ONE_DIRECTION): Define.
32805         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32806         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32807         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32808         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32809         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32810         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32811         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32812         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32813         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32814         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32816 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32818         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32819         (_IO_JUMPS_OFFSET): Define to 0.
32821         * nptl/sysdeps/pthread/bits/libc-lock.h
32822         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32823         (__libc_lock_define_initialized_recursive): Always define using
32824         initializer.  Modern compilers treat uninitialized (implicit zero) and
32825         explicit zero initializers the same (i.e. put the datum in bss).
32827 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32829         * nscd/nscd-client.h: Include <string.h>.
32831 2014-05-01  David S. Miller  <davem@davemloft.net>
32833         [BZ #16885]
32834         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32835         multiple zero bytes exist at the end of a string.
32836         Reported by Aurelien Jarno <aurelien@aurel32.net>
32838         * string/test-strcmp.c (check): Add explicit test for situations where
32839         there are multiple zero bytes after the first.
32841 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32843         [BZ #16890]
32844         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32845         when compiling wprintf.
32846         * stdio-common/tstdiomisc.c (t3): New function.
32847         (main): Call it.
32849 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32851         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32852         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32853         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32854         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32856 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32858         * stdlib/longlong.h: Updated from GCC.
32860 2014-05-01  Will Newton  <will.newton@linaro.org>
32861             Bernard Ogden  <bernie.ogden@linaro.org>
32863         * NEWS: Update fixed bug list.
32865         [BZ #15119]
32866         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32868 2014-04-30  David S. Miller  <davem@davemloft.net>
32870         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32871         (libc_feholdexcept_setround_sparc_ctx): New function.
32872         (libc_fesetenv_sparc_ctx): Likewise.
32873         (libc_feupdateenv_sparc_ctx): Likewise.
32874         (libc_feholdsetround_sparc_ctx): Likewise.
32875         (libc_feholdexcept_setround_ctx): Define.
32876         (libc_feholdexcept_setroundf_ctx): Likewise.
32877         (libc_feholdexcept_setroundl_ctx): Likewise.
32878         (libc_fesetenv_ctx): Likewise.
32879         (libc_fesetenvf_ctx): Likewise.
32880         (libc_fesetenvl_ctx): Likewise.
32881         (libc_feupdateenv_ctx): Likewise.
32882         (libc_feupdateenvf_ctx): Likewise.
32883         (libc_feupdateenvl_ctx): Likewise.
32884         (libc_feresetround_ctx): Likewise.
32885         (libc_feresetroundf_ctx): Likewise.
32886         (libc_feresetroundl_ctx): Likewise.
32887         (libc_feholdsetround_ctx): Likewise.
32888         (libc_feholdsetroundf_ctx): Likewise.
32889         (libc_feholdsetroundl_ctx): Likewise.
32891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32892         with __USE_GNU instead of XOPEN cpp guards.
32894         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32895         0.
32897         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32898         with XOPEN cpp guards.
32900 2014-04-30  Julian Brown  <julian@codesourcery.com>
32902         [BZ #16888]
32903         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32904         handling.
32906 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32908         [BZ #9894]
32909         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32910         Change to 2.6.32.
32911         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32912         * sysdeps/unix/sysv/linux/configure: Regenerated.
32913         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32914         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32915         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32916         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32917         * README: Update reference to required Linux kernel version.
32918         * manual/install.texi (Linux): Update reference to required Linux
32919         kernel headers version.
32920         * INSTALL: Regenerated.
32922         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32923         header inclusion.
32924         [POSIX] (limits.h): Likewise.
32925         [POSIX] (math.h): Likewise.
32926         [POSIX] (sys/wait.h): Likewise.
32927         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32928         function.
32929         [POSIX] (stddef.h): Do not allow header inclusion.
32931 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32933         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32935 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32937         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32938         Return immediately after lll_futex_wake.
32940 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32942         [BZ #16791]
32943         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32944         structure.
32945         (datahead_init_pos): Call datahead_init_common early.
32946         (datahead_init_neg): Likewise.
32948         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32949         datahead_init_neg): New functions.
32950         * nscd/aicache.c (addhstaiX): Use them.
32951         * nscd/grpcache.c (cache_addgr): Likewise.
32952         * nscd/hstcache.c (cache_addhst): Likewise.
32953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32954         * nscd/netgroupcache.c (do_notfound): Likewise.
32955         (addgetnetgrentX): Likewise.
32956         (addinnetgrX): Likewise.
32957         * nscd/pwdcache.c (cache_addpw): Likewise.
32958         * nscd/servicescache.c (cache_addserv): Likewise.
32960 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32961             Atsushi Onoe  <atsushi@onoe.org>
32963         [BZ #14308]
32964         [BZ #12994]
32965         [BZ #13651]
32966         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32967         one response is valid.
32968         * resolv/res_send.c (send_dg): Check for validity of other
32969         response if the current response is a referral.
32971 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32973         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32975 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32977         [BZ #16823]
32978         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32979         Always divide by positive zero when computing -Inf result.
32980         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32981         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32983 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32985         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32986         FPSCR if value do not change.
32987         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32988         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32989         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32990         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32991         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32992         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32993         function.
32995 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32997         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32998         * sysdeps/unix/sysv/linux/hppa: Move directory from
32999         ports/systeps/unix/sysv/linux/hppa.
33000         * README: Update listing for hppa-*-linux-gnu.
33002 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33004         [BZ #16754]
33005         * manual/stdio.texi (Hook functions): Fix types of stream hook
33006         functions.
33007         [BZ #16854]
33008         * socket/sys/socket.h: Fix typo in comment.
33010 2014-04-28  Wilco  <wdijkstr@arm.com>
33012         * sysdeps/arm/fenv_private.h: New file.
33013         * sysdeps/arm/math_private.h: New file.
33014         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33016 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33018         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33019         with __int128_t.
33020         (La_x86_64_retval): Likewise.
33022 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33024         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33025         fpsr if value didn't change.
33026         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33027         to fpcr if value didn't change.
33028         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33029         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33030         fpsr or fpcr if value didn't change.
33031         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33032         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33033         fpcr if value didn't change.
33034         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33035         to fpsr if value didn't change.
33037 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33039         * nptl/tst-sem3.c: Use test-skeleton.c
33040         (main): Rename to do_test.  Use return instead of
33041         exit.
33042         * nptl/tst-sem4.c: Use test-skeleton.c
33043         (main): Rename to do_test.
33045 2014-04-22  David S. Miller  <davem@davemloft.net>
33047         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33048         (struct sigaction): New struct member __glibc_reserved0, change
33049         type of sa_flags to int.
33051 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33053         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33054         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33056 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33058         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33059         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33061 2014-04-22  Will Newton  <will.newton@linaro.org>
33062             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33064         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33065         (__longjmp): Add longjmp and longjmp_target SystemTap
33066         probes.
33067         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33068         (__sigsetjmp): Add setjmp SystemTap probe.
33070 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33072         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33073         match manual order.
33075 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33077         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33079         * sysdeps/powerpc/fpu/fenv_private.h
33080         (libc_feholdexcept_setroundl_ctx): Define to
33081         libc_feholdexcept_setround_ppc_ctx.
33082         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33083         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33084         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33085         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33087 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33089         * sysdeps/aarch64/math-tests.h: New file.
33091 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33093         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33094         New.
33095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33096         Check and set bit_AVX2_Usable.
33097         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33098         macro.
33099         (bit_AVX2): Likewise.
33100         (index_AVX2_Usable): Likewise.
33101         (CPUID_AVX2): Likewise.
33102         (HAS_AVX2): Likewise.
33104 2014-04-17  Will Newton  <will.newton@linaro.org>
33106         * manual/setjmp.texi (System V contexts): Add note that
33107         calling setcontext on a context created by a call to a
33108         signal handler is undefined.  Update text to note that
33109         setcontext from a signal handler is possible but not
33110         recommended.
33112         [BZ #16629]
33113         * stdlib/tst-setcontext.c: Include signal.h.
33114         (main): Check that the signal stack before and
33115         after swapcontext is the same.
33117         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33118         Re-implement to restore registers in user code and avoid
33119         rt_sigreturn system call.
33121 2014-04-17  Wilco  <wdijkstr@arm.com>
33123         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33124         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33125         * math/test-fenv.c: Skip exception trap tests on targets which only
33126         support non-stop mode.
33128 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33129             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33131         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33132         (libc_feholdsetround_aarch64_ctx)
33133         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33134         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33135         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33136         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33137         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33138         (libc_feresetround_noexl_ctx): Define.
33140 2014-04-16  Richard Henderson  <rth@redhat.com>
33142         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33144         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33145         unwind tables.
33147         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33148         const from the non-libc, non-ldso copy.
33150         * sysdeps/alpha/libm-test-ulps: Regenerate.
33152 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33153             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33155         * sysdeps/aarch64/fpu/math_private.h: New file.
33157 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33159         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33161 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33163         [BZ #16275]
33164         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33165         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33167         Intel MPX bound registers before _dl_profile_fixup.
33168         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33169         registers after _dl_profile_fixup.  Save and restore bound
33170         registers bnd0/bnd1 when calling _dl_call_pltexit.
33171         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33172         (LR_BND_OFFSET): Likewise.
33173         (LRV_BND0_OFFSET): Likewise.
33174         (LRV_BND1_OFFSET): Likewise.
33176 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33178         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33179         to...
33180         * sysdeps/mach/hurd/i386/tls.h: ... here.
33181         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33182         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33183         fields.
33185 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33187         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33189 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33193 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33195         [BZ #14770]
33196         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33197         * sysdeps/s390/configure: Regenerate.
33199         [BZ #16824]
33200         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33201         Set round-to-nearest internally to reduce error accumulation.
33203 2014-04-16  Alan Modra  <amodra@gmail.com>
33205         [BZ #16740]
33206         [BZ #16619]
33207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33208         * math/libm-test.inc (frexp_test_data): Add tests.
33209         * NEWS: Update fixed bug list.
33211 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33213         * benchtests/Makefile: Depend on libraries in build directory.
33214         (bench-math): Separate out math tests.
33215         (bench-pthread): Separate out pthread tests.
33216         (bench): Include math and pthread tests.
33218 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33220         [BZ #16831]
33221         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33222         _dl_debug_initialize.
33224         * configure.ac: Remove SELinux header check.
33225         * configure: Regenerate.
33226         * nscd/selinux.c (perms): Array of const char* to permission names.
33227         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33228         default policy. Call string_to_security_class and string_to_av_perm to
33229         translate strings. Enforce default policy and call avs_has_perm with
33230         results of translated strings.
33232 2014-04-13  David S. Miller  <davem@davemloft.net>
33234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33236 2014-04-12  Allan McRae  <allan@archlinux.org>
33238         [BZ #16838]
33239         * manual/string.texi (Collation Functions): Fix qsort argument
33240         order in example.
33241         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33243 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33245         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33246         Make the test a no-op if there are no exceptions defined.
33248 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33250         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33251         enable-hardcoded-path-in-tests
33253 2014-04-11  Will Newton  <will.newton@linaro.org>
33255         * benchtests/Makefile (extra-objs): Add json-lib.o.
33256         (bench-func): Tidy up JSON output.
33257         * benchtests/bench-skeleton.c: Include json-lib.h.
33258         (main): Use JSON library functions to do output of
33259         benchmark results.
33260         * benchtests/bench-timing-type.c (main): Output the
33261         timing type simply, leaving formatting to the user.
33262         * benchtests/json-lib.c: New file.
33263         * benchtests/json-lib.h: Likewise.
33265 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33267         [BZ #15215]
33268         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33269         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33270         memory barriers.  Add comments.
33271         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33272         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33273         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33274         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33275         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33276         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33278 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33280         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33281         * sysdeps/s390/s390-64/configure.ac: ... this ...
33282         * sysdeps/s390/configure.ac: ... to here.
33283         * sysdeps/s390/s390-32/configure: Delete file.
33284         * sysdeps/s390/s390-64/configure: Delete file.
33285         * sysdeps/s390/configure: Regenerate.
33287 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33289         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33291 2014-04-11  Will Newton  <will.newton@linaro.org>
33293         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33294         to zero if it is not defined elsewhere.  (mtrim): Test
33295         the value of MALLOC_DEBUG with #if rather than #ifdef.
33297 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33299         * benchtests/pthread_once-inputs: New file.
33300         * benchtests/pthread_once-source.c: New file.
33301         * benchtests/README: Update documentation.
33303 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33304             H.J. Lu  <hongjiu.lu@intel.com>
33306         [BZ #16275]
33307         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33308         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33309         * sysdeps/x86_64/configure: Regenerated.
33310         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33311         macro.
33312         (REGISTER_SAVE_RAX): Likewise.
33313         (REGISTER_SAVE_RCX): Likewise.
33314         (REGISTER_SAVE_RDX): Likewise.
33315         (REGISTER_SAVE_RSI): Likewise.
33316         (REGISTER_SAVE_RDI): Likewise.
33317         (REGISTER_SAVE_R8): Likewise.
33318         (REGISTER_SAVE_R9): Likewise.
33319         (REGISTER_SAVE_BND0): Likewise.
33320         (REGISTER_SAVE_BND1): Likewise.
33321         (REGISTER_SAVE_BND2): Likewise.
33322         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33323         bound registers when calling _dl_fixup.
33325 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33327         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33328         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33329         of its definition.
33330         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33331         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33332         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33333         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33334         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33335         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33336         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33338 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33340         [BZ #15514]
33341         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33342         pathconf(_PC_NAME_MAX).
33344 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33346         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33347         Remove macro usage.
33348         (__PTHREAD_SPINS): Move definition to ...
33349         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33350         (__PTHREAD_SPINS): ... here.
33351         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33352         (__PTHREAD_SPIN): Likewise.
33353         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33354         (__PTHREAD_SPIN): Likewise.
33355         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33356         (__PTHREAD_SPIN): Likewise.
33357         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33358         (__PTHREAD_SPIN): Likewise.
33359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33360         (__PTHREAD_SPIN): Likewise.
33361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33362         (__PTHREAD_SPIN): Likewise.
33363         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33364         (__PTHREAD_SPIN): Likewise.
33365         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33366         (__PTHREAD_SPIN): Likewise.
33367         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33368         (__PTHREAD_SPIN): Likewise.
33369         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33370         (__PTHREAD_SPIN): Likewise.
33371         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33372         (__PTHREAD_SPIN): Likewise.
33373         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33374         (__PTHREAD_SPIN): Likewise.
33376         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33377         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33378         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33379         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33380         imply folder.
33381         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33382         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33383         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33384         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33385         correct imply path.
33386         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33387         strlen symbol for non multi-arch builds.
33388         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33389         missing hidden_def and weak_alias.
33391 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33393         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33395 2014-04-07  Will Newton  <will.newton@linaro.org>
33397         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33398         and contents.  [!_LIBC] Remove #ifndef and contents.
33399         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33400         * string/memccpy.c (__memccpy): Use ANSI prototype.
33401         * string/memfrob.c (memfrob): Likewise.
33402         * string/strcoll.c (STRCOLL): Likewise.
33403         * string/strlen.c (strlen): Likewise.
33404         * string/strtok.c (STRTOK): Likewise.
33405         * string/strcat.c: Remove unused #include of memcopy.h.
33406         (strcat): Use ANSI prototype.
33407         * string/strchr.c: Remove unused #include of memcopy.h.
33408         (strchr): Use ANSI prototype.
33409         * string/strcmp.c: Remove unused #include of memcopy.h.
33410         (strcmp): Use ANSI prototype.
33411         * string/strcpy.c: Remove unused #include of memcopy.h.
33412         (strcpy): Use ANSI prototype.
33414 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33416         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33417         * config.make.in (config-extra-cppflags): Set it from
33418         libc_extra_cppflags.
33419         * configure.ac (libc_extra_cflags): Make it accumulate over
33420         configure fragments.
33421         (libc_extra_cppflags): New flag.
33422         * configure. Regenerate.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33424         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33425         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33428         [BZ #16815]
33429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33430         result for FE_DOWNWARD rounding mode.
33431         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33432         Likewise.
33433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33435 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33437         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33438         in function argument name.
33440 2014-04-03  David Svoboda  <svoboda@cert.org>
33442         [BZ #5666]
33443         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33444         explicitly.
33446 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33448         * elf/dl-unmap-segments.h: New file.
33449         * sysdeps/generic/ldsodefs.h
33450         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33451         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33452         * elf/dl-fptr.c: Likewise.
33453         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33454         * sysdeps/aarch64/tlsdesc.c: Likewise.
33455         * sysdeps/arm/tlsdesc.c: Likewise.
33456         * sysdeps/i386/tlsdesc.c: Likewise.
33457         * sysdeps/tile/dl-runtime.c: Likewise.
33458         * sysdeps/x86_64/tlsdesc.c: Likewise.
33459         * elf/dl-load.h: New file.
33460         * elf/dl-load.c: Include it.
33461         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33462         Macros moved to dl-load.h.
33463         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33464         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33465         Use _dl_unmap_segments in place of __munmap.
33466         Break out segment-mapping loop into ...
33467         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33469 2014-04-03  Will Newton  <will.newton@linaro.org>
33471         * elf/dl-lookup.c (do_lookup_x): Remove comment
33472         referring to nested function and move variable
33473         declarations down to before first use.
33475 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33477         [BZ #16799]
33478         [BZ #16800]
33479         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33480         with 0 numerator.
33481         * math/s_catanf.c (__catanf): Likewise.
33482         * math/s_catanh.c (__catanh): Likewise.
33483         * math/s_catanhf.c (__catanhf): Likewise.
33484         * math/s_catanhl.c (__catanhl): Likewise.
33485         * math/s_catanl.c (__catanl): Likewise.
33486         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33487         by positive zero when computing -Inf result.
33488         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33489         (catanh_test): Likewise.
33490         * sysdeps/i386/fpu/libm-test-ulps: Update.
33491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33493         [BZ #16789]
33494         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33495         instead of using underflowing value in computing result.
33496         * math/s_clog10.c (__clog10): Likewise.
33497         * math/s_clog10f.c (__clog10f): Likewise.
33498         * math/s_clog10l.c (__clog10l): Likewise.
33499         * math/s_clogf.c (__clogf): Likewise.
33500         * math/s_clogl.c (__clogl): Likewise.
33501         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33502         (clog10_test): Likewise.
33503         * sysdeps/i386/fpu/libm-test-ulps: Update.
33504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33506 2014-04-02  Alan Modra  <amodra@gmail.com>
33508         [BZ #16739]
33509         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33510         output when value is near a power of two.  Use int64_t for lx and
33511         remove casts.  Use decimal rather than hex exponent constants.
33512         Don't use long double multiplication when double will suffice.
33513         * math/libm-test.inc (nextafter_test_data): Add tests.
33514         * NEWS: Add 16739 and 16786 to bug list.
33516         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33518         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33520 2014-04-01  Will Newton  <will.newton@linaro.org>
33522         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33523         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33525 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33527         [BZ #13347]
33528         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33529         * nptl/tst-setuid2.c: New file.
33530         * nptl/Makefile (xtests): Add tst-setuid2.
33532 2014-04-01  Alan Modra  <amodra@gmail.com>
33534         [BZ #16786]
33535         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33537 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33539         [BZ #6803]
33540         [BZ #6804]
33541         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33542         set errno as appropriate.
33543         * math/w_scalbf.c (__scalbf): Likewise.
33544         * math/w_scalbl.c (__scalbl): Likewise.
33545         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33546         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33547         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33548         Add more NaN tests.
33550         [BZ #16349]
33551         * math/w_atan2.c: Include <errno.h>.
33552         (__atan2): Set errno for result underflowing to zero.
33553         * math/w_atan2f.c: Include <errno.h>.
33554         (__atan2f): Set errno for result underflowing to zero.
33555         * math/w_atan2l.c: Include <errno.h>.
33556         (__atan2l): Set errno for result underflowing to zero.
33557         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33558         tests.
33559         * math/auto-libm-test-out: Regenerated.
33561 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33563         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33564         Encode instruction correctly in little endian.
33565         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33566         Likewise.
33567         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33568         Likewise.
33569         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33570         Likewise.
33571         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33572         Likewise.
33574 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33576         [BZ #9894]
33577         * sysdeps/unix/sysv/linux/kernel-features.h
33578         [__sparc__ && !__arch64__ && !__sparc_v9__]
33579         (__ASSUME_SET_ROBUST_LIST): Do not define.
33580         [__sparc__ && !__arch64__ && !__sparc_v9__]
33581         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33582         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33583         Likewise.
33584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33585         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33586         (__ASSUME_REQUEUE_PI): Likewise.
33587         (__ASSUME_SET_ROBUST_LIST): Likewise.
33588         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33589         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33590         Undefine.
33591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33592         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33593         Likewise.
33594         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33595         Likewise.
33596         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33597         Likewise.
33598         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33599         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33600         Undefine.
33601         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33602         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33603         Likewise.
33605         [BZ #16648]
33606         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33607         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33608         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33610 2014-03-31  Will Newton  <will.newton@linaro.org>
33612         * benchtests/Makefile (bench): Add ffs and ffsll to list
33613         of tests.
33614         * benchtests/ffs-inputs: New file.
33615         * benchtests/ffsll-inputs: Likewise.
33617 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33619         [BZ #16770]
33620         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33621         too large before casting to int.
33622         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33623         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33624         * math/libm-test.inc (scalb_test_data): Add more tests.
33626 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33628         * benchtests/Makefile (DETAILED_OPT): New make option.
33629         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33630         set.
33631         * benchtests/bench-skeleton.c: Include stdbool.h.
33632         (main): Store and print timings per input.
33633         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33634         member to each argument value.
33635         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33636         (_print_arg_data): Initialize per-input timing to 0.
33638         * benchtests/Makefile (timing-type): New binary.
33639         (bench-clean): Also remove bench-timing-type.
33640         (bench): New target for timing-type.
33641         (bench-func): Print output in JSON format.
33642         * benchtests/bench-skeleton.c (main): Print output in JSON
33643         format.
33644         * benchtests/bench-timing-type.c: New file.
33645         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33646         (TIMING_PRINT_STATS): Remove.
33647         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33648         name separately.
33650         * benchtests/bench-modf.c: Remove.
33651         * benchtests/modf-inputs: New inputs file.
33653 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33655         [BZ #16362]
33656         * math/s_clog10.c (M_PI_LOG10E): New macro.
33657         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33658         imaginary parts are 0.
33659         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33660         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33661         imaginary parts are 0.
33662         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33663         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33664         imaginary parts are 0.
33665         * math/libm-test.inc (clog10_test_data): Update expected results
33666         for when real and imaginary parts are 0.
33668 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33670         * elf/dl-load.c: Finish conversion of __builtin_expect into
33671         __glibc_{un}likely.
33673 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33675         [BZ #16348]
33676         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33677         1+x for argument with exponent below -67.
33678         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33679         Likewise.
33680         * math/auto-libm-test-in: Add more tests of exp.
33681         * math/auto-libm-test-out: Regenerated.
33683 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33685         [BZ #16759]
33686         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33687         (nscd_getnetgrent): Use it.
33689         [BZ #16760]
33690         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33691         of stpcpy.
33693 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33695         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33696         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33697         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33698         (lll_robust_unlock): Remove out of line section. Use cfi
33699         intrinsics.
33700         (LLL_STUB_UNWIND_INFO*): Remove.
33701         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33702         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33703         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33704         (lll_robust_unlock): Remove out of line section. Use cfi
33705         intrinsics.
33706         (LLL_STUB_UNWIND_INFO*): Remove.
33708 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33710         [BZ #16758]
33711         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33712         blank values.
33714 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33716         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33718 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33720         [BZ #16198]
33721         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33722         fnstenv.
33723         * math/test-fenv-preserve.c: New file.
33724         * math/Makefile (tests): Add test-fenv-preserve.
33726 2014-03-26  Will Newton <will.newton@linaro.org>
33728         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33730 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33732         * scripts/versionlist.awk: Partition the version sets and emit all
33733         GLIBC_* (sorted) before all others (sorted).
33735 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33737         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33738         GLIBC_2.2.5 version.
33740 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33742         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33743         calls.
33745         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33746         previous change.
33748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33750 2014-03-25  Andreas Schwab  <schwab@suse.de>
33752         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33753         label to be used after in6ailist is initialized.
33755 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33757         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33758         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33760 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33762         [BZ #16357]
33763         [BZ #16599]
33764         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33765         min_plus_half.
33766         (fp_formats): Update initializers.
33767         (init_fp_formats): Initialize new field.
33768         (output_for_one_input_case): Allow underflow for results up to
33769         min_plus_half.
33770         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33771         * math/auto-libm-test-in: Don't mark some underflows from asin and
33772         atanh as spurious.
33773         * math/auto-libm-test-out: Regenerated.
33774         * sysdeps/i386/fpu/libm-test-ulps: Update.
33775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33777 2014-03-25  Andreas Schwab  <schwab@suse.de>
33779         * libio/Makefile (tst-ftell-partial-wide-ENV)
33780         (tst-ftell-active-handler-ENV): Define.
33782 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33784         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33786 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33788         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33790 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33792         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33793         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33794         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33796 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33798         [BZ #16634]
33799         * elf/dl-load.c (open_verify): Add mode parameter.
33800         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33801         (open_path): Change from boolean 'secure' to complete flag 'mode'
33802         (_dl_map_object): Adjust.
33803         * elf/Makefile (tests): Add tst-dlopen-aout.
33804         * elf/tst-dlopen-aout.c: New test.
33806 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33808         [BZ #16714]
33809         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33810         (struct stat): Rename member pad0 to __glibc_reserved0.
33812         [BZ #16712]
33813         * sysdeps/s390/s390-32/bits/wordsize.h
33814         (__WORDSIZE32_SIZE_ULONG): New define.
33815         * sysdeps/s390/s390-64/bits/wordsize.h
33816         (__WORDSIZE32_SIZE_ULONG): Likewise.
33817         * sysdeps/generic/stdint.h (SIZE_MAX):
33818         Define as UL if __WORDSIZE32_SIZE_ULONG.
33820         [BZ #16713]
33821         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33822         (__glibc_reserved0): New variable.
33823         (sa_flags): Change type to int.
33825         * posix/Makefile (before-compile): Use += before-compile instead
33826         of a :=.
33828         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33829         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33831 2014-03-20  Andreas Schwab  <schwab@suse.de>
33833         [BZ #16743]
33834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33835         non-matching result from nscd.
33837 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33839         * scripts/bench.py: Moved to ...
33840         * benchtests/scripts/bench.py: ... here.
33841         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33843 2014-03-24  Andreas Schwab  <schwab@suse.de>
33845         [BZ #16002]
33846         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33847         alloca_account and account alloca use for struct in6ailist.
33849 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33851         [BZ #16284]
33852         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33853         rounding mode to recompute results that overflow to infinity or
33854         underflow to zero.
33855         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33856         bug 16284.
33857         * math/auto-libm-test-out: Regenerated.
33858         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33859         (ccosh_test): Likewise.
33860         (csin_test_data): Use plus_oflow.
33861         (csin_test): Use ALL_RM_TEST.
33862         (csinh_test_data): Use plus_oflow.
33863         (csinh_test): Use ALL_RM_TEST.
33864         * sysdeps/i386/fpu/libm-test-ulps: Update.
33865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33867 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33869         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33870         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33871         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33873         [BZ #16731]
33874         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33875         when x - 1 is zero.
33876         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33877         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33878         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33879         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33880         argument is 1.
33881         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33882         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33883         zero.
33884         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33885         * sysdeps/i386/fpu/libm-test-ulps: Update.
33886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33888 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33890         * scripts/bench.pl: Remove file.
33891         * scripts/bench.py: New benchmark script.
33892         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33893         * benchtests/README: Mention python dependency.
33894         * scripts/pylintrc: New file.
33895         * scripts/pylint: New file.
33897         * bits/mathdef.h: Use #ifdef instead of #if.
33898         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33899         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33900         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33901         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33902         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33903         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33905 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33906             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33908         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33910         and strpbrk-ppc64 objects.
33911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33912         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33913         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33914         multiarch strpbrk for POWER7.
33915         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33916         multiarch strpbrk for PPC64.
33917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33918         ifunc selector.
33919         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33920         strpbrk for POWER7.
33922 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33924         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33925         (atan_test): Likewise.
33926         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33927         (atanh_test): Use ALL_RM_TEST.
33928         (atan2_test_data): Likewise.
33929         (cabs_test): Likewise.
33930         (cacosh_test): Likewise.
33931         (carg_test): Likewise.
33932         (casin_test): Likewise.
33933         (casinh_test): Likewise.
33934         (cbrt_test): Likewise.
33935         (csqrt_test): Likewise.
33936         (erf_test): Likewise.
33937         (erfc_test): Likewise.
33938         (pow10_test): Likewise.
33939         (exp2_test): Likewise.
33940         (hypot_test): Likewise.
33941         (j0_test): Likewise.
33942         (j1_test): Likewise.
33943         (lgamma_test): Likewise.
33944         (gamma_test): Likewise.
33945         (sincos_test): Likewise.
33946         (tanh_test): Likewise.
33947         (y0_test): Likewise.
33948         (y1_test): Likewise.
33949         * sysdeps/i386/fpu/libm-test-ulps: Update.
33950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33952 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33954         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33956         and strcspn-ppc64 objects.
33957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33958         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33960         multiarch strcspn for POWER7.
33961         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33962         multiarch strcspn for PPC64.
33963         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33964         ifunc selector.
33965         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33966         strcspn for POWER7.
33968 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33970         * math/gen-libm-test.pl (generate_testfile): Expect only function
33971         name as argument to AUTO_TESTS_* and pass results for all rounding
33972         modes to parse_args.
33973         (parse_auto_input): Separate inputs of automatic tests from
33974         outputs before storing in %auto_tests.
33975         * math/libm-test.inc (acos_test_data): Update call to
33976         AUTO_TESTS_f_f.
33977         (acos_test): Use ALL_RM_TEST.
33978         (acos_tonearest_test_data): Remove.
33979         (acos_test_tonearest): Likewise.
33980         (acos_towardzero_test_data): Likewise.
33981         (acos_test_towardzero): Likewise.
33982         (acos_downward_test_data): Likewise.
33983         (acos_test_downward): Likewise.
33984         (acos_upward_test_data): Likewise.
33985         (acos_test_upward): Likewise.
33986         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33987         (asin_test_data): Likewise.
33988         (asin_test): Use ALL_RM_TEST.
33989         (asin_tonearest_test_data): Remove.
33990         (asin_test_tonearest): Likewise.
33991         (asin_towardzero_test_data): Likewise.
33992         (asin_test_towardzero): Likewise.
33993         (asin_downward_test_data): Likewise.
33994         (asin_test_downward): Likewise.
33995         (asin_upward_test_data): Likewise.
33996         (asin_test_upward): Likewise.
33997         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33998         (atan_test_data): Likewise.
33999         (atanh_test_data): Likewise.
34000         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34001         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34002         (carg_test_data): Likewise.
34003         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34004         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34005         (ccosh_test_data): Likewise.
34006         (cexp_test_data): Likewise.
34007         (clog_test_data): Likewise.
34008         (clog10_test_data): Likewise.
34009         (cos_test_data): Update call to AUTO_TESTS_f_f.
34010         (cos_test): Use ALL_RM_TEST.
34011         (cos_tonearest_test_data): Remove.
34012         (cos_test_tonearest): Likewise.
34013         (cos_towardzero_test_data): Likewise.
34014         (cos_test_towardzero): Likewise.
34015         (cos_downward_test_data): Likewise.
34016         (cos_test_downward): Likewise.
34017         (cos_upward_test_data): Likewise.
34018         (cos_test_upward): Likewise.
34019         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34020         (cosh_test): Use ALL_RM_TEST.
34021         (cosh_tonearest_test_data): Remove.
34022         (cosh_test_tonearest): Likewise.
34023         (cosh_towardzero_test_data): Likewise.
34024         (cosh_test_towardzero): Likewise.
34025         (cosh_downward_test_data): Likewise.
34026         (cosh_test_downward): Likewise.
34027         (cosh_upward_test_data): Likewise.
34028         (cosh_test_upward): Likewise.
34029         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34030         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34031         (ctan_test_data): Likewise.
34032         (ctan_test): Use ALL_RM_TEST.
34033         (ctan_tonearest_test_data): Remove.
34034         (ctan_test_tonearest): Likewise.
34035         (ctan_towardzero_test_data): Likewise.
34036         (ctan_test_towardzero): Likewise.
34037         (ctan_downward_test_data): Likewise.
34038         (ctan_test_downward): Likewise.
34039         (ctan_upward_test_data): Likewise.
34040         (ctan_test_upward): Likewise.
34041         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34042         (ctanh_test): Use ALL_RM_TEST.
34043         (ctanh_tonearest_test_data): Remove.
34044         (ctanh_test_tonearest): Likewise.
34045         (ctanh_towardzero_test_data): Likewise.
34046         (ctanh_test_towardzero): Likewise.
34047         (ctanh_downward_test_data): Likewise.
34048         (ctanh_test_downward): Likewise.
34049         (ctanh_upward_test_data): Likewise.
34050         (ctanh_test_upward): Likewise.
34051         (erf_test_data): Update call to AUTO_TESTS_f_f.
34052         (erfc_test_data): Likewise.
34053         (exp_test_data): Likewise.
34054         (exp_test): Use ALL_RM_TEST.
34055         (exp_tonearest_test_data): Remove.
34056         (exp_test_tonearest): Likewise.
34057         (exp_towardzero_test_data): Likewise.
34058         (exp_test_towardzero): Likewise.
34059         (exp_downward_test_data): Likewise.
34060         (exp_test_downward): Likewise.
34061         (exp_upward_test_data): Likewise.
34062         (exp_test_upward): Likewise.
34063         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34064         (exp10_test): Use ALL_RM_TEST.
34065         (exp10_tonearest_test_data): Remove.
34066         (exp10_test_tonearest): Likewise.
34067         (exp10_towardzero_test_data): Likewise.
34068         (exp10_test_towardzero): Likewise.
34069         (exp10_downward_test_data): Likewise.
34070         (exp10_test_downward): Likewise.
34071         (exp10_upward_test_data): Likewise.
34072         (exp10_test_upward): Likewise.
34073         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34074         (expm1_test_data): Likewise.
34075         (expm1_test): Use ALL_RM_TEST.
34076         (expm1_tonearest_test_data): Remove.
34077         (expm1_test_tonearest): Likewise.
34078         (expm1_towardzero_test_data): Likewise.
34079         (expm1_test_towardzero): Likewise.
34080         (expm1_downward_test_data): Likewise.
34081         (expm1_test_downward): Likewise.
34082         (expm1_upward_test_data): Likewise.
34083         (expm1_test_upward): Likewise.
34084         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34085         (fma_test): Use ALL_RM_TEST.
34086         (fma_towardzero_test_data): Remove.
34087         (fma_test_towardzero): Likewise.
34088         (fma_downward_test_data): Likewise.
34089         (fma_test_downward): Likewise.
34090         (fma_upward_test_data): Likewise.
34091         (fma_test_upward): Likewise.
34092         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34093         (j0_test_data): Update call to AUTO_TESTS_f_f.
34094         (j1_test_data): Likewise.
34095         (jn_test_data): Update call to AUTO_TESTS_if_f.
34096         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34097         (log_test_data): Update call to AUTO_TESTS_f_f.
34098         (log10_test_data): Likewise.
34099         (log1p_test_data): Likewise.
34100         (log2_test_data): Likewise.
34101         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34102         (pow_tonearest_test_data): Likewise.
34103         (sin_test_data): Update call to AUTO_TESTS_f_f.
34104         (sin_test): Use ALL_RM_TEST.
34105         (sin_tonearest_test_data): Remove.
34106         (sin_test_tonearest): Likewise.
34107         (sin_towardzero_test_data): Likewise.
34108         (sin_test_towardzero): Likewise.
34109         (sin_downward_test_data): Likewise.
34110         (sin_test_downward): Likewise.
34111         (sin_upward_test_data): Likewise.
34112         (sin_test_upward): Likewise.
34113         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34114         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34115         (sinh_test): Use ALL_RM_TEST.
34116         (sinh_tonearest_test_data): Remove.
34117         (sinh_test_tonearest): Likewise.
34118         (sinh_towardzero_test_data): Likewise.
34119         (sinh_test_towardzero): Likewise.
34120         (sinh_downward_test_data): Likewise.
34121         (sinh_test_downward): Likewise.
34122         (sinh_upward_test_data): Likewise.
34123         (sinh_test_upward): Likewise.
34124         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34125         (sqrt_test): Use ALL_RM_TEST.
34126         (sqrt_tonearest_test_data): Remove.
34127         (sqrt_test_tonearest): Likewise.
34128         (sqrt_towardzero_test_data): Likewise.
34129         (sqrt_test_towardzero): Likewise.
34130         (sqrt_downward_test_data): Likewise.
34131         (sqrt_test_downward): Likewise.
34132         (sqrt_upward_test_data): Likewise.
34133         (sqrt_test_upward): Likewise.
34134         (tan_test_data): Update call to AUTO_TESTS_f_f.
34135         (tan_test): Use ALL_RM_TEST.
34136         (tan_tonearest_test_data): Remove.
34137         (tan_test_tonearest): Likewise.
34138         (tan_towardzero_test_data): Likewise.
34139         (tan_test_towardzero): Likewise.
34140         (tan_downward_test_data): Likewise.
34141         (tan_test_downward): Likewise.
34142         (tan_upward_test_data): Likewise.
34143         (tan_test_upward): Likewise.
34144         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34145         (tgamma_test_data): Likewise.
34146         (y0_test_data): Likewise.
34147         (y1_test_data): Likewise.
34148         (yn_test_data): Update call to AUTO_TESTS_if_f.
34149         (main): Do not call removed functions.
34151 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34153         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34154         (ldexp_test_data): Remove.
34155         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34156         scalbn_test_data.
34157         (scalb_test): Use ALL_RM_TEST.
34159 2014-03-19  Andreas Schwab  <schwab@suse.de>
34161         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34163 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34165         [BZ #16649]
34166         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34167         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34168         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34170         (__ASSUME_PREADV): Undefine.
34171         (__ASSUME_PWRITEV): Likewise.
34173 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34175         * bits/mman-linux.h: Add comment about non-Linux use.
34176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34177         bits/mman-linux.h resting place.
34179         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34180         * bits/mman-linux.h: ... here.
34182 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34184         * conform/conformtest.pl: Add standard definition when calling C
34185         preprocessor on data files.
34186         (checknamespace): Remove unused variable.
34188 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34190         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34191         minus_oflow, plus_uflow and minus_uflow in expected results.
34192         * math/libm-test.inc (scalbn_test_data): Add more tests of
34193         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34194         minus_uflow.
34195         (scalbn_test): Use ALL_RM_TEST.
34196         (scalbln_test_data): Add more tests of negative arguments.  Use
34197         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34198         (scalbln_test): Use ALL_RM_TEST.
34200 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34202         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34204 2014-03-18  Will Newton  <will.newton@linaro.org>
34206         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34207         inaccurate comment.
34209 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34211         * Makerules [!subdir] (check-abi): Exit with error status if a
34212         test failed.
34214 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34216         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34217         for rint.  Include results for all rounding modes.
34218         (nearbyint_test): Use ALL_RM_TEST.
34219         (rint_test_data): Include all tests used for nearbyint.
34221 2014-03-17  Will Newton  <will.newton@linaro.org>
34223         * nptl/sysdeps/pthread/pthread.h: Revert previous
34224         change.
34226         * sysdeps/generic/ldsodefs.h: Revert previous
34227         change.
34229         * libio/genops.c: Revert previous change.
34230         * libio/libioP.h: Likewise.
34231         * stdio-common/vfprintf.c: Likewise.
34233         * sysdeps/generic/math_private.h: Revert previous
34234         change.
34236         * sysdeps/generic/math_private.h: Check whether
34237         HAVE_RM_CTX is defined with #ifdef rather
34238         than #if.
34240         * argp/argp-fmtstream.h: Check whether
34241         __STRICT_ANSI__ is defined with #ifdef rather
34242         than #if.
34243         * argp/argp.h: Likewise.
34245         * libio/genops.c: Check whether
34246         _IO_JUMPS_OFFSET is defined with #ifdef rather
34247         than #if.
34248         * libio/libioP.h: Likewise.
34249         * stdio-common/vfprintf.c: Likewise.
34251         * sysdeps/generic/ldsodefs.h: Check whether
34252         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34253         than #if.
34255         * nptl/sysdeps/pthread/pthread.h: Check
34256         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34257         its value.
34259 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34261         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34262         setting O_APPEND.
34263         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34264         test case.
34266         [BZ #16680]
34267         * libio/fileops.c (_IO_file_open): Seek to end of file but
34268         don't cache the offset.
34269         (get_file_offset): Remove function.
34270         (do_ftell): Use cached offset when available.
34271         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34272         don't cache the offset.
34273         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34274         case.
34275         (do_one_test): Call it.
34276         (do_ftell_test): Fix up expected old offset for a+ mode.
34277         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34278         available.
34280         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34281         up test status with function return status.
34282         (do_write_test): Likewise.
34283         (do_append_test): Likewise.
34285         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34286         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34287         Remove.
34289 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34291         * math/gen-libm-test.pl (parse_args): Handle results specified for
34292         each rounding mode separately.
34293         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34294         tests and results from lrint_tonearest_test_data,
34295         lrint_towardzero_test_data, lrint_downward_test_data and
34296         lrint_upward_test_data.
34297         (lrint_test): Use ALL_RM_TEST.
34298         (lrint_tonearest_test_data): Remove.
34299         (lrint_test_tonearest): Likewise.
34300         (lrint_towardzero_test_data): Likewise.
34301         (lrint_test_towardzero): Likewise.
34302         (lrint_downward_test_data): Likewise.
34303         (lrint_test_downward): Likewise.
34304         (lrint_upward_test_data): Likewise.
34305         (lrint_test_upward): Likewise.
34306         (llrint_test_data): Merge in per-rounding-mode tests and results
34307         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34308         llrint_downward_test_data and llrint_upward_test_data.
34309         (llrint_test): Use ALL_RM_TEST.
34310         (llrint_tonearest_test_data): Remove.
34311         (llrint_test_tonearest): Likewise.
34312         (llrint_towardzero_test_data): Likewise.
34313         (llrint_test_towardzero): Likewise.
34314         (llrint_downward_test_data): Likewise.
34315         (llrint_test_downward): Likewise.
34316         (llrint_upward_test_data): Likewise.
34317         (llrint_test_upward): Likewise.
34318         (rint_test_data): Merge in per-rounding-mode tests and results
34319         from rint_tonearest_test_data, rint_towardzero_test_data,
34320         rint_downward_test_data and rint_upward_test_data.  Add
34321         per-rounding-mode results for tests not in those arrays.
34322         (rint_test): Use ALL_RM_TEST.
34323         (rint_tonearest_test_data): Remove.
34324         (rint_test_tonearest): Likewise.
34325         (rint_towardzero_test_data): Likewise.
34326         (rint_test_towardzero): Likewise.
34327         (rint_downward_test_data): Likewise.
34328         (rint_test_downward): Likewise.
34329         (rint_upward_test_data): Likewise.
34330         (rint_test_upward): Likewise.
34331         (main): Don't call removed functions.
34333 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34335         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34336         "Compiled on ..." crapola.  It is anti-useful.
34338 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34340         * scripts/evaluate-test.sh: Handle fourth argument to determine
34341         whether test run should stop on failure.
34342         * Makeconfig (stop-on-test-failure): New variable.
34343         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34344         $(stop-on-test-failure).
34345         * Makefile (tests): Give a summary of results from testing and
34346         exit with failure status if they include an ERROR or FAIL.
34347         (xtests): Likewise.
34348         * manual/install.texi (Configuring and compiling): Mention
34349         stop-on-test-failure=y.
34350         * INSTALL: Regenerated.
34352 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34354         * scripts/versionlist.awk: New file.
34355         * Makerules [$(build-shared) = yes]
34356         (postclean-generated): Add Versions.def, not Versions.def.v and
34357         Versions.def.v.i.
34358         ($(common-objpfx)Versions.def.v.i): Target removed.
34359         ($(common-objpfx)Versions.def): New target.
34360         ($(common-objpfx)Versions.all): Depend on that rather that
34361         $(common-objpfx)Versions.def.v.
34362         * Versions.def: File removed.
34364         * Makeconfig (+gccwarn): Add -Wundef.
34365         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34366         a dl-sysdep.h breaking its contract.
34367         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34368         * include/stackinfo.h: New file.
34369         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34370         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34371         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34372         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34373         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34374         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34375         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34376         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34377         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34378         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34379         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34380         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34381         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34382         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34383         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34385 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34387         [BZ #16707]
34388         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34389         implementation.
34390         * math/libm-test.inc (round_test_data): Add more tests.
34392         [BZ #16706]
34393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34394         implementation.
34395         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34397         [BZ #16701]
34398         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34399         implementation.
34400         * math/libm-test.inc (ceil_test_data): Add more tests.
34402         * math/libm-test.inc (trunc_test_data): Add more tests related to
34403         BZ#16414.
34405 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34407         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34408         with #if rather than #ifdef.
34409         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34411 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34413         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34414         first.  Disable AVX-512 GCC support if assembler doesn't support
34415         it.
34416         * sysdeps/x86_64/configure: Regenerated.
34418 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34420         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34421         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34422         (__old_pthread_attr_setstack): Likewise.
34423         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34424         [!_STACK_GROWS_DOWN]: Likewise.
34426 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34428         * config.make.in (have-bash2): Delete.
34429         * configure.ac (libc_cv_have_bash2): Delete.
34430         * configure: Regenerate.
34431         * elf/Makefile (common-ldd-rewrite): Rename to ...
34432         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34433         (sh-ldd-rewrite): Delete.
34434         (bash-ldd-rewrite): Delete.
34435         (have-bash2): Delete checks.
34436         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34437         ldd-rewrite.
34439         * config.make.in (have-ksh): Delete.
34440         (KSH): Delete.
34441         * configure.ac (libc_cv_have_ksh): Delete.
34442         * configure: Regenerate.
34444         * elf/Makefile: Delete $(have-ksh) check.
34445         ($(objpfx)sotruss): Change KSH to BASH.
34446         * elf/sotruss.ksh: Rename to ...
34447         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34448         function style to match POSIX.  Drop ksh vim mode setting.
34450         * manual/time.texi (Specifying the Time Zone with TZ): Change
34451         Tuesday to Thursday.
34453         * debug/tst-longjmp_chk2.c: Update header comment.
34454         (stackoverflow_handler): Add comment.  Call assert on pass value.
34456 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34458         [BZ #16194]
34459         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34460         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34461         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34462         (La_x86_64_vector): Add zmm.
34463         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34464         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34465         ($(objpfx)tst-audit10): New target.
34466         ($(objpfx)tst-audit10.out): Likewise.
34467         (tst-audit10-ENV): New.
34468         (AVX512-CFLAGS): Likewise.
34469         (CFLAGS-tst-audit10.c): Likewise.
34470         (CFLAGS-tst-auditmod10a.c): Likewise.
34471         (CFLAGS-tst-auditmod10b.c): Likewise.
34472         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34473         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34474         * sysdeps/x86_64/configure: Regenerated.
34475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34476         AVX-512 zmm register support.
34477         (_dl_x86_64_save_sse): Likewise.
34478         (_dl_x86_64_restore_sse): Likewise.
34479         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34480         size vector registers.
34481         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34482         (ZMM_SIZE): Likewise.
34483         * sysdeps/x86_64/tst-audit10.c: New file.
34484         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34485         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34487 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34489         * configure.ac (HAVE_EHDR_START): New check.
34490         * configure: Regenerated.
34491         * config.h.in (HAVE_EHDR_START): New #undef.
34492         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34493         assuming the lowest-addressed segment maps the start of the file.
34495 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34497         * INSTALL: Regenerated.
34499 2014-03-13  Will Newton  <will.newton@linaro.org>
34501         * manual/setjmp.texi (System V contexts): Improve
34502         clarity and grammar of documentation.
34504 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34506         [BZ #16381]
34507         * elf/Makefile (tests): Add tst-pie2.
34508         (tests-pie): Add tst-pie2.
34509         * elf/tst-pie2.c: New file.
34510         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34511         for ET_EXEC.
34512         * elf/rtld.c (map_doit): Load executable as lt_executable.
34513         (dl_main): Likewise.
34515 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34517         [BZ #16642]
34518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34519         (__ASSUME_PSELECT): Undefine.
34521 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34523         [BZ #16689]
34524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34525         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34526         static build.
34527         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34528         selector for static builds.
34530 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34532         [BZ #16695]
34533         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34534         key in the buffer.
34536 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34538         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34539         IFUNC selector for static builds.
34541 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34543         * sysdeps/mips/math_private.h [__mips_hard_float]
34544         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34545         libc_feresetround_mips_ctx.
34546         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34547         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34548         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34550         [BZ #16677]
34551         * math/s_nextafter.c (__nextafter): Do not return value from
34552         overflowing computation.
34553         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34554         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34555         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34556         Likewise.
34557         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34558         Likewise.
34559         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34560         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34562 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34564         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34565         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34566         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34567         the new mov targetting sp.
34569 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34571         [BZ #16683]
34572         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34573         Define it for static builds as well.
34574         (NO_BZERO_IMPL): Likewise.
34576 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34578         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34579         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34580         multiarch strspn for PPC64.
34581         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34582         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34584         (__libc_ifunc_impl_list): Likewise.
34585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34586         multiarch optimizations
34587         * string/strspn.c (strspn): Using macro to redefine symbol name.
34589 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34590             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34592         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34593         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34594         multiarch strncat for PPC64.
34595         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34596         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34598         (__libc_ifunc_impl_list): Likewise.
34599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34600         multiarch optimizations
34602 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         [BZ #16639]
34605         * nscd/nscd.service: Make service type forking.
34607 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34609         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34610         sign in non default rounding modes.
34611         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34613 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34615         * math/libm-test.inc (ALL_RM_TEST): New macro.
34616         (ceil_test): Use ALL_RM_TEST.
34617         (cimag_test): Likewise.
34618         (conj_test): Likewise.
34619         (copysign_test): Likewise.
34620         (cproj_test): Likewise.
34621         (creal_test): Likewise.
34622         (fabs_test): Likewise.
34623         (floor_test): Likewise.
34624         (fmax_test): Likewise.
34625         (fmin_test): Likewise.
34626         (fmod_test): Likewise.
34627         (fpclassify_test): Likewise.
34628         (frexp_test): Likewise.
34629         (ilogb_test): Likewise.
34630         (isfinite_test): Likewise.
34631         (finite_test): Likewise.
34632         (isgreater_test): Likewise.
34633         (isgreaterequal_test): Likewise.
34634         (isinf_test): Likewise.
34635         (isless_test): Likewise.
34636         (islessequal_test): Likewise.
34637         (islessgreater_test): Likewise.
34638         (isnan_test): Likewise.
34639         (isnormal_test): Likewise.
34640         (issignaling_test): Likewise.
34641         (isunordered_test): Likewise.
34642         (logb_test): Likewise.
34643         (logb_downward_test_data): Remove.
34644         (logb_test_downward): Likewise.
34645         (lround_test): Use ALL_RM_TEST.
34646         (llround_test): Likewise.
34647         (modf_test): Likewise.
34648         (nexttoward_test): Likewise.
34649         (remainder_test): Likewise.
34650         (drem_test): Likewise.
34651         (remainder_tonearest_test_data): Likewise.
34652         (remainder_test_tonearest): Likewise.
34653         (drem_test_tonearest): Likewise.
34654         (remainder_towardzero_test_data): Likewise.
34655         (remainder_test_towardzero): Likewise.
34656         (drem_test_towardzero): Likewise.
34657         (remainder_downward_test_data): Likewise.
34658         (remainder_test_downward): Likewise.
34659         (drem_test_downward): Likewise.
34660         (remainder_upward_test_data): Likewise.
34661         (remainder_test_upward): Likewise.
34662         (drem_test_upward): Likewise.
34663         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34664         (round_test): Use ALL_RM_TEST.
34665         (signbit_test): Likewise.
34666         (trunc_test): Likewise.
34667         (significand_test): Likewise.
34668         (main): Don't call removed functions.
34670 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34672         [BZ #16674]
34673         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34674         || __USE_XOPEN2K8].
34675         (ILL_ILLOPN): Likewise.
34676         (ILL_ILLADR): Likewise.
34677         (ILL_ILLTRP): Likewise.
34678         (ILL_PRVOPC): Likewise.
34679         (ILL_PRVREG): Likewise.
34680         (ILL_COPROC): Likewise.
34681         (ILL_BADSTK): Likewise.
34682         (FPE_INTDIV): Likewise.
34683         (FPE_INTOVF): Likewise.
34684         (FPE_FLTDIV): Likewise.
34685         (FPE_FLTOVF): Likewise.
34686         (FPE_FLTUND): Likewise.
34687         (FPE_FLTRES): Likewise.
34688         (FPE_FLTINV): Likewise.
34689         (FPE_FLTSUB): Likewise.
34690         (SEGV_MAPERR): Likewise.
34691         (SEGV_ACCERR): Likewise.
34692         (BUS_ADRALN): Likewise.
34693         (BUS_ADRERR): Likewise.
34694         (BUS_OBJERR): Likewise.
34695         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34696         (TRAP_TRACE): Likewise.
34697         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34698         __USE_XOPEN2K8].
34699         (CLD_KILLED): Likewise.
34700         (CLD_DUMPED): Likewise.
34701         (CLD_TRAPPED): Likewise.
34702         (CLD_STOPPED): Likewise.
34703         (CLD_CONTINUED): Likewise.
34704         (POLL_IN): Likewise.
34705         (POLL_OUT): Likewise.
34706         (POLL_MSG): Likewise.
34707         (POLL_ERR): Likewise.
34708         (POLL_PRI): Likewise.
34709         (POLL_HUP): Likewise.
34710         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34711         Likewise.
34712         (ILL_ILLOPN): Likewise.
34713         (ILL_ILLADR): Likewise.
34714         (ILL_ILLTRP): Likewise.
34715         (ILL_PRVOPC): Likewise.
34716         (ILL_PRVREG): Likewise.
34717         (ILL_COPROC): Likewise.
34718         (ILL_BADSTK): Likewise.
34719         (FPE_INTDIV): Likewise.
34720         (FPE_INTOVF): Likewise.
34721         (FPE_FLTDIV): Likewise.
34722         (FPE_FLTOVF): Likewise.
34723         (FPE_FLTUND): Likewise.
34724         (FPE_FLTRES): Likewise.
34725         (FPE_FLTINV): Likewise.
34726         (FPE_FLTSUB): Likewise.
34727         (SEGV_MAPERR): Likewise.
34728         (SEGV_ACCERR): Likewise.
34729         (BUS_ADRALN): Likewise.
34730         (BUS_ADRERR): Likewise.
34731         (BUS_OBJERR): Likewise.
34732         (BUS_MCEERR_AR): Likewise.
34733         (BUS_MCEERR_AO): Likewise.
34734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34735         (TRAP_TRACE): Likewise.
34736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34737         __USE_XOPEN2K8].
34738         (CLD_KILLED): Likewise.
34739         (CLD_DUMPED): Likewise.
34740         (CLD_TRAPPED): Likewise.
34741         (CLD_STOPPED): Likewise.
34742         (CLD_CONTINUED): Likewise.
34743         (POLL_IN): Likewise.
34744         (POLL_OUT): Likewise.
34745         (POLL_MSG): Likewise.
34746         (POLL_ERR): Likewise.
34747         (POLL_PRI): Likewise.
34748         (POLL_HUP): Likewise.
34749         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34750         (ILL_ILLOPN): Likewise.
34751         (ILL_ILLADR): Likewise.
34752         (ILL_ILLTRP): Likewise.
34753         (ILL_PRVOPC): Likewise.
34754         (ILL_PRVREG): Likewise.
34755         (ILL_COPROC): Likewise.
34756         (ILL_BADSTK): Likewise.
34757         (FPE_INTDIV): Likewise.
34758         (FPE_INTOVF): Likewise.
34759         (FPE_FLTDIV): Likewise.
34760         (FPE_FLTOVF): Likewise.
34761         (FPE_FLTUND): Likewise.
34762         (FPE_FLTRES): Likewise.
34763         (FPE_FLTINV): Likewise.
34764         (FPE_FLTSUB): Likewise.
34765         (SEGV_MAPERR): Likewise.
34766         (SEGV_ACCERR): Likewise.
34767         (BUS_ADRALN): Likewise.
34768         (BUS_ADRERR): Likewise.
34769         (BUS_OBJERR): Likewise.
34770         (BUS_MCEERR_AR): Likewise.
34771         (BUS_MCEERR_AO): Likewise.
34772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34773         (TRAP_TRACE): Likewise.
34774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34775         __USE_XOPEN2K8].
34776         (CLD_KILLED): Likewise.
34777         (CLD_DUMPED): Likewise.
34778         (CLD_TRAPPED): Likewise.
34779         (CLD_STOPPED): Likewise.
34780         (CLD_CONTINUED): Likewise.
34781         (POLL_IN): Likewise.
34782         (POLL_OUT): Likewise.
34783         (POLL_MSG): Likewise.
34784         (POLL_ERR): Likewise.
34785         (POLL_PRI): Likewise.
34786         (POLL_HUP): Likewise.
34787         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34788         Likewise.
34789         (ILL_ILLOPN): Likewise.
34790         (ILL_ILLADR): Likewise.
34791         (ILL_ILLTRP): Likewise.
34792         (ILL_PRVOPC): Likewise.
34793         (ILL_PRVREG): Likewise.
34794         (ILL_COPROC): Likewise.
34795         (ILL_BADSTK): Likewise.
34796         (ILL_BADIADDR): Likewise.
34797         (ILL_BREAK): Likewise.
34798         (FPE_INTDIV): Likewise.
34799         (FPE_INTOVF): Likewise.
34800         (FPE_FLTDIV): Likewise.
34801         (FPE_FLTOVF): Likewise.
34802         (FPE_FLTUND): Likewise.
34803         (FPE_FLTRES): Likewise.
34804         (FPE_FLTINV): Likewise.
34805         (FPE_FLTSUB): Likewise.
34806         (FPE_DECOVF): Likewise.
34807         (FPE_DECDIV): Likewise.
34808         (FPE_DECERR): Likewise.
34809         (FPE_INVASC): Likewise.
34810         (FPE_INVDEC): Likewise.
34811         (SEGV_MAPERR): Likewise.
34812         (SEGV_ACCERR): Likewise.
34813         (SEGV_PSTKOVF): Likewise.
34814         (BUS_ADRALN): Likewise.
34815         (BUS_ADRERR): Likewise.
34816         (BUS_OBJERR): Likewise.
34817         (BUS_MCEERR_AR): Likewise.
34818         (BUS_MCEERR_AO): Likewise.
34819         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34820         (TRAP_TRACE): Likewise.
34821         (TRAP_BRANCH): Likewise.
34822         (TRAP_HWBKPT): Likewise.
34823         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34824         __USE_XOPEN2K8].
34825         (CLD_KILLED): Likewise.
34826         (CLD_DUMPED): Likewise.
34827         (CLD_TRAPPED): Likewise.
34828         (CLD_STOPPED): Likewise.
34829         (CLD_CONTINUED): Likewise.
34830         (POLL_IN): Likewise.
34831         (POLL_OUT): Likewise.
34832         (POLL_MSG): Likewise.
34833         (POLL_ERR): Likewise.
34834         (POLL_PRI): Likewise.
34835         (POLL_HUP): Likewise.
34836         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34837         (ILL_ILLOPN): Likewise.
34838         (ILL_ILLADR): Likewise.
34839         (ILL_ILLTRP): Likewise.
34840         (ILL_PRVOPC): Likewise.
34841         (ILL_PRVREG): Likewise.
34842         (ILL_COPROC): Likewise.
34843         (ILL_BADSTK): Likewise.
34844         (FPE_INTDIV): Likewise.
34845         (FPE_INTOVF): Likewise.
34846         (FPE_FLTDIV): Likewise.
34847         (FPE_FLTOVF): Likewise.
34848         (FPE_FLTUND): Likewise.
34849         (FPE_FLTRES): Likewise.
34850         (FPE_FLTINV): Likewise.
34851         (FPE_FLTSUB): Likewise.
34852         (SEGV_MAPERR): Likewise.
34853         (SEGV_ACCERR): Likewise.
34854         (BUS_ADRALN): Likewise.
34855         (BUS_ADRERR): Likewise.
34856         (BUS_OBJERR): Likewise.
34857         (BUS_MCEERR_AR): Likewise.
34858         (BUS_MCEERR_AO): Likewise.
34859         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34860         (TRAP_TRACE): Likewise.
34861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34862         __USE_XOPEN2K8].
34863         (CLD_KILLED): Likewise.
34864         (CLD_DUMPED): Likewise.
34865         (CLD_TRAPPED): Likewise.
34866         (CLD_STOPPED): Likewise.
34867         (CLD_CONTINUED): Likewise.
34868         (POLL_IN): Likewise.
34869         (POLL_OUT): Likewise.
34870         (POLL_MSG): Likewise.
34871         (POLL_ERR): Likewise.
34872         (POLL_PRI): Likewise.
34873         (POLL_HUP): Likewise.
34874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34875         (ILL_ILLOPN): Likewise.
34876         (ILL_ILLADR): Likewise.
34877         (ILL_ILLTRP): Likewise.
34878         (ILL_PRVOPC): Likewise.
34879         (ILL_PRVREG): Likewise.
34880         (ILL_COPROC): Likewise.
34881         (ILL_BADSTK): Likewise.
34882         (FPE_INTDIV): Likewise.
34883         (FPE_INTOVF): Likewise.
34884         (FPE_FLTDIV): Likewise.
34885         (FPE_FLTOVF): Likewise.
34886         (FPE_FLTUND): Likewise.
34887         (FPE_FLTRES): Likewise.
34888         (FPE_FLTINV): Likewise.
34889         (FPE_FLTSUB): Likewise.
34890         (SEGV_MAPERR): Likewise.
34891         (SEGV_ACCERR): Likewise.
34892         (BUS_ADRALN): Likewise.
34893         (BUS_ADRERR): Likewise.
34894         (BUS_OBJERR): Likewise.
34895         (BUS_MCEERR_AR): Likewise.
34896         (BUS_MCEERR_AO): Likewise.
34897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34898         (TRAP_TRACE): Likewise.
34899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34900         __USE_XOPEN2K8].
34901         (CLD_KILLED): Likewise.
34902         (CLD_DUMPED): Likewise.
34903         (CLD_TRAPPED): Likewise.
34904         (CLD_STOPPED): Likewise.
34905         (CLD_CONTINUED): Likewise.
34906         (POLL_IN): Likewise.
34907         (POLL_OUT): Likewise.
34908         (POLL_MSG): Likewise.
34909         (POLL_ERR): Likewise.
34910         (POLL_PRI): Likewise.
34911         (POLL_HUP): Likewise.
34912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34913         (ILL_ILLOPN): Likewise.
34914         (ILL_ILLADR): Likewise.
34915         (ILL_ILLTRP): Likewise.
34916         (ILL_PRVOPC): Likewise.
34917         (ILL_PRVREG): Likewise.
34918         (ILL_COPROC): Likewise.
34919         (ILL_BADSTK): Likewise.
34920         (FPE_INTDIV): Likewise.
34921         (FPE_INTOVF): Likewise.
34922         (FPE_FLTDIV): Likewise.
34923         (FPE_FLTOVF): Likewise.
34924         (FPE_FLTUND): Likewise.
34925         (FPE_FLTRES): Likewise.
34926         (FPE_FLTINV): Likewise.
34927         (FPE_FLTSUB): Likewise.
34928         (SEGV_MAPERR): Likewise.
34929         (SEGV_ACCERR): Likewise.
34930         (BUS_ADRALN): Likewise.
34931         (BUS_ADRERR): Likewise.
34932         (BUS_OBJERR): Likewise.
34933         (BUS_MCEERR_AR): Likewise.
34934         (BUS_MCEERR_AO): Likewise.
34935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34936         (TRAP_TRACE): Likewise.
34937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34938         __USE_XOPEN2K8].
34939         (CLD_KILLED): Likewise.
34940         (CLD_DUMPED): Likewise.
34941         (CLD_TRAPPED): Likewise.
34942         (CLD_STOPPED): Likewise.
34943         (CLD_CONTINUED): Likewise.
34944         (POLL_IN): Likewise.
34945         (POLL_OUT): Likewise.
34946         (POLL_MSG): Likewise.
34947         (POLL_ERR): Likewise.
34948         (POLL_PRI): Likewise.
34949         (POLL_HUP): Likewise.
34950         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34951         (ILL_ILLOPN): Likewise.
34952         (ILL_ILLADR): Likewise.
34953         (ILL_ILLTRP): Likewise.
34954         (ILL_PRVOPC): Likewise.
34955         (ILL_PRVREG): Likewise.
34956         (ILL_COPROC): Likewise.
34957         (ILL_BADSTK): Likewise.
34958         (ILL_DBLFLT): Likewise.
34959         (ILL_HARDWALL): Likewise.
34960         (FPE_INTDIV): Likewise.
34961         (FPE_INTOVF): Likewise.
34962         (FPE_FLTDIV): Likewise.
34963         (FPE_FLTOVF): Likewise.
34964         (FPE_FLTUND): Likewise.
34965         (FPE_FLTRES): Likewise.
34966         (FPE_FLTINV): Likewise.
34967         (FPE_FLTSUB): Likewise.
34968         (SEGV_MAPERR): Likewise.
34969         (SEGV_ACCERR): Likewise.
34970         (BUS_ADRALN): Likewise.
34971         (BUS_ADRERR): Likewise.
34972         (BUS_OBJERR): Likewise.
34973         (BUS_MCEERR_AR): Likewise.
34974         (BUS_MCEERR_AO): Likewise.
34975         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34976         (TRAP_TRACE): Likewise.
34977         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34978         __USE_XOPEN2K8].
34979         (CLD_KILLED): Likewise.
34980         (CLD_DUMPED): Likewise.
34981         (CLD_TRAPPED): Likewise.
34982         (CLD_STOPPED): Likewise.
34983         (CLD_CONTINUED): Likewise.
34984         (POLL_IN): Likewise.
34985         (POLL_OUT): Likewise.
34986         (POLL_MSG): Likewise.
34987         (POLL_ERR): Likewise.
34988         (POLL_PRI): Likewise.
34989         (POLL_HUP): Likewise.
34990         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34991         (ILL_ILLOPN): Likewise.
34992         (ILL_ILLADR): Likewise.
34993         (ILL_ILLTRP): Likewise.
34994         (ILL_PRVOPC): Likewise.
34995         (ILL_PRVREG): Likewise.
34996         (ILL_COPROC): Likewise.
34997         (ILL_BADSTK): Likewise.
34998         (FPE_INTDIV): Likewise.
34999         (FPE_INTOVF): Likewise.
35000         (FPE_FLTDIV): Likewise.
35001         (FPE_FLTOVF): Likewise.
35002         (FPE_FLTUND): Likewise.
35003         (FPE_FLTRES): Likewise.
35004         (FPE_FLTINV): Likewise.
35005         (FPE_FLTSUB): Likewise.
35006         (SEGV_MAPERR): Likewise.
35007         (SEGV_ACCERR): Likewise.
35008         (BUS_ADRALN): Likewise.
35009         (BUS_ADRERR): Likewise.
35010         (BUS_OBJERR): Likewise.
35011         (BUS_MCEERR_AR): Likewise.
35012         (BUS_MCEERR_AO): Likewise.
35013         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35014         (TRAP_TRACE): Likewise.
35015         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35016         __USE_XOPEN2K8].
35017         (CLD_KILLED): Likewise.
35018         (CLD_DUMPED): Likewise.
35019         (CLD_TRAPPED): Likewise.
35020         (CLD_STOPPED): Likewise.
35021         (CLD_CONTINUED): Likewise.
35022         (POLL_IN): Likewise.
35023         (POLL_OUT): Likewise.
35024         (POLL_MSG): Likewise.
35025         (POLL_ERR): Likewise.
35026         (POLL_PRI): Likewise.
35027         (POLL_HUP): Likewise.
35028         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35029         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35031         [BZ #16670]
35032         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35033         before #include of <time.h>.
35034         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35035         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35036         (test-xfail-UNIX98/sched.h/conform): Likewise.
35038 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35040         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35041         error absence of trapping exception support.
35042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35044 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35046         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35047         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35048         * timezone/Makefile (testdata): Move definition above include of
35049         Rules.
35050         (test-zones): New variable.
35051         (tests-special): Add zone files.
35052         (build-testdata): Use $(evaluate-test).
35054         * elf/Makefile (tests-special): Rename tests to end with .out.
35055         ($(objpfx)noload-mem): Likewise.
35056         ($(objpfx)tst-leaks1-mem): Likewise.
35057         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35058         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35059         $(objpfx)test-iconvconfig.out.
35060         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35061         set -e inside subshell and redirect output to file.
35062         * iconvdata/Makefile (generated): Rename tests to end with .out.
35063         Correct type.
35064         (tests-special): Rename tests to end with .out.
35065         ($(objpfx)mtrace-tst-loading): Likewise.
35066         * intl/Makefile (generated): Likewise.
35067         (tests-special): Likewise.
35068         ($(objpfx)mtrace-tst-gettext): Likewise.
35069         * misc/Makefile (generated): Likewise.
35070         (tests-special): Likewise.
35071         ($(objpfx)tst-error1-mem): Likewise.
35072         * nptl/Makefile (tests-special): Likewise.
35073         ($(objpfx)tst-stack3-mem): Likewise.
35074         (generated): Likewise.
35075         * posix/Makefile (generated): Likewise.
35076         (tests-special): Likewise.
35077         (xtests-special): Likewise.
35078         ($(objpfx)tst-fnmatch-mem): Likewise.
35079         ($(objpfx)bug-regex2-mem): Likewise.
35080         ($(objpfx)bug-regex14-mem): Likewise.
35081         ($(objpfx)bug-regex21-mem): Likewise.
35082         ($(objpfx)bug-regex31-mem): Likewise.
35083         ($(objpfx)tst-vfork3-mem): Likewise.
35084         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35085         ($(objpfx)tst-pcre-mem): Likewise.
35086         ($(objpfx)tst-boost-mem): Likewise.
35087         ($(objpfx)bug-ga2-mem): Likewise.
35088         ($(objpfx)bug-glob2-mem): Likewise.
35089         * resolv/Makefile (generate): Likewise.
35090         (tests-special): Likewise.
35091         (xtests-special): Likewise.
35092         (generated): Likewise.
35093         ($(objpfx)mtrace-tst-leaks): Likewise.
35094         ($(objpfx)mtrace-tst-leaks2): Likewise.
35096         * scripts/merge-test-results.sh: New file.
35097         * Makefile (tests-special-notdir): New variable.
35098         (tests): Run merge-test-results.sh.
35099         (xtests): Likewise.
35100         * Rules (tests-special-notdir): New variable.
35101         (xtests-special-notdir): Likewise.
35102         (tests): Run merge-test-results.sh
35103         (xtests): Likewise.
35105         * Makeconfig (test-xfail-name): New variable.
35106         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35107         compute variable name for expected failures.
35108         * conform/Makefile (conformtest-headers-data): New variable.
35109         (conformtest-standards): Likewise.
35110         (conformtest-headers-ISO): Likewise.
35111         (conformtest-headers-ISO99): Likewise.
35112         (conformtest-headers-ISO11): Likewise.
35113         (conformtest-headers-POSIX): Likewise.
35114         (conformtest-headers-XPG3): Likewise.
35115         (conformtest-headers-XPG4): Likewise.
35116         (conformtest-headers-UNIX98): Likewise.
35117         (conformtest-headers-XOPEN2K): Likewise.
35118         (conformtest-headers-POSIX2008): Likewise.
35119         (conformtest-headers-XOPEN2K8): Likewise.
35120         (conformtest-header-list-base): Likewise.
35121         (conformtest-header-list-tests): Likewise.
35122         (conformtest-header-base): Likewise.
35123         (conformtest-header-tests): Likewise.
35124         (tests-special): Add $(conformtest-header-list-tests).  If
35125         [$(fast-check) && !$(cross-compiling)], add
35126         $(conformtest-header-tests) instead of
35127         $(objpfx)run-conformtest.out.
35128         (generated): Add $(conformtest-header-list-base).  If
35129         [$(fast-check) && !$(cross-compiling)], add
35130         $(conformtest-header-base).  Remove previous setting.
35131         ($(conformtest-header-list-tests)): New target.
35132         (test-xfail-run-conformtest): Remove variable.
35133         ($(objpfx)run-conformtest.out): Remove target.
35134         (test-xfail-ISO11/complex.h/conform): New variable.
35135         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35136         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35137         (test-xfail-XPG3/varargs.h/conform): Likewise.
35138         (test-xfail-XPG4/varargs.h/conform): Likewise.
35139         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35140         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35141         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35142         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35143         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35144         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35145         (test-xfail-XPG3/ftw.h/conform): Likewise.
35146         (test-xfail-XPG3/grp.h/conform): Likewise.
35147         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35148         (test-xfail-XPG3/limits.h/conform): Likewise.
35149         (test-xfail-XPG3/pwd.h/conform): Likewise.
35150         (test-xfail-XPG3/search.h/conform): Likewise.
35151         (test-xfail-XPG3/signal.h/conform): Likewise.
35152         (test-xfail-XPG3/stdio.h/conform): Likewise.
35153         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35154         (test-xfail-XPG3/string.h/conform): Likewise.
35155         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35156         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35157         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35158         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35159         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35160         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35161         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35162         (test-xfail-XPG3/termios.h/conform): Likewise.
35163         (test-xfail-XPG3/time.h/conform): Likewise.
35164         (test-xfail-XPG3/unistd.h/conform): Likewise.
35165         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35166         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35167         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35168         (test-xfail-XPG4/netdb.h/conform): Likewise.
35169         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35170         (test-xfail-XPG4/signal.h/conform): Likewise.
35171         (test-xfail-XPG4/stdio.h/conform): Likewise.
35172         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35173         (test-xfail-XPG4/stropts.h/conform): Likewise.
35174         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35175         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35176         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35177         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35178         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35179         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35180         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35181         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35182         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35183         (test-xfail-XPG4/termios.h/conform): Likewise.
35184         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35185         (test-xfail-XPG4/unistd.h/conform): Likewise.
35186         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35187         (test-xfail-POSIX/sched.h/conform): Likewise.
35188         (test-xfail-POSIX/signal.h/conform): Likewise.
35189         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35190         (test-xfail-POSIX/tar.h/conform): Likewise.
35191         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35192         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35193         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35194         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35195         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35196         (test-xfail-UNIX98/sched.h/conform): Likewise.
35197         (test-xfail-UNIX98/signal.h/conform): Likewise.
35198         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35199         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35200         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35201         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35202         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35203         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35204         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35205         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35206         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35207         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35208         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35209         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35210         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35211         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35212         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35213         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35214         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35215         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35216         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35217         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35218         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35219         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35220         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35221         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35222         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35223         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35224         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35225         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35226         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35227         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35228         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35229         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35230         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35231         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35232         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35233         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35234         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35235         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35236         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35237         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35238         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35239         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35240         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35241         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35242         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35243         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35244         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35245         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35246         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35247         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35248         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35249         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35250         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35251         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35252         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35253         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35254         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35255         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35256         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35257         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35258         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35259         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35260         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35261         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35262         (conformtest-cc-flags): Likewise.
35263         ($(conformtest-header-tests): New target.
35264         * conform/check-header-lists.sh: New file.
35265         * conform/run-conformtest.sh: Remove.
35267         * conform/conformtest.pl: Allow ' and \ in values given for
35268         constants.
35269         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35270         inclusion.
35271         [POSIX] (sys/types.h): Likewise.
35272         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35273         inclusion.
35274         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35275         inclusion.
35276         * conform/data/signal.h-data (SIGIO): Remove expectation.
35277         [XPG3] (SIGBUS): Do not expect.
35278         [POSIX || XPG3] (SIGPOLL): Likewise.
35279         [POSIX || XPG3] (SIGPROF): Likewise.
35280         [POSIX || XPG3] (SIGSYS): Likewise.
35281         [XPG3] (SIGTRAP): Likewise.
35282         [POSIX || XPG3] (SIGURG): Likewise.
35283         [POSIX || XPG3] (SIGVTALRM): Likewise.
35284         [POSIX || XPG3] (SIGXCPU): Likewise.
35285         [POSIX || XPG3] (SIGXFSZ): Likewise.
35286         [POSIX] (SA_SIGINFO): Expect.
35287         [XPG3] (siginfo_t): Do not expect type or contents.
35288         [POSIX] (si_pid): Do not expect element.
35289         [POSIX] (si_uid): Likewise.
35290         [POSIX] (si_addr): Likewise.
35291         [POSIX] (si_status): Likewise.
35292         [POSIX] (si_band): Likewise.
35293         [XPG4] (si_value): Likewise.
35294         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35295         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35296         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35297         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35298         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35299         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35300         [POSIX || XPG3] (ILL_COPROC): Likewise.
35301         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35302         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35303         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35304         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35305         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35306         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35307         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35308         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35309         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35310         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35311         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35312         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35313         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35314         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35315         [POSIX || XPG3] (CLD_EXITED): Likewise.
35316         [POSIX || XPG3] (CLD_KILLED): Likewise.
35317         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35318         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35319         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35320         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35321         [POSIX || XPG3] (POLL_IN): Likewise.
35322         [POSIX || XPG3] (POLL_OUT): Likewise.
35323         [POSIX || XPG3] (POLL_MSG): Likewise.
35324         [POSIX || XPG3] (POLL_ERR): Likewise.
35325         [POSIX || XPG3] (POLL_PRI): Likewise.
35326         [POSIX || XPG3] (POLL_HUP): Likewise.
35327         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35328         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35329         (SIG*): Do not allow.
35330         [XPG3] (si_*): Likewise.
35331         [XPG3] (SI_*): Likewise.
35332         [XPG3 || XPG4] (sigev_*): Likewise.
35333         [XPG3 || XPG4] (SIGEV_*): Likewise.
35334         [XPG3 || XPG4] (sival_*): Likewise.
35335         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35336         [POSIX || XPG3] (BUS_*): Likewise.
35337         [POSIX || XPG3] (CLD_*): Likewise.
35338         [POSIX || XPG3] (FPE_*): Likewise.
35339         [POSIX || XPG3] (ILL_*): Likewise.
35340         [POSIX || XPG3] (POLL_*): Likewise.
35341         [POSIX || XPG3] (SEGV_*): Likewise.
35342         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35343         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35344         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35345         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35346         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35347         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35348         Specify type and value.
35349         (TVERSLEN): Likewise.
35350         (REGTYPE): Likewise.
35351         (AREGTYPE): Likewise.
35352         (LNKTYPE): Likewise.
35353         (SYMTYPE): Likewise.
35354         (CHRTYPE): Likewise.
35355         (BLKTYPE): Likewise.
35356         (DIRTYPE): Likewise.
35357         (FIFOTYPE): Likewise.
35358         (CONTTYPE): Likewise.
35359         (TSUID): Likewise.
35360         (TSGID): Likewise.
35361         (TSVTX): Likewise.
35362         (TUREAD): Likewise.
35363         (TUWRITE): Likewise.
35364         (TUEXEC): Likewise.
35365         (TGREAD): Likewise.
35366         (TGWRITE): Likewise.
35367         (TGEXEC): Likewise.
35368         (TOREAD): Likewise.
35369         (TOWRITE): Likewise.
35370         (TOEXEC): Likewise.
35371         [POSIX] (TSVTX): Expect constant.
35373 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35375         * Makefile (tests): Change dependencies to ....
35376         (tests-special): ... additions to this variable.
35377         (tests): Depend on $(tests-special).
35378         * Makerules (check-abi-list): New variable.
35379         (check-abi): Depend on $(check-abi-list).
35380         [$(subdir) = elf] (tests-special): Add
35381         $(objpfx)check-abi-libc.out.
35382         [$(build-shared) = yes && subdir] (tests-special): Add
35383         $(check-abi-list).
35384         [$(build-shared) = yes && subdir] (tests): Do not depend on
35385         check-abi.
35386         * Rules (tests): Depend on $(tests-special).
35387         (xtests): Depend on $(xtests-special).
35388         * catgets/Makefile (tests): Change dependencies to ....
35389         (tests-special): ... additions to this variable.
35390         * conform/Makefile (tests): Change dependencies to ....
35391         (tests-special): ... additions to this variable.
35392         * elf/Makefile (tests): Change dependencies to ....
35393         (tests-special): ... additions to this variable.
35394         * grp/Makefile (tests): Change dependencies to ....
35395         (tests-special): ... additions to this variable.
35396         * iconv/Makefile (xtests): Change dependencies to ....
35397         (xtests-special): ... additions to this variable.
35398         * iconvdata/Makefile (tests): Change dependencies to ....
35399         (tests-special): ... additions to this variable.
35400         * intl/Makefile (tests): Change dependencies to ....
35401         (tests-special): ... additions to this variable.  Also add
35402         $(objpfx)tst-gettext.out.
35403         * io/Makefile (tests): Change dependencies to ....
35404         (tests-special): ... additions to this variable.
35405         * libio/Makefile (tests): Change dependencies to ....
35406         (tests-special): ... additions to this variable.
35407         * malloc/Makefile (tests): Change dependencies to ....
35408         (tests-special): ... additions to this variable.
35409         * misc/Makefile (tests): Change dependencies to ....
35410         (tests-special): ... additions to this variable.
35411         * nptl/Makefile (tests): Change dependencies to ....
35412         (tests-special): ... additions to this variable.
35413         * nptl_db/Makefile (tests): Change dependencies to ....
35414         (tests-special): ... additions to this variable.
35415         * posix/Makefile (tests): Change dependencies to ....
35416         (tests-special): ... additions to this variable.
35417         (xtests): Change dependencies to ....
35418         (xtests-special): ... additions to this variable.
35419         * resolv/Makefile (tests): Change dependencies to ....
35420         (tests-special): ... additions to this variable.
35421         (xtests): Change dependencies to ....
35422         (xtests-special): ... additions to this variable.
35423         * stdio-common/Makefile (tests): Change dependencies to ....
35424         (tests-special): ... additions to this variable.
35425         (do-tst-unbputc): Remove target.
35426         (do-tst-printf): Likewise.
35427         * stdlib/Makefile (tests): Change dependencies to ....
35428         (tests-special): ... additions to this variable.
35429         * string/Makefile (tests): Change dependencies to ....
35430         (tests-special): ... additions to this variable.
35431         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35432         (tests-special): ... additions to this variable.
35434         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35435         whole file.
35436         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35437         whole file.
35438         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35439         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35441         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35442         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35443         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35444         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35445         * conform/data/libgen.h-data [XPG3]: Likewise.
35446         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35447         * conform/data/ndbm.h-data [XPG3]: Likewise.
35448         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35449         * conform/data/netdb.h-data [XPG3]: Likewise.
35450         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35451         * conform/data/poll.h-data [XPG3]: Likewise.
35452         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35453         * conform/data/strings.h-data [XPG3]: Likewise.
35454         * conform/data/stropts.h-data [XPG3]: Likewise.
35455         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35456         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35457         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35458         Likewise.
35459         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35460         * conform/data/sys/time.h-data [XPG3]: Likewise.
35461         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35462         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35463         * conform/data/sys/un.h-data [XPG3]: Likewise.
35464         * conform/data/syslog.h-data [XPG3]: Likewise.
35465         * conform/data/ucontext.h-data [XPG3]: Likewise.
35466         * conform/data/utmpx.h-data [XPG3]: Likewise.
35467         * conform/data/varargs.h-data [UNIX98]: Enable file.
35469         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35471         * math/libm-test.inc (struct test_f_f_data): Move expected results
35472         into structure for each rounding mode.
35473         (struct test_ff_f_data): Likewise.
35474         (struct test_ff_f_data_nexttoward): Likewise.
35475         (struct test_fi_f_data): Likewise.
35476         (struct test_fl_f_data): Likewise.
35477         (struct test_if_f_data): Likewise.
35478         (struct test_fff_f_data): Likewise.
35479         (struct test_c_f_data): Likewise.
35480         (struct test_f_f1_data): Likewise.
35481         (struct test_fF_f1_data): Likewise.
35482         (struct test_ffI_f1_data): Likewise.
35483         (struct test_c_c_data): Likewise.
35484         (struct test_cc_c_data): Likewise.
35485         (struct test_f_i_data): Likewise.
35486         (struct test_ff_i_data): Likewise.
35487         (struct test_f_l_data): Likewise.
35488         (struct test_f_L_data): Likewise.
35489         (struct test_fFF_11_data): Likewise.
35490         (RM_): New macro.
35491         (RM_FE_DOWNWARD): Likewise.
35492         (RM_FE_TONEAREST): Likewise.
35493         (RM_FE_TOWARDZERO): Likewise.
35494         (RM_FE_UPWARD): Likewise.
35495         (RUN_TEST_LOOP_f_f): Update references to expected results.
35496         (RUN_TEST_LOOP_2_f): Likewise.
35497         (RUN_TEST_LOOP_fff_f): Likewise.
35498         (RUN_TEST_LOOP_c_f): Likewise.
35499         (RUN_TEST_LOOP_f_f1): Likewise.
35500         (RUN_TEST_LOOP_fF_f1): Likewise.
35501         (RUN_TEST_LOOP_fI_f1): Likewise.
35502         (RUN_TEST_LOOP_ffI_f1): Likewise.
35503         (RUN_TEST_LOOP_c_c): Likewise.
35504         (RUN_TEST_LOOP_cc_c): Likewise.
35505         (RUN_TEST_LOOP_f_i): Likewise.
35506         (RUN_TEST_LOOP_f_i_tg): Likewise.
35507         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35508         (RUN_TEST_LOOP_f_b): Likewise.
35509         (RUN_TEST_LOOP_f_b_tg): Likewise.
35510         (RUN_TEST_LOOP_f_l): Likewise.
35511         (RUN_TEST_LOOP_f_L): Likewise.
35512         (RUN_TEST_LOOP_fFF_11): Likewise.
35513         * math/gen-libm-test.pl (parse_args): Output four copies of
35514         expected results for each test.
35516         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35517         (__ASSUME_UTIMES): Remove.
35518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35519         (__ASSUME_UTIMES): Likewise.
35521         * math/gen-auto-libm-tests.c: Update comment on output format.
35522         (output_for_one_input_case): Generate before-rounding and
35523         after-rounding information as conditions on output flags not
35524         floating-point format.
35525         * math/auto-libm-test-out: Regenerated.
35526         * math/gen-libm-test.pl (cond_value): New function.
35527         (or_cond_value): Use cond_value.
35528         (generate_testfile): Handle conditional exceptions.
35530 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35532         * math/libm-test.inc (max_valid_error): New variable.
35533         (init_max_error): Take new argument specifying whether function
35534         results are exactly determined.  Set max_valid_error and bound
35535         other variables for errors based on this argument.
35536         (set_max_error): Do not record results above max_valid_error.
35537         (check_float_internal): Only accept errors of up to 0.5ulps if
35538         also at most max_valid_error.
35539         (START): Take new argument EXACT and pass it to init_max_error.
35540         (acos_test): Update call to START.
35541         (acos_test_tonearest): Likewise.
35542         (acos_test_towardzero): Likewise.
35543         (acos_test_downward): Likewise.
35544         (acos_test_upward): Likewise.
35545         (acosh_test): Likewise.
35546         (asin_test): Likewise.
35547         (asin_test_tonearest): Likewise.
35548         (asin_test_towardzero): Likewise.
35549         (asin_test_downward): Likewise.
35550         (asin_test_upward): Likewise.
35551         (asinh_test): Likewise.
35552         (atan_test): Likewise.
35553         (atanh_test): Likewise.
35554         (atan2_test): Likewise.
35555         (cabs_test): Likewise.
35556         (cacos_test): Likewise.
35557         (cacosh_test): Likewise.
35558         (carg_test): Likewise.
35559         (casin_test): Likewise.
35560         (casinh_test): Likewise.
35561         (catan_test): Likewise.
35562         (catanh_test): Likewise.
35563         (cbrt_test): Likewise.
35564         (ccos_test): Likewise.
35565         (ccosh_test): Likewise.
35566         (ceil_test): Likewise.
35567         (cexp_test): Likewise.
35568         (cimag_test): Likewise.
35569         (clog_test): Likewise.
35570         (clog10_test): Likewise.
35571         (conj_test): Likewise.
35572         (copysign_test): Likewise.
35573         (cos_test): Likewise.
35574         (cos_test_tonearest): Likewise.
35575         (cos_test_towardzero): Likewise.
35576         (cos_test_downward): Likewise.
35577         (cos_test_upward): Likewise.
35578         (cosh_test): Likewise.
35579         (cosh_test_tonearest): Likewise.
35580         (cosh_test_towardzero): Likewise.
35581         (cosh_test_downward): Likewise.
35582         (cosh_test_upward): Likewise.
35583         (cpow_test): Likewise.
35584         (cproj_test): Likewise.
35585         (creal_test): Likewise.
35586         (csin_test): Likewise.
35587         (csinh_test): Likewise.
35588         (csqrt_test): Likewise.
35589         (ctan_test): Likewise.
35590         (ctan_test_tonearest): Likewise.
35591         (ctan_test_towardzero): Likewise.
35592         (ctan_test_downward): Likewise.
35593         (ctan_test_upward): Likewise.
35594         (ctanh_test): Likewise.
35595         (ctanh_test_tonearest): Likewise.
35596         (ctanh_test_towardzero): Likewise.
35597         (ctanh_test_downward): Likewise.
35598         (ctanh_test_upward): Likewise.
35599         (erf_test): Likewise.
35600         (erfc_test): Likewise.
35601         (exp_test): Likewise.
35602         (exp_test_tonearest): Likewise.
35603         (exp_test_towardzero): Likewise.
35604         (exp_test_downward): Likewise.
35605         (exp_test_upward): Likewise.
35606         (exp10_test): Likewise.
35607         (exp10_test_tonearest): Likewise.
35608         (exp10_test_towardzero): Likewise.
35609         (exp10_test_downward): Likewise.
35610         (exp10_test_upward): Likewise.
35611         (pow10_test): Likewise.
35612         (exp2_test): Likewise.
35613         (expm1_test): Likewise.
35614         (expm1_test_tonearest): Likewise.
35615         (expm1_test_towardzero): Likewise.
35616         (expm1_test_downward): Likewise.
35617         (expm1_test_upward): Likewise.
35618         (fabs_test): Likewise.
35619         (fdim_test): Likewise.
35620         (floor_test): Likewise.
35621         (fma_test): Likewise.
35622         (fma_test_towardzero): Likewise.
35623         (fma_test_downward): Likewise.
35624         (fma_test_upward): Likewise.
35625         (fmax_test): Likewise.
35626         (fmin_test): Likewise.
35627         (fmod_test): Likewise.
35628         (fpclassify_test): Likewise.
35629         (frexp_test): Likewise.
35630         (hypot_test): Likewise.
35631         (ilogb_test): Likewise.
35632         (isfinite_test): Likewise.
35633         (finite_test): Likewise.
35634         (isgreater_test): Likewise.
35635         (isgreaterequal_test): Likewise.
35636         (isinf_test): Likewise.
35637         (isless_test): Likewise.
35638         (islessequal_test): Likewise.
35639         (islessgreater_test): Likewise.
35640         (isnan_test): Likewise.
35641         (isnormal_test): Likewise.
35642         (issignaling_test): Likewise.
35643         (isunordered_test): Likewise.
35644         (j0_test): Likewise.
35645         (j1_test): Likewise.
35646         (jn_test): Likewise.
35647         (ldexp_test): Likewise.
35648         (lgamma_test): Likewise.
35649         (gamma_test): Likewise.
35650         (lrint_test): Likewise.
35651         (lrint_test_tonearest): Likewise.
35652         (lrint_test_towardzero): Likewise.
35653         (lrint_test_downward): Likewise.
35654         (lrint_test_upward): Likewise.
35655         (llrint_test): Likewise.
35656         (llrint_test_tonearest): Likewise.
35657         (llrint_test_towardzero): Likewise.
35658         (llrint_test_downward): Likewise.
35659         (llrint_test_upward): Likewise.
35660         (log_test): Likewise.
35661         (log10_test): Likewise.
35662         (log1p_test): Likewise.
35663         (log2_test): Likewise.
35664         (logb_test): Likewise.
35665         (logb_test_downward): Likewise.
35666         (lround_test): Likewise.
35667         (llround_test): Likewise.
35668         (modf_test): Likewise.
35669         (nearbyint_test): Likewise.
35670         (nextafter_test): Likewise.
35671         (nexttoward_test): Likewise.
35672         (pow_test): Likewise.
35673         (pow_test_tonearest): Likewise.
35674         (pow_test_towardzero): Likewise.
35675         (pow_test_downward): Likewise.
35676         (pow_test_upward): Likewise.
35677         (remainder_test): Likewise.
35678         (drem_test): Likewise.
35679         (remainder_test_tonearest): Likewise.
35680         (drem_test_tonearest): Likewise.
35681         (remainder_test_towardzero): Likewise.
35682         (drem_test_towardzero): Likewise.
35683         (remainder_test_downward): Likewise.
35684         (drem_test_downward): Likewise.
35685         (remainder_test_upward): Likewise.
35686         (drem_test_upward): Likewise.
35687         (remquo_test): Likewise.
35688         (rint_test): Likewise.
35689         (rint_test_tonearest): Likewise.
35690         (rint_test_towardzero): Likewise.
35691         (rint_test_downward): Likewise.
35692         (rint_test_upward): Likewise.
35693         (round_test): Likewise.
35694         (scalb_test): Likewise.
35695         (scalbn_test): Likewise.
35696         (scalbln_test): Likewise.
35697         (signbit_test): Likewise.
35698         (sin_test): Likewise.
35699         (sin_test_tonearest): Likewise.
35700         (sin_test_towardzero): Likewise.
35701         (sin_test_downward): Likewise.
35702         (sin_test_upward): Likewise.
35703         (sincos_test): Likewise.
35704         (sinh_test): Likewise.
35705         (sinh_test_tonearest): Likewise.
35706         (sinh_test_towardzero): Likewise.
35707         (sinh_test_downward): Likewise.
35708         (sinh_test_upward): Likewise.
35709         (sqrt_test): Likewise.
35710         (sqrt_test_tonearest): Likewise.
35711         (sqrt_test_towardzero): Likewise.
35712         (sqrt_test_downward): Likewise.
35713         (sqrt_test_upward): Likewise.
35714         (tan_test): Likewise.
35715         (tan_test_tonearest): Likewise.
35716         (tan_test_towardzero): Likewise.
35717         (tan_test_downward): Likewise.
35718         (tan_test_upward): Likewise.
35719         (tanh_test): Likewise.
35720         (tgamma_test): Likewise.
35721         (trunc_test): Likewise.
35722         (y0_test): Likewise.
35723         (y1_test): Likewise.
35724         (yn_test): Likewise.
35725         (significand_test): Likewise.
35727         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35728         individual tests in comment.
35729         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35730         (prev_max_error): New variable.
35731         (prev_real_max_error): Likewise.
35732         (prev_imag_max_error): Likewise.
35733         (compare_ulp_data): Don't refer to test names in comment.
35734         (find_test_ulps): Remove function.
35735         (find_function_ulps): Likewise.
35736         (find_complex_function_ulps): Likewise.
35737         (init_max_error): Take function name as argument.  Look up ulps
35738         for that function.
35739         (print_ulps): Remove function.
35740         (print_max_error): Use prev_max_error instead of calling
35741         find_function_ulps.
35742         (print_complex_max_error): Use prev_real_max_error and
35743         prev_imag_max_error instead of calling find_complex_function_ulps.
35744         (check_float_internal): Take max_ulp parameter instead of calling
35745         find_test_ulps.  Don't call print_ulps.
35746         (check_float): Update call to check_float_internal.
35747         (check_complex): Update calls to check_float_internal.
35748         (START): Pass argument to init_max_error.
35749         * math/gen-libm-test.pl (%results): Don't include "kind"
35750         information.
35751         (parse_ulps): Don't handle ulps of individual tests.
35752         (print_ulps_file): Likewise.
35753         (output_ulps): Likewise.
35754         * math/README.libm-test: Update.
35755         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35756         individual tests.
35757         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35758         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35759         * sysdeps/arm/libm-test-ulps: Likewise.
35760         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35761         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35762         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35763         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35764         * sysdeps/microblaze/libm-test-ulps: Likewise.
35765         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35766         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35767         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35768         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35769         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35770         * sysdeps/sh/libm-test-ulps: Likewise.
35771         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35772         * sysdeps/tile/libm-test-ulps: Likewise.
35773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35775 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35777         * math/libm-test.inc (print_complex_max_error): Check separately
35778         whether real and imaginary errors are within allowed range and
35779         pass 0 to print_complex_function_ulps instead of value within
35780         allowed range.
35782 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35784         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35785         formatting.
35786         (get_handles_fopen): Likewise.
35787         (do_write_test): Likewise.
35789         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35791         * libio/fileops.c (do_ftell): Use cached offset when
35792         available.
35793         * libio/iofwide.c (do_ftell_wide): Likewise.
35794         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35795         _IO_file_attach.
35796         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35798         [BZ #16532]
35799         * libio/libioP.h (get_file_offset): New function.
35800         * libio/fileops.c (get_file_offset): Likewise.
35801         (do_ftell): Likewise.
35802         (_IO_new_file_seekoff): Split out ftell logic.
35803         * libio/wfileops.c (do_ftell_wide): Likewise.
35804         (_IO_wfile_seekoff): Split out ftell logic.
35805         * libio/tst-ftell-active-handler.c: New test case.
35806         * libio/Makefile (tests): Add it.
35808 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35810         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35811         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35813 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35815         [BZ #16639]
35816         * nscd/connections.c (nscd_init): Call do_exit.
35817         (start_threads): Call do_exit and notify_parent.
35818         (begin_drop_privileges): Call do_exit.
35819         (finish_drop_privileges): Likewise.
35820         * nscd/selinux.c (preserve_capabilities): Likewise.
35821         (install_real_capabilities): Likewise.
35822         (nscd_selinux_enabled): Likewise.
35823         (avc_create_thread): Likewise.
35824         (avc_alloc_lock): Likewise.
35825         (nscd_avc_init): Likewise.
35826         * nscd/nscd.c (parent_fd): New static variable.
35827         (main): Create a pipe between parent and child processes.
35828         Skip closing parent_fd.
35829         (monitor_child): New function.
35830         (do_exit): Likewise.
35831         (notify_parent): Likewise.
35832         * nscd/nscd.h (notify_parent): Likewise.
35833         (do_exit): Likewise.
35835 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35837         * malloc/malloc.c (__libc_calloc): Revert last change.
35839 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35843 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35845         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35847         implementation.
35848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35849         (__libc_ifunc_impl_list): Likewise.
35850         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35851         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35852         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35853         * string/strrchr.c: Define STRRCHR.
35855 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35857         * benchtest/bench-strtok.c (simple_strtok): Delete.
35858         (strtok_string): Use as benchmark.
35859         * string/strtok (STRTOK): New macro.
35861 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35863         * manual/threads.texi: Add header and standard comments to all
35864         functions.
35866         * elf/dl-lookup.c (check_match): New function.
35867         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35868         (do_lookup_x): Remove nested function check_match. Use non-nested
35869         function check_match.
35871 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35873         * csu/Makefile (generated, before-compile): Use += rather than =.
35874         * catgets/Makefile (generated, generated-dirs): Likewise.
35875         * debug/Makefile (generated): Likewise.
35876         * dlfcn/Makefile (generated): Likewise.
35877         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35878         * iconvdata/Makefile (before-compile, generated): Likewise.
35879         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35880         * libio/Makefile (generated): Likewise.
35881         * malloc/Makefile (generated): Likewise.
35882         * manual/Makefile (generated, generated-dirs): Likewise.
35883         * misc/Makefile (generated): Likewise.
35884         * posix/Makefile (generated): Likewise.
35885         * resolv/Makefile (generated): Likewise.
35886         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35887         * timezone/Makefile (generated, generated-dirs): Likewise.
35889         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35891 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35894         power8 implementation.
35895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35896         file: POWER8 llround ifunc implementation.
35897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35898         (__lllround): Add POWER8 implementation.
35899         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35900         POWER8 llround implementation.
35902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35903         power8 implementation.
35904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35905         file: POWER8 llrint ifunc implementation.
35906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35907         Add POWER8 implementation.
35908         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35909         POWER8 llrint implementation.
35911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35912         power8 implementation.
35913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35914         file: POWER8 finite ifunc implementation.
35915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35916         Add POWER8 implementation.
35917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35918         Likewise.
35919         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35920         POWER8 finite implementation.
35921         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35924         power8 implementation.
35925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35926         file: POWER8 isinf ifunc implementation.
35927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35928         POWER8 implementation.
35929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35930         Likewise.
35931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35932         isinf implementation.
35933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35935         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35936         (INIT_ARCH): Add hwcap2 initialization.
35937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35938         power8 implementation.
35939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35940         file: POWER8 isnan ifunc implementation.
35941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35942         POWER8 implementation.
35943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35944         Likewise.
35945         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35946         isnan implementation.
35947         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35949 2014-02-27  Joey Ye  <joey.ye@arm.com>
35951         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35952         (_FP_NANFRAC_Q): Set to zero.
35954 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35956         [BZ #16623]
35957         * math/auto-libm-test-in: New test inputs.
35958         * math/auto-libm-test-out: Regenerate.
35959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35960         and DA.
35961         (__cos): Likewise.
35962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35964 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35966         * scripts/evaluate-test.sh: Take new argument indicating whether
35967         failure is expected.
35968         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35969         indicating whether failure is expected.
35970         * conform/Makefile (test-xfail-run-conformtest): New variable.
35971         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35972         level.
35973         * posix/Makefile (test-xfail-annexc): New variable.
35974         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35976 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35978         * argp/Makefile: Include Makeconfig immediately after defining
35979         subdir.
35980         * assert/Makefile: Likewise.
35981         * benchtests/Makefile: Likewise.
35982         * catgets/Makefile: Likewise.
35983         * conform/Makefile: Likewise.
35984         * crypt/Makefile: Likewise.
35985         * csu/Makefile: Likewise.
35986         (all): Remove target.
35987         * ctype/Makefile: Include Makeconfig immediately after defining
35988         subdir.
35989         * debug/Makefile: Likewise.
35990         * dirent/Makefile: Likewise.
35991         * dlfcn/Makefile: Likewise.
35992         * gmon/Makefile: Likewise.
35993         * gnulib/Makefile: Likewise.
35994         * grp/Makefile: Likewise.
35995         * gshadow/Makefile: Likewise.
35996         * hesiod/Makefile: Likewise.
35997         * hurd/Makefile: Likewise.
35998         (all): Remove target.
35999         * iconvdata/Makefile: Include Makeconfig immediately after
36000         defining subdir.
36001         * inet/Makefile: Likewise.
36002         * intl/Makefile: Likewise.
36003         * io/Makefile: Likewise.
36004         * libio/Makefile: Likewise.
36005         (all): Remove target.
36006         * locale/Makefile: Include Makeconfig immediately after defining
36007         subdir.
36008         * login/Makefile: Likewise.
36009         * mach/Makefile: Likewise.
36010         (all): Remove target.
36011         * malloc/Makefile: Include Makeconfig immediately after defining
36012         subdir.
36013         (all): Remove target.
36014         * manual/Makefile: Include Makeconfig immediately after defining
36015         subdir.
36016         * math/Makefile: Likewise.
36017         * misc/Makefile: Likewise.
36018         * nis/Makefile: Likewise.
36019         * nss/Makefile: Likewise.
36020         * po/Makefile: Likewise.
36021         (all): Remove target.
36022         * posix/Makefile: Include Makeconfig immediately after defining
36023         subdir.
36024         * pwd/Makefile: Likewise.
36025         * resolv/Makefile: Likewise.
36026         * resource/Makefile: Likewise.
36027         * rt/Makefile: Likewise.
36028         * setjmp/Makefile: Likewise.
36029         * shadow/Makefile: Likewise.
36030         * signal/Makefile: Likewise.
36031         * socket/Makefile: Likewise.
36032         * soft-fp/Makefile: Likewise.
36033         * stdio-common/Makefile: Likewise.
36034         * stdlib/Makefile: Likewise.
36035         * streams/Makefile: Likewise.
36036         * string/Makefile: Likewise.
36037         * sunrpc/Makefile: Likewise.
36038         (all): Remove target.
36039         * sysvipc/Makefile: Include Makeconfig immediately after defining
36040         subdir.
36041         * termios/Makefile: Likewise.
36042         * time/Makefile: Likewise.
36043         * timezone/Makefile: Likewise.
36044         (all): Remove target.
36045         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36046         subdir.
36047         * wctype/Makefile: Likewise.
36049 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36051         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36052         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36053         (libc_feholdexcept_setround_mips): Ditto.
36054         (libc_feholdsetround): New.
36055         (libc_feholdsetroundf): New.
36056         (libc_feholdsetroundl): New.
36057         (libc_feupdateenv_test_mips): New.
36058         (libc_feupdateenv_test): New.
36059         (libc_feupdateenv_testf): New.
36060         (libc_feupdateenv_testl): New.
36061         (libc_feresetround): New.
36062         (libc_feresetroundf): New.
36063         (libc_feresetroundl): New.
36064         (libc_fetestexcept_mips): New.
36065         (libc_fetestexcept): New.
36066         (libc_fetestexceptf): New.
36067         (libc_fetestexceptl): New.
36068         (HAVE_RM_CTX): New.
36069         (libc_feholdexcept_setround_mips_ctx): New.
36070         (libc_feholdexcept_setround_ctx): New.
36071         (libc_feholdexcept_setroundf_ctx): New.
36072         (libc_feholdexcept_setroundl_ctx): New.
36073         (libc_fesetenv_mips_ctx): New.
36074         (libc_fesetenv_ctx): New.
36075         (libc_fesetenv_ctxf): New.
36076         (libc_fesetenv_ctxl): New.
36077         (libc_feupdateenv_mips_ctx): New.
36078         (libc_feupdateenv_ctx): New.
36079         (libc_feupdateenvf_ctx): New.
36080         (libc_feupdateenvl_ctx): New.
36081         (libc_feholdsetround_mips_ctx): New.
36082         (libc_feholdsetround_ctx): New.
36083         (libc_feholdsetroundf_ctx): New.
36084         (libc_feholdsetroundl_ctx): New.
36085         (libc_feresetround_mips_ctx): New.
36086         (libc_feresetround_ctx): New.
36087         (libc_feresetroundf_ctx): New.
36088         (libc_feresetroundl_ctx): New.
36090 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36092         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36094         * manual/ipc.texi: New file.
36095         * manual/Makefile (chapters): Add ipc.
36096         * manual/job.texi: Add "Inter-Process Communication" to next.
36097         * manual/process.texi: Add "Inter-Process Communication" to prev.
36099 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36103 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36105         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36107         * manual/arith.texi: Fix spaces after sentences.
36108         * manual/charset.texi: Likewise.
36109         * manual/errno.texi: Likewise.
36110         * manual/install.texi: Likewise.
36111         * manual/llio.texi: Likewise.
36112         * manual/locale.texi: Likewise.
36113         * manual/maint.texi: Likewise.
36114         * manual/math.texi: Likewise.
36115         * manual/memory.texi: Likewise.
36116         * manual/message.texi: Likewise.
36117         * manual/probes.texi: Likewise.
36118         * manual/resource.texi: Likewise.
36119         * manual/signal.texi: Likewise.
36120         * manual/socket.texi: Likewise.
36121         * manual/stdio.texi: Likewise.
36122         * manual/string.texi: Likewise.
36123         * manual/time.texi: Likewise.
36124         * manual/users.texi: Likewise.
36126 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36128         [BZ #16632]
36129         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36130         _DEFAULT_SOURCE is defined.
36132 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36133             Carlos O'Donell  <carlos@redhat.com>
36135         [BZ #16613]
36136         * elf/dl-tls.c (_dl_count_modids): New function.
36137         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36138         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36139         audit library and increment generation counter.
36140         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36141         * elf/tst-audit9.c: New file.
36142         * elf/tst-auditmod9a.c: New file.
36143         * elf/tst-auditmod9b.c: New file.
36144         * elf/Makefile: Add rules to build and run tst-audit9.
36146 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36148         [BZ #15347]
36149         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36151 2014-02-25  Will Newton  <will.newton@linaro.org>
36153         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36154         (__longjmp): Restore sp and lr before restoring callee
36155         saved registers.  Add longjmp and longjmp_target
36156         SystemTap probe point.
36157         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36158         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36159         Define to zero to match jmpbuf layout.
36160         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36161         (__sigsetjmp): Save sp and lr before saving callee
36162         saved registers.  Add setjmp SystemTap probe point.
36164 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36166         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36168 2014-02-24  Andreas Schwab  <schwab@suse.de>
36170         [BZ #15804]
36171         * elf/pldd.c (wait_for_ptrace_stop): New function.
36172         (main): Call it after attaching.
36174 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36176         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36177         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36178         Versions files is now verboten.
36179         * hurd/Versions (libc: GLIBC_2.0):
36180         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36181         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36182         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36183         * mach/Versions: Likewise.
36185         * csu/Versions: Remove unused %include.
36186         * resolv/Versions: Likewise.
36188 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36190         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36191         ($(objpfx)check-local-headers.out): Likewise.
36192         ($(objpfx)begin-end-check.out): Likewise.
36193         * Makerules (check-abi-%.out): Likewise.
36194         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36195         ($(objpfx)test2.cat): Likewise.
36196         ($(objpfx)de/libc.cat): Likewise.
36197         ($(objpfx)test-gencat.out): Likewise.
36198         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36199         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36200         ($(objpfx)noload-mem): Likewise.
36201         ($(objpfx)tst-pathopt.out): Likewise.
36202         ($(objpfx)tst-rtld-load-self.out): Likewise.
36203         ($(objpfx)tst-array1-cmp.out): Likewise.
36204         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36205         ($(objpfx)tst-array2-cmp.out): Likewise.
36206         ($(objpfx)tst-array3-cmp.out): Likewise.
36207         ($(objpfx)tst-array4-cmp.out): Likewise.
36208         ($(objpfx)tst-array5-cmp.out): Likewise.
36209         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36210         ($(objpfx)check-textrel.out): Likewise.
36211         ($(objpfx)check-execstack.out): Likewise.
36212         ($(objpfx)check-localplt.out): Likewise.
36213         ($(objpfx)order2-cmp.out): Likewise.
36214         ($(objpfx)tst-leaks1-mem): Likewise.
36215         ($(objpfx)tst-leaks1-static-mem): Likewise.
36216         ($(objpfx)tst-initorder-cmp.out): Likewise.
36217         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36218         ($(objpfx)tst-unused-dep.out): Likewise.
36219         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36220         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36221         * iconv/Makefile (test-iconvconfig): Likewise.
36222         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36223         ($(objpfx)iconv-test.out): Likewise.
36224         ($(objpfx)tst-tables.out): Likewise.
36225         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36226         ($(objpfx)tst-gettext.out): Likewise.
36227         ($(objpfx)tst-translit.out): Likewise.
36228         ($(objpfx)tst-gettext2.out): Likewise.
36229         ($(objpfx)tst-gettext4.out): Likewise.
36230         ($(objpfx)tst-gettext6.out): Likewise.
36231         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36232         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36233         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36234         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36235         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36236         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36237         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36238         ($(objpfx)wordexp-tst.out): Likewise.
36239         ($(objpfx)annexc.out): Likewise.
36240         ($(objpfx)tst-fnmatch-mem): Likewise.
36241         ($(objpfx)bug-regex2-mem): Likewise.
36242         ($(objpfx)bug-regex14-mem): Likewise.
36243         ($(objpfx)bug-regex21-mem): Likewise.
36244         ($(objpfx)bug-regex31-mem): Likewise.
36245         ($(objpfx)tst-vfork3-mem): Likewise.
36246         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36247         ($(objpfx)tst-pcre-mem): Likewise.
36248         ($(objpfx)tst-boost-mem): Likewise.
36249         ($(objpfx)tst-getconf.out): Likewise.
36250         ($(objpfx)bug-ga2-mem): Likewise.
36251         ($(objpfx)bug-glob2-mem): Likewise.
36252         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36253         ($(objpfx)mtrace-tst-leaks2): Likewise.
36254         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36255         ($(objpfx)tst-printf.out): Likewise.
36256         ($(objpfx)tst-setvbuf1.out): Likewise.
36257         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36258         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36259         ($(objpfx)tst-fmtmsg.out): Likewise.
36260         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36261         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36263         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36264         * bits/sigaction.h [__USE_MISC]: Likewise.
36265         * bits/waitstatus.h: Update #endif comments.
36266         * ctype/ctype.h: Likewise.
36267         * dirent/dirent.h: Likewise.
36268         [__USE_MISC]: Remove redundant conditionals.
36269         * grp/grp.h: Update #endif comments.
36270         [__USE_GNU]: Remove redundant conditionals.
36271         [__USE_MISC]: Likewise.
36272         * inet/netinet/in.h [__USE_GNU]: Likewise.
36273         * io/sys/stat.h [__USE_MISC]: Likewise.
36274         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36275         * libio/bits/stdio.h: Update #endif comments.
36276         [__USE_MISC]: Remove redundant conditionals.
36277         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36278         * libio/stdio.h: Update #endif comments.
36279         [__USE_MISC]: Remove redundant conditionals.
36280         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36281         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36282         * math/math.h: Update #else and #endif comments.
36283         [__USE_MISC]: Remove redundant conditionals.
36284         * misc/sys/uio.h: Update #endif comments.
36285         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36286         * posix/glob.h [__USE_MISC]: Likewise.
36287         * posix/sys/types.h: Update #endif comments.
36288         [__USE_MISC]: Remove redundant conditionals.
36289         * posix/sys/wait.h: Update #endif comments.
36290         [__USE_MISC]: Remove redundant conditionals.
36291         * posix/unistd.h: Update #endif comments.
36292         [__USE_MISC]: Remove redundant conditionals.
36293         * pwd/pwd.h [__USE_GNU]: Likewise.
36294         [__USE_MISC]: Likewise.
36295         * resolv/netdb.h [__USE_GNU]: Likewise.
36296         * signal/signal.h: Update #endif comments.
36297         [__USE_MISC]: Remove redundant conditionals.
36298         * stdlib/stdlib.h: Update #else and #endif comments.
36299         [__USE_MISC]: Remove redundant conditionals.
36300         [__USE_GNU]: Likewise.
36301         * string/bits/string2.h [__USE_MISC]: Likewise.
36302         * string/string.h: Update #endif comments.
36303         [__USE_MISC]: Remove redundant conditionals.
36304         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36305         Likewise.
36306         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36307         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36308         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36309         Likewise.
36310         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36311         Likewise.
36312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36313         comments.
36314         [__USE_MISC]: Remove redundant conditionals.
36315         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36316         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36317         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36318         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36319         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36320         Likewise.
36321         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36322         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36323         Likewise.
36324         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36325         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36326         Likewise.
36327         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36328         Likewise.
36329         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36330         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36333         Likewise.
36334         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36335         * sysdeps/x86/bits/string.h: Update #endif comments.
36336         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36337         conditionals.
36338         * time/sys/time.h: Update #endif comments.
36339         * time/time.h: Likewise.
36340         [__USE_MISC]: Remove redundant conditionals.
36342 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36344         [BZ #16600]
36345         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36347 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36349         * Versions.def (librt): Add GLIBC_2.17.
36351 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36353         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36354         synonym for _SYS_AUXV_H to allow direct inclusion.
36355         * sysdeps/sparc/bits/hwcap.h: Likewise.
36356         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36357         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36358         * sysdeps/sparc/sysdep.h: Likewise.
36360 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36362         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36364 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36366         * benchtests/bench-strrchr.c: Print length instead of position.
36368 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36370         [BZ #16611]
36371         * sysdeps/unix/sysv/linux/kernel-features.h
36372         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36373         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36374         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36375         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36376         Likewise.
36377         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36378         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36379         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36380         (__ASSUME_SENDMMSG): Define instead of using previous
36381         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36382         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36383         (__ASSUME_SENDMMSG_SYSCALL): Define.
36384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36385         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36386         Likewise.
36387         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36388         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36389         Likewise.
36390         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36391         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36392         Likewise.
36393         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36394         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36395         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36396         [__ASSUME_SENDMMSG]: Change conditionals to
36397         [__ASSUME_SENDMMSG_SOCKETCALL].
36398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36399         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36400         Define.
36401         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36402         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36403         Likewise.
36404         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36405         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36406         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36407         [!__ASSUME_SENDMMSG]: Change conditional to
36408         [!__ASSUME_SENDMMSG_SOCKETCALL].
36409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36410         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36411         Define.
36413         [BZ #16610]
36414         * sysdeps/unix/sysv/linux/kernel-features.h
36415         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36416         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36417         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36418         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36419         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36420         [__i386__ || __sparc__]
36421         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36422         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36423         (__ASSUME_RECVMMSG): Define instead of using previous
36424         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36425         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36426         (__ASSUME_RECVMMSG_SYSCALL): Define.
36427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36429         Likewise.
36430         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36432         Likewise.
36433         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36434         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36435         Likewise.
36436         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36437         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36438         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36439         [__ASSUME_RECVMMSG]: Change condition to
36440         [__ASSUME_RECVMMSG_SOCKETCALL].
36441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36443         Define.
36444         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36445         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36447         Likewise.
36448         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36449         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36450         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36451         [!__ASSUME_RECVMMSG]: Change condition to
36452         [!__ASSUME_RECVMMSG_SOCKETCALL].
36453         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36454         (__ASSUME_RECVMMSG_SYSCALL): Define.
36456         [BZ #16609]
36457         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36458         __powerpc__ || __s390__ || __sh__ || __sparc__]
36459         (__ASSUME_SOCKETCALL): Define.
36460         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36461         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36462         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36463         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36464         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36465         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36466         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36467         (__ASSUME_ACCEPT4): Define instead of using previous
36468         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36469         __powerpc__ || __sparc__ || __s390__)] condition.
36470         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36471         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36472         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36473         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36474         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36475         [!__ASSUME_ACCEPT4]: Change condition to
36476         [!__ASSUME_ACCEPT4_SOCKETCALL].
36477         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36478         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36479         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36480         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36481         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36482         __ASSUME_ACCEPT4_SYSCALL.
36483         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36484         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36486         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36487         __ASSUME_ACCEPT4_SYSCALL.
36488         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36489         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36490         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36491         [__ASSUME_ACCEPT4]: Change condition to
36492         [__ASSUME_ACCEPT4_SOCKETCALL].
36493         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36494         (__ASSUME_SOCKETCALL): Define.
36495         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36497         (__ASSUME_SOCKETCALL): Define.
36498         (__ASSUME_ACCEPT4): Remove.
36499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36500         Define.
36501         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36502         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36503         Likewise.
36504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36505         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36507         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36508         macro.
36509         (HWCAP_ARM_LPAE): Likewise.
36510         (HWCAP_ARM_EVTSTRM): Likewise.
36511         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36512         Add vpfd32, lpae and evtstrm.
36513         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36514         Increase to 22.
36516 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36518         * math/auto-libm-test-in: Add tests of clog10.
36519         * math/auto-libm-test-out: Regenerated.
36520         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36521         * sysdeps/i386/fpu/libm-test-ulps: Update.
36522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524 2014-02-18  Andreas Schwab  <schwab@suse.de>
36526         [BZ #16574]
36527         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36528         Store non-zero if the second buffer was newly allocated.
36529         (send_dg): Likewise.
36530         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36531         to send_vc and send_dg.
36532         (res_nsend): Pass NULL for ansp2_malloced.
36533         * resolv/res_query.c (__libc_res_nquery): Add parameter
36534         answerp2_malloced and pass it down to __libc_res_nsend.
36535         (res_nquery): Pass additional NULL to __libc_res_nquery.
36536         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36537         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36538         second answer buffer if answerp2_malloced was set.
36539         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36540         (__libc_res_nquerydomain): Add parameter
36541         answerp2_malloced and pass it down to __libc_res_nquery.
36542         (res_nquerydomain): Pass additional NULL to
36543         __libc_res_nquerydomain.
36544         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36545         additional NULL to __libc_res_nsend and __libc_res_nquery.
36546         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36547         additional NULL to __libc_res_nsearch.
36548         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36549         parameter of __libc_res_nsearch to check for separately allocated
36550         second buffer.
36551         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36552         __libc_res_nquery.
36553         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36554         additional NULL to __libc_res_nquery.
36555         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36556         __libc_res_nsearch.
36557         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36558         * include/resolv.h: Update prototypes of __libc_res_nquery,
36559         __libc_res_nsearch, __libc_res_nsend.
36561 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36563         * math/auto-libm-test-in: Add tests of fma.
36564         * math/auto-libm-test-out: Regenerated.
36565         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36566         (fma_towardzero_test_data): Likewise.
36567         (fma_downward_test_data): Likewise.
36568         (fma_upward_test_data): Likewise.
36569         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36570         mpc_mode.
36571         (rounding_modes): Add values for new field.
36572         (func_calc_method): Add value mpfr_fff_f.
36573         (func_calc_desc): Add mpfr_fff_f union field.
36574         (test_function): Add field exact_args.
36575         (FUNC): Add macro argument EXACT_ARGS.
36576         (FUNC_mpfr_f_f): Update call to FUNC.
36577         (FUNC_mpfr_f_f): Likewise.
36578         (FUNC_mpfr_ff_f): Likewise.
36579         (FUNC_mpfr_if_f): Likewise.
36580         (FUNC_mpc_c_f): Likewise.
36581         (FUNC_mpc_c_c): Likewise.
36582         (test_functions): Add fma.  Update calls to FUNC.
36583         (handle_input_arg): Add argument exact_args.
36584         (add_test): Update call to handle_input_arg.
36585         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36586         (output_for_one_input_case): Update call to calc_generic_results.
36587         Recalculate exact zero results in each rounding mode.
36589         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36590         non-negative before setting low bit.
36591         * math/auto-libm-test-in: Mark one asin test possibly having
36592         spurious underflow.
36593         * math/auto-libm-test-out: Regenerated.
36594         * sysdeps/i386/fpu/libm-test-ulps: Update.
36595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36597 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36599         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36600         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36601         ports/sysdeps/unix/sysv/linux/microblaze.
36602         * README: Add missing listing for microblaze*-*-linux-gnu.
36604 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36607         duplicate code
36609 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36611         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36612         * sysdeps/unix/sysv/linux/ia64: Move directory from
36613         ports/sysdeps/unix/sysv/linux/ia64.
36614         * README: Update listing for ia64-*-linux-gnu.
36616 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36617             Joseph Myers  <joseph@codesourcery.com>
36619         * Makeconfig (test-name): New variable.
36620         (evaluate-test): Likewise.
36621         * Makerules (do-test-clean): Remove .test-result files.
36622         (common-mostlyclean): Likewise.
36623         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36624         * scripts/evaluate-test.sh: New file.
36626 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36628         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36629         separate $(objpfx)tst-fopenloc-cmp.out and
36630         $(objpfx)tst-fopenloc-mem.out targets.
36631         (tests): Update dependencies.
36632         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36633         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36634         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36635         (tst-rxspencer-no-utf8-ARGS): New variable.
36636         (tst-rxspencer-no-utf8-ENV): Likewise.
36637         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36638         instead of $(objpfx)tst-rxspencer-mem.
36639         ($(objpfx)tst-rxspencer-mem): Change target to
36640         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36641         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36642         * posix/tst-rxspencer-no-utf8.c: New file.
36644         * elf/Makefile ($(objpfx)order.out): Remove rule.
36645         [$(run-built-tests) = yes] (tests): Depend on
36646         $(objpfx)order-cmp.out.
36647         ($(objpfx)order-cmp.out): New rule.
36648         [$(run-built-tests) = yes] (tests): Depend on
36649         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36650         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36651         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36652         $(objpfx)tst-array5-static-cmp.out.
36653         ($(objpfx)tst-array1.out): Remove rule.
36654         ($(objpfx)tst-array1-cmp.out): New rule.
36655         ($(objpfx)tst-array1-static.out): Remove rule.
36656         ($(objpfx)tst-array1-static-cmp.out): New rule.
36657         ($(objpfx)tst-array2.out): Remove rule.
36658         ($(objpfx)tst-array2-cmp.out): New rule.
36659         ($(objpfx)tst-array3.out): Remove rule.
36660         ($(objpfx)tst-array3-cmp.out): New rule.
36661         ($(objpfx)tst-array4.out): Remove rule.
36662         ($(objpfx)tst-array4-cmp.out): New rule.
36663         ($(objpfx)tst-array5.out): Remove rule.
36664         ($(objpfx)tst-array5-cmp.out): New rule.
36665         ($(objpfx)tst-array5-static.out): Remove rule.
36666         ($(objpfx)tst-array5-static-cmp.out): New rule.
36667         [$(run-built-tests) = yes] (tests): Depend on
36668         $(objpfx)order2-cmp.out.
36669         ($(objpfx)order2.out): Remove rule.
36670         ($(objpfx)order2-cmp.out): New rule.
36671         ($(objpfx)tst-initorder.out): Remove rule.
36672         [$(run-built-tests) = yes] (tests): Depend on
36673         $(objpfx)tst-initorder-cmp.out.
36674         ($(objpfx)tst-initorder-cmp.out): New rule.
36675         ($(objpfx)tst-initorder2.out): Remove rule.
36676         [$(run-built-tests) = yes] (tests): Depend on
36677         $(objpfx)tst-initorder2-cmp.out.
36678         ($(objpfx)tst-initorder2-cmp.out): New rule.
36679         [$(run-built-tests) = yes] (tests): Depend on
36680         $(objpfx)tst-unused-dep-cmp.out.
36681         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36682         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36683         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36684         on $(objpfx)tst-setvbuf1-cmp.out.
36685         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36686         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36687         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36688         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36689         ($(objpfx)tst-svc.out): Remove rule.
36690         ($(objpfx)tst-svc-cmp.out): New rule.
36692 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36694         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36695         * ctype/ctype.h [__USE_MISC]: Likewise.
36696         * dirent/dirent.h [__USE_MISC]: Likewise.
36697         * grp/grp.h [__USE_MISC]: Likewise.
36698         * io/fcntl.h [__USE_MISC]: Likewise.
36699         * io/sys/stat.h [__USE_MISC]: Likewise.
36700         * libio/stdio.h [__USE_MISC]: Likewise.
36701         * posix/unistd.h [__USE_MISC]: Likewise.
36702         * pwd/pwd.h [__USE_MISC]: Likewise.
36703         * stdlib.h [__USE_MISC]: Likewise.
36704         * string/bits/string2.h [__USE_MISC]: Likewise.
36705         * string/string.h [__USE_MISC]: Likewise.
36706         * time/time.h [__USE_MISC]: Likewise.
36708 2014-02-13  Andreas Schwab  <schwab@suse.de>
36710         [BZ #16574]
36711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36712         second answer buffer if it was separately allocated.
36714 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36716         * sysdeps/mips/math-tests.h: Include <features.h>.
36717         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36718         (ROUNDING_TESTS_long_double): Do not define.
36719         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36720         (EXCEPTION_TESTS_long_double): Likewise.
36721         * sysdeps/mips/mips64/libm-test-ulps: Update.
36723         * include/features.h (__USE_BSD): Remove macro definitions.
36724         (__USE_SVID): Likewise.
36725         (_BSD_SOURCE): Likewise.
36726         (_SVID_SOURCE): Likewise.
36727         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36728         from definition of _DEFAULT_SOURCE.
36729         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36730         [_DEFAULT_SOURCE].
36731         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36732         * bits/mman.h [__USE_BSD]: Likewise.
36733         * bits/termios.h [__USE_BSD]: Likewise.
36734         * bits/waitstatus.h [__USE_BSD]: Likewise.
36735         * ctype/ctype.h [__USE_SVID]: Likewise.
36736         * dirent/dirent.h [__USE_BSD]: Likewise.
36737         * grp/grp.h [__USE_SVID]: Likewise.
36738         [__USE_BSD]: Likewise.
36739         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36740         * io/fcntl.h [__USE_BSD]: Likewise.
36741         * io/ftw.h [__USE_BSD]: Likewise.
36742         * io/sys/stat.h [__USE_BSD]: Likewise.
36743         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36744         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36745         * libio/stdio.h [__USE_SVID]: Likewise.
36746         [__USE_BSD]: Likewise.
36747         * math/math.h [__USE_SVID]: Likewise.
36748         [__USE_BSD]: Likewise.
36749         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36750         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36751         * misc/search.h [__USE_SVID]: Likewise.
36752         * misc/sys/mman.h [__USE_BSD]: Likewise.
36753         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36754         * misc/sys/uio.h [__USE_BSD]: Likewise.
36755         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36756         * posix/glob.h [__USE_BSD]: Likewise.
36757         * posix/regex.h [__USE_BSD]: Likewise.
36758         * posix/sys/types.h [__USE_BSD]: Likewise.
36759         [__USE_SVID]: Likewise.
36760         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36761         * posix/sys/wait.h [__USE_BSD]: Likewise.
36762         [__USE_SVID]: Likewise.
36763         * posix/unistd.h [__USE_BSD]: Likewise.
36764         [__USE_SVID]: Likewise.
36765         * pwd/pwd.h [__USE_SVID]: Likewise.
36766         * resolv/netdb.h [__USE_BSD]: Likewise.
36767         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36768         * signal/signal.h [__USE_BSD]: Likewise.
36769         [__USE_SVID]: Likewise.
36770         * socket/sys/socket.h [__USE_BSD]: Likewise.
36771         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36772         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36773         [__USE_SVID]: Likewise.
36774         * string/bits/string2.h [__USE_BSD]: Likewise.
36775         [__USE_SVID]: Likewise.
36776         * string/bits/string3.h [__USE_BSD]: Likewise.
36777         * string/endian.h [__USE_BSD]: Likewise.
36778         * string/string.h [__USE_SVID]: Likewise.
36779         [__USE_BSD]: Likewise.
36780         * string/strings.h [__USE_BSD]: Likewise.
36781         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36782         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36783         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36784         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36785         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36786         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36787         Likewise.
36788         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36789         Likewise.
36790         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36791         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36792         Likewise.
36793         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36794         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36795         Likewise.
36796         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36797         Likewise.
36798         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36799         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36801         Likewise.
36802         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36803         Likewise.
36804         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36805         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36806         * termios/termios.h [__USE_BSD]: Likewise.
36807         * time/sys/time.h [__USE_BSD]: Likewise.
36808         * time/time.h [__USE_BSD]: Likewise.
36809         [__USE_SVID]: Likewise.
36811         * Makefile (subdir_targets): Remove subdir_lint.out.
36813         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36814         (do-tst-printf): Likewise.
36815         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36816         $(objpfx)tst-printf.out.
36818         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36820         * Makerules (check-abi-%): Change target to
36821         $(objpfx)check-abi-%.out.
36822         (check-abi target): Update dependencies.
36823         (check-abi-pattern variable): Redirect output of diff to $@.
36824         (check-abi variable): Likewise.
36825         * elf/Makefile (check-abi): Update dependencies.
36827         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36828         unused.
36829         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36830         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36831         subnormal range.
36832         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36833         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36834         value has largest subnormal exponent.
36835         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36836         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36837         * sysdeps/aarch64/soft-fp/sfp-machine.h
36838         (_FP_TININESS_AFTER_ROUNDING): New macro.
36839         * sysdeps/alpha/soft-fp/sfp-machine.h
36840         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36841         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36842         Likewise.
36843         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36844         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36845         * sysdeps/mips/soft-fp/sfp-machine.h
36846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36847         * sysdeps/powerpc/soft-fp/sfp-machine.h
36848         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36849         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36850         Likewise.
36851         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36852         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36853         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36854         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36855         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36856         Likewise.
36858 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36860         [BZ #16545]
36861         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36862         model 1.
36864 2014-02-12  Richard Henderson  <rth@redhat.com>
36866         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36867         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36868         * sysdeps/unix/sysv/linux/alpha: Move directory from
36869         ports/sysdeps/unix/sysv/linux/alpha.
36870         * README: Update listing for alpha-*-linux-gnu.
36872 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36874         * include/features.h: Update comment documenting feature test
36875         macros.
36876         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36877         _DEFAULT_SOURCE.
36878         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36879         (_SVID_SOURCE): Likewise.
36880         (_DEFAULT_SOURCE): Update description of default features.
36881         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36882         with _GNU_SOURCE.
36883         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36884         (S_ISVTX): Likewise.
36885         * manual/math.texi (Mathematical Constants): Likewise.
36886         * manual/signal.texi (Interrupted Primitives): Likewise.
36887         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36888         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36889         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36890         Don't refer to _SVID_SOURCE in warning text.
36892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36894         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36895         already defined.
36896         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36897         * sysdeps/mips/dl-lookup.c: Remove.
36898         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36900 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36902         [BZ #16447]
36903         * math/auto-libm-test-in: Add testcase for expl.
36904         * math/auto-libm-test-out: Regenerate.
36905         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36906         calculation of unsafe.
36907         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36909 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36911         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36912         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36913         ports/sysdeps/unix/sysv/linux/aarch64.
36914         * README: Update listing for aarch64*-*-linux-gnu.
36916 2014-02-11  Will Newton  <will.newton@linaro.org>
36918         * manual/probes.texi (Mathematical Function Probes): Use
36919         "triggered" instead of "hit".
36921         * manual/probes.texi (Internal Probes): Add documentation
36922         of setjmp, longjmp and longjmp_target probes.
36924         * include/stap-probe.h: Add comment about probe argument
36925         format.
36927         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36928         definition.  (tr_where, tr_freehook, tr_mallochook,
36929         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36931 2014-02-11  David S. Miller  <davem@davemloft.net>
36933         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36934         processing int_tests.
36936 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36938         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36939         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36940         * sysdeps/unix/sysv/linux/mips: Move directory from
36941         ports/sysdeps/unix/sysv/linux/mips.
36942         * README: Update listing for mips-*-linux-gnu and
36943         mips64-*-linux-gnu.
36945 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36947         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36948         * sysdeps/unix/sysv/linux/m68k: Move directory from
36949         ports/sysdeps/unix/sysv/linux/m68k.
36950         * README: Update listing for m68k-*-linux-gnu.
36952 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36954         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36955         * sysdeps/unix/sysv/linux/generic: Move directory from
36956         ports/sysdeps/unix/sysv/linux/generic.
36957         * sysdeps/unix/sysv/linux/tile: Move directory from
36958         ports/sysdeps/unix/sysv/linux/tile.
36959         * README: Update listing for tile*-*-linux-gnu.
36961 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36963         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36964         __builtin_expect.
36965         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36966         * catgets/open_catalog.c (__open_catalog): Likewise.
36967         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36968         * debug/confstr_chk.c: Likewise.
36969         * debug/fread_chk.c (__fread_chk): Likewise.
36970         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36971         * debug/getgroups_chk.c: Likewise.
36972         * debug/mbsnrtowcs_chk.c: Likewise.
36973         * debug/mbsrtowcs_chk.c: Likewise.
36974         * debug/mbstowcs_chk.c: Likewise.
36975         * debug/memcpy_chk.c: Likewise.
36976         * debug/memmove_chk.c: Likewise.
36977         * debug/mempcpy_chk.c: Likewise.
36978         * debug/memset_chk.c: Likewise.
36979         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36980         * debug/strcat_chk.c (__strcat_chk): Likewise.
36981         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36982         * debug/strncat_chk.c (__strncat_chk): Likewise.
36983         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36984         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36985         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36986         * debug/wcpncpy_chk.c: Likewise.
36987         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36988         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36989         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36990         * debug/wcsncpy_chk.c: Likewise.
36991         * debug/wcsnrtombs_chk.c: Likewise.
36992         * debug/wcsrtombs_chk.c: Likewise.
36993         * debug/wcstombs_chk.c: Likewise.
36994         * debug/wmemcpy_chk.c: Likewise.
36995         * debug/wmemmove_chk.c: Likewise.
36996         * debug/wmempcpy_chk.c: Likewise.
36997         * debug/wmemset_chk.c: Likewise.
36998         * dirent/scandirat.c (SCANDIRAT): Likewise.
36999         * dlfcn/dladdr1.c (dladdr1): Likewise.
37000         * dlfcn/dladdr.c (dladdr): Likewise.
37001         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37002         * dlfcn/dlerror.c (__dlerror): Likewise.
37003         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37004         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37005         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37006         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37007         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37008         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37009         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37010         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37011         Likewise.
37012         * elf/dl-conflict.c: Likewise.
37013         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37014         * elf/dl-dst.h: Likewise.
37015         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37016         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37017         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37018         * elf/dl-init.c (call_init, _dl_init): Likewise.
37019         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37020         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37021         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37022         Likewise.
37023         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37024         Likewise.
37025         * elf/dl-minimal.c (__libc_memalign): Likewise.
37026         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37027         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37028         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37029         * elf/dl-sym.c (do_sym): Likewise.
37030         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37031         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37032         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37033         * elf/dl-writev.h (_dl_writev): Likewise.
37034         * elf/ldconfig.c (search_dir): Likewise.
37035         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37036         (dl_main): Likewise.
37037         * elf/setup-vdso.h (setup_vdso): Likewise.
37038         * grp/compat-initgroups.c (compat_call): Likewise.
37039         * grp/fgetgrent.c (fgetgrent): Likewise.
37040         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37041         * grp/putgrent.c (putgrent): Likewise.
37042         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37043         Likewise.
37044         * hurd/hurdinit.c: Likewise.
37045         * iconvdata/8bit-gap.c (struct): Likewise.
37046         * iconvdata/ansi_x3.110.c : Likewise.
37047         * iconvdata/big5.c : Likewise.
37048         * iconvdata/big5hkscs.c : Likewise.
37049         * iconvdata/cp1255.c: Likewise.
37050         * iconvdata/cp1258.c : Likewise.
37051         * iconvdata/cp932.c : Likewise.
37052         * iconvdata/euc-cn.c: Likewise.
37053         * iconvdata/euc-jisx0213.c : Likewise.
37054         * iconvdata/euc-jp.c: Likewise.
37055         * iconvdata/euc-jp-ms.c : Likewise.
37056         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37057         * iconvdata/gb18030.c : Likewise.
37058         * iconvdata/gbbig5.c (const): Likewise.
37059         * iconvdata/gbgbk.c: Likewise.
37060         * iconvdata/gbk.c : Likewise.
37061         * iconvdata/ibm1364.c : Likewise.
37062         * iconvdata/ibm930.c : Likewise.
37063         * iconvdata/ibm932.c: Likewise.
37064         * iconvdata/ibm933.c : Likewise.
37065         * iconvdata/ibm935.c : Likewise.
37066         * iconvdata/ibm937.c : Likewise.
37067         * iconvdata/ibm939.c : Likewise.
37068         * iconvdata/ibm943.c: Likewise.
37069         * iconvdata/iso_11548-1.c: Likewise.
37070         * iconvdata/iso-2022-cn.c : Likewise.
37071         * iconvdata/iso-2022-cn-ext.c : Likewise.
37072         * iconvdata/iso-2022-jp-3.c: Likewise.
37073         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37074         * iconvdata/iso-2022-kr.c : Likewise.
37075         * iconvdata/iso646.c (gconv_end): Likewise.
37076         * iconvdata/iso_6937-2.c : Likewise.
37077         * iconvdata/iso_6937.c : Likewise.
37078         * iconvdata/iso8859-1.c: Likewise.
37079         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37080         * iconvdata/shift_jisx0213.c : Likewise.
37081         * iconvdata/sjis.c : Likewise.
37082         * iconvdata/t.61.c : Likewise.
37083         * iconvdata/tcvn5712-1.c : Likewise.
37084         * iconvdata/tscii.c: Likewise.
37085         * iconvdata/uhc.c : Likewise.
37086         * iconvdata/unicode.c (gconv_end): Likewise.
37087         * iconvdata/utf-16.c (gconv_end): Likewise.
37088         * iconvdata/utf-32.c (gconv_end): Likewise.
37089         * iconvdata/utf-7.c (base64): Likewise.
37090         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37091         * iconv/gconv_close.c (__gconv_close): Likewise.
37092         * iconv/gconv_open.c (__gconv_open): Likewise.
37093         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37094         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37095         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37096         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37097         (ucs4le_internal_loop_single): Likewise.
37098         * iconv/iconv.c (iconv): Likewise.
37099         * iconv/iconv_close.c: Likewise.
37100         * iconv/loop.c (SINGLE): Likewise.
37101         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37102         * include/atomic.h: Likewise.
37103         * inet/inet6_option.c (option_alloc): Likewise.
37104         * intl/bindtextdom.c (set_binding_values): Likewise.
37105         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37106         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37107         * intl/localealias.c (read_alias_file): Likewise.
37108         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37109         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37110         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37111         * libio/fmemopen.c (fmemopen): Likewise.
37112         * libio/iofgets.c (_IO_fgets): Likewise.
37113         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37114         * libio/iofgetws.c (fgetws): Likewise.
37115         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37116         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37117         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37118         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37119         * locale/findlocale.c (_nl_find_locale): Likewise.
37120         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37121         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37122         Likewise.
37123         * locale/setlocale.c (setlocale): Likewise.
37124         * login/programs/pt_chown.c (main): Likewise.
37125         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37126         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37127         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37128         (mmap, mmap64, mremap, munmap): Likewise.
37129         * math/e_exp2l.c: Likewise.
37130         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37131         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37132         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37133         * math/s_catan.c (__catan): Likewise.
37134         * math/s_catanf.c (__catanf): Likewise.
37135         * math/s_catanh.c (__catanh): Likewise.
37136         * math/s_catanhf.c (__catanhf): Likewise.
37137         * math/s_catanhl.c (__catanhl): Likewise.
37138         * math/s_catanl.c (__catanl): Likewise.
37139         * math/s_ccosh.c (__ccosh): Likewise.
37140         * math/s_ccoshf.c (__ccoshf): Likewise.
37141         * math/s_ccoshl.c (__ccoshl): Likewise.
37142         * math/s_cexp.c (__cexp): Likewise.
37143         * math/s_cexpf.c (__cexpf): Likewise.
37144         * math/s_cexpl.c (__cexpl): Likewise.
37145         * math/s_clog10.c (__clog10): Likewise.
37146         * math/s_clog10f.c (__clog10f): Likewise.
37147         * math/s_clog10l.c (__clog10l): Likewise.
37148         * math/s_clog.c (__clog): Likewise.
37149         * math/s_clogf.c (__clogf): Likewise.
37150         * math/s_clogl.c (__clogl): Likewise.
37151         * math/s_csin.c (__csin): Likewise.
37152         * math/s_csinf.c (__csinf): Likewise.
37153         * math/s_csinh.c (__csinh): Likewise.
37154         * math/s_csinhf.c (__csinhf): Likewise.
37155         * math/s_csinhl.c (__csinhl): Likewise.
37156         * math/s_csinl.c (__csinl): Likewise.
37157         * math/s_csqrt.c (__csqrt): Likewise.
37158         * math/s_csqrtf.c (__csqrtf): Likewise.
37159         * math/s_csqrtl.c (__csqrtl): Likewise.
37160         * math/s_ctan.c (__ctan): Likewise.
37161         * math/s_ctanf.c (__ctanf): Likewise.
37162         * math/s_ctanh.c (__ctanh): Likewise.
37163         * math/s_ctanhf.c (__ctanhf): Likewise.
37164         * math/s_ctanhl.c (__ctanhl): Likewise.
37165         * math/s_ctanl.c (__ctanl): Likewise.
37166         * math/w_pow.c: Likewise.
37167         * math/w_powf.c: Likewise.
37168         * math/w_powl.c: Likewise.
37169         * math/w_scalb.c (sysv_scalb): Likewise.
37170         * math/w_scalbf.c (sysv_scalbf): Likewise.
37171         * math/w_scalbl.c (sysv_scalbl): Likewise.
37172         * misc/error.c (error_tail): Likewise.
37173         * misc/pselect.c (__pselect): Likewise.
37174         * nis/nis_callback.c (__nis_create_callback): Likewise.
37175         * nis/nis_call.c (__nisfind_server): Likewise.
37176         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37177         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37178         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37179         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37180         * nis/nis_lookup.c (nis_lookup): Likewise.
37181         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37182         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37183         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37184         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37185         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37186         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37187         * nis/nss_compat/compat-initgroups.c (add_group)
37188         (internal_getgrent_r): Likewise.
37189         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37190         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37191         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37192         (internal_getspnam_r): Likewise.
37193         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37194         (_nss_nis_getaliasbyname_r): Likewise.
37195         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37196         (_nss_nis_getntohost_r): Likewise.
37197         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37198         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37199         (_nss_nis_getgrgid_r): Likewise.
37200         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37201         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37202         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37203         (_nss_nis_gethostbyname4_r): Likewise.
37204         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37205         (initgroups_netid): Likewise.
37206         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37207         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37208         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37209         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37210         (_nss_nis_getprotobynumber_r): Likewise.
37211         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37212         (_nss_nis_getsecretkey): Likewise.
37213         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37214         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37215         (_nss_nis_getpwuid_r): Likewise.
37216         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37217         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37218         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37219         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37220         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37221         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37222         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37223         Likewise.
37224         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37225         (_nss_nisplus_getntohost_r): Likewise.
37226         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37227         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37228         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37229         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37230         Likewise.
37231         * nis/nss_nisplus/nisplus-initgroups.c
37232         (_nss_nisplus_initgroups_dyn): Likewise.
37233         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37234         (_nss_nisplus_getnetbyaddr_r): Likewise.
37235         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37236         (_nss_nisplus_getprotobynumber_r): Likewise.
37237         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37238         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37239         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37240         Likewise.
37241         * nis/nss_nisplus/nisplus-service.c
37242         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37243         (_nss_nisplus_getservbyport_r): Likewise.
37244         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37245         (_nss_nisplus_getspnam_r): Likewise.
37246         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37247         Likewise.
37248         * nscd/aicache.c (addhstaiX): Likewise.
37249         * nscd/cache.c (cache_search, prune_cache): Likewise.
37250         * nscd/connections.c (register_traced_file, send_ro_fd)
37251         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37252         (main_loop_epoll): Likewise.
37253         * nscd/grpcache.c (addgrbyX): Likewise.
37254         * nscd/hstcache.c (addhstbyX): Likewise.
37255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37256         * nscd/mem.c (gc, mempool_alloc): Likewise.
37257         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37258         (addinnetgrX): Likewise.
37259         * nscd/nscd-client.h (__nscd_acquire_maplock)
37260         (__nscd_drop_map_ref): Likewise.
37261         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37262         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37263         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37264         Likewise.
37265         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37266         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37267         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37268         (__nscd_get_map_ref): Likewise.
37269         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37270         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37271         Likewise.
37272         * nscd/pwdcache.c (addpwbyX): Likewise.
37273         * nscd/selinux.c (preserve_capabilities): Likewise.
37274         * nscd/servicescache.c (addservbyX): Likewise.
37275         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37276         * posix/fnmatch.c (fnmatch): Likewise.
37277         * posix/getopt.c (_getopt_internal_r): Likewise.
37278         * posix/glob.c (glob, glob_in_dir): Likewise.
37279         * posix/wordexp.c (exec_comm_child): Likewise.
37280         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37281         (getanswer_r, gaih_getanswer_slice): Likewise.
37282         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37283         * resolv/res_init.c: Likewise.
37284         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37285         * resolv/res_query.c (__libc_res_nquery): Likewise.
37286         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37287         Likewise.
37288         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37289         * stdio-common/perror.c (perror): Likewise.
37290         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37291         * stdio-common/tmpnam.c (tmpnam): Likewise.
37292         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37293         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37294         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37295         Likewise.
37296         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37297         * stdlib/putenv.c (putenv): Likewise.
37298         * stdlib/setenv.c (__add_to_environ): Likewise.
37299         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37300         * stdlib/strtol_l.c (INTERNAL): Likewise.
37301         * string/memmem.c (memmem): Likewise.
37302         * string/strerror.c (strerror): Likewise.
37303         * string/strnlen.c (__strnlen): Likewise.
37304         * string/test-memmem.c (simple_memmem): Likewise.
37305         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37306         * sunrpc/pm_getport.c (__get_socket): Likewise.
37307         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37308         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37309         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37310         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37311         Likewise.
37312         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37313         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37314         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37315         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37316         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37317         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37318         Likewise.
37319         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37320         Likewise.
37321         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37322         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37323         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37324         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37325         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37327         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37328         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37329         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37330         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37331         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37332         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37333         Likewise.
37334         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37335         Likewise.
37336         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37337         Likewise.
37338         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37340         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37341         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37342         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37343         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37344         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37347         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37348         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37350         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37351         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37353         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37354         Likewise.
37355         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37356         Likewise.
37357         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37358         Likewise.
37359         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37360         Likewise.
37361         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37363         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37364         Likewise.
37365         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37366         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37367         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37368         * sysdeps/posix/sleep.c: Likewise.
37369         * sysdeps/posix/tempname.c: Likewise.
37370         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37371         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37372         Likewise.
37373         * sysdeps/powerpc/powerpc32/dl-machine.h
37374         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37375         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37377         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37378         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37379         Likewise.
37380         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37381         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37382         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37383         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37384         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37385         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37386         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37387         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37388         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37389         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37390         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37391         (elf_machine_lazy_rel): Likewise.
37392         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37393         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37394         (elf_machine_lazy_rel): Likewise.
37395         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37396         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37397         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37398         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37399         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37400         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37401         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37403         Likewise.
37404         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37405         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37406         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37407         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37408         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37409         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37410         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37411         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37412         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37413         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37414         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37415         Likewise.
37416         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37417         (__posix_fallocate64_l64): Likewise.
37418         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37419         (posix_fallocate): Likewise.
37420         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37421         Likewise.
37422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37423         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37424         (getifaddrs_internal): Likewise.
37425         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37426         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37427         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37428         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37429         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37430         (__posix_fallocate64_l64): Likewise.
37431         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37432         Likewise.
37433         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37434         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37435         (__get_clockfreq): Likewise.
37436         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37437         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37438         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37441         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37442         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37443         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37444         Likewise.
37445         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37446         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37447         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37448         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37449         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37450         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37451         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37452         Likewise.
37453         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37454         (posix_fallocate): Likewise.
37455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37456         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37457         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37458         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37459         (elf_machine_rela, elf_machine_rela_relative)
37460         (elf_machine_lazy_rel): Likewise.
37461         * time/asctime.c (asctime_internal): Likewise.
37462         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37463         * time/tzset.c (__tzset_parse_tz): Likewise.
37464         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37465         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37466         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37467         * wcsmbs/wcsmbsload.h: Likewise.
37469         [BZ #15894]
37470         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37472         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37473         (arena_get2): Remove THREAD_STATS conditionals.
37474         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37475         (__malloc_stats, int): Likewise.
37477 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37479         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37480         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37482         * manual/setjmp.texi: Fix typos/grammar errors.
37484         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37485         Only return early when n is <= 0.  Delete unused return statement.
37487         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37488         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37489         * debug/tst-longjmp_chk3.c: New file.
37491         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37492         (test_main): Replace code with set_fortify_handler call.
37493         * debug/test-strcpy_chk.c: Likewise.
37494         * debug/tst-chk1.c: Likewise.
37495         * debug/tst-longjmp_chk.c: Likewise.
37496         * test-skeleton.c: Include fcntl.h & paths.h
37497         (set_fortify_handler): Define.
37499         * debug/tst-longjmp_chk.c: Add header comment and include
37500         ../test-skeleton.c.
37501         (do_test): Mark static.
37502         (TEST_FUNCTION): Define.
37504         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37505         (IP_PMTUDISC_INTERFACE): Likewise.
37506         (IP_MULTICAST_IF): Likewise.
37507         (IP_MULTICAST_TTL): Likewise.
37508         (IP_MULTICAST_LOOP): Likewise.
37509         (IP_ADD_MEMBERSHIP): Likewise.
37510         (IP_DROP_MEMBERSHIP): Likewise.
37511         (IP_UNBLOCK_SOURCE): Likewise.
37512         (IP_BLOCK_SOURCE): Likewise.
37513         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37514         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37515         (IP_MSFILTER): Likewise.
37516         (MCAST_JOIN_GROUP): Likewise.
37517         (MCAST_BLOCK_SOURCE): Likewise.
37518         (MCAST_UNBLOCK_SOURCE): Likewise.
37519         (MCAST_LEAVE_GROUP): Likewise.
37520         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37521         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37522         (MCAST_MSFILTER): Likewise.
37523         (IP_MULTICAST_ALL): Likewise.
37524         (IP_UNICAST_IF): Likewise.
37526         * timezone/Makefile: Delete $(have-ksh) check.
37527         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37528         * timezone/tzselect.ksh: Add +x mode bits.
37530         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37531         (ANON_INODE_FS_MAGIC): Likewise.
37532         (BDEVFS_MAGIC): Likewise.
37533         (BINFMTFS_MAGIC): Likewise.
37534         (BTRFS_TEST_MAGIC): Likewise.
37535         (CRAMFS_MAGIC_WEND): Likewise.
37536         (DEBUGFS_MAGIC): Likewise.
37537         (ECRYPTFS_SUPER_MAGIC): Likewise.
37538         (EXT3_SUPER_MAGIC): Likewise.
37539         (EXT4_SUPER_MAGIC): Likewise.
37540         (FUTEXFS_SUPER_MAGIC): Likewise.
37541         (HOSTFS_SUPER_MAGIC): Likewise.
37542         (HUGETLBFS_MAGIC): Likewise.
37543         (MINIX3_SUPER_MAGIC): Likewise.
37544         (MTD_INODE_FS_MAGIC): Likewise.
37545         (NILFS_SUPER_MAGIC): Likewise.
37546         (OPENPROM_SUPER_MAGIC): Likewise.
37547         (PIPEFS_MAGIC): Likewise.
37548         (PSTOREFS_MAGIC): Likewise.
37549         (QNX6_SUPER_MAGIC): Likewise.
37550         (RAMFS_MAGIC): Likewise.
37551         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37552         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37553         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37554         (SECURITYFS_MAGIC): Likewise.
37555         (SELINUX_MAGIC): Likewise.
37556         (SMACK_MAGIC): Likewise.
37557         (SOCKFS_MAGIC): Likewise.
37558         (SQUASHFS_MAGIC): Likewise.
37559         (STACK_END_MAGIC): Likewise.
37560         (TMPFS_MAGIC): Likewise.
37561         (USBDEVICE_SUPER_MAGIC): Likewise.
37562         (V9FS_MAGIC): Likewise.
37563         (XENFS_SUPER_MAGIC): Likewise.
37564         (CRAMFS_MAGIC): Fix typo in comment.
37565         (EXT2_SUPER_MAGIC): Update comment.
37566         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37568 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37570         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37571         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37572         * sysdeps/unix/sysv/linux/arm: Move directory from
37573         ports/sysdeps/unix/sysv/linux/arm.
37574         * README: Update listing for arm-*-linux-gnueabi.
37576         * README: Remove mention of am33.
37578 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37580         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37581         than the comma operator, to avoid "rhs of comma has no effect"
37582         compiler warnings.
37583         (__sigfillset, __sigandset, __sigorset): Likewise.
37584         * include/signal.h (__sigemptyset): Likewise.
37585         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37587 2014-02-07  Allan McRae  <allan@archlinux.org>
37589         * version.h (RELEASE): Set to "development".
37590         (VERSION): Set to "2.19.90"
37591         * NEWS: Add 2.20 section.
37593 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37595         [BZ #16529]
37596         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37598 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37600         * manual/contrib.texi: Update entry for Carlos O'Donell,
37601         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37603 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37605         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37607         * sysdeps/unix/sysv/linux/kernel-features.h
37608         [__LINUX_KERNEL_VERSION >= 0x020621]
37609         (__ASSUME_PROC_PID_TASK_COMM): Define.
37611 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37613         [BZ #16398]
37614         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37615         conversion when destination buffer does not have enough space.
37616         * libio/tst-ftell-partial-wide.c: New test case.
37617         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37619         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37620         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37621         Leonard and Allan McRae.
37623 2014-02-04  David S. Miller  <davem@davemloft.net>
37625         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37626         32-bit.
37628 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37631         New file
37632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37633         New file
37634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37635         New file.
37636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37637         New file.
37638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37639         New file.
37640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37641         New file.
37642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37643         New file.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37645         New file.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37647         New file.
37648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37649         New file.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37651         New file.
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37653         New file.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37655         New file.
37657 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37659         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37660         * shlib-versions: Likewise.
37662 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37663             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37665         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37666         (abilist-pattern): New variable, set to %-le.abilist.
37668         * Makerules (abilist-pattern): New variable.
37669         (vpath): Use $(abilist-pattern) in place of %.abilist.
37670         (check-abi-% pattern rule): Likewise.
37671         (check-abi, update-abi): Likewise.
37673 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37677 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37679         * manual/startup.texi: Add next, previous, and top entries for
37680         the `Program Arguments' and `Environment Variables' nodes.
37682 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37684         * manual/macros.texi: Add comments before MTASC-safety macros.
37686         * manual/users.texi: Document MTASC-safety properties.
37688         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37689         (pthread_getspecific, pthread_setspecific): Format with
37690         @deftypefun, and add @safety note.
37691         * manual/signal.texi: Move comments that analyze the above
37692         functions to their home place.
37694 2014-02-03  Allan McRae  <allan@archlinux.org>
37696         * po/sl.po: Update Slovenian translation from translation project.
37698 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37700         * manual/time.texi (timegm): Add missing blank after @c.
37701         Reported by Joseph Myers <joseph@codesourcery.com>.
37703 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37705         * manual/check-safety.sh: New.
37706         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37708         * manual/terminal.texi: Document MTASC-safety properties.
37710         * manual/filesys.texi: Document MTASC-safety properties.
37712         * manual/errno.texi: Document MTASC-safety properties.
37714         * manual/intro.texi: Document safety identifiers and
37715         conditionals.
37717         * manual/string.texi (wcstok): Fix prototype.
37718         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37720         * manual/time.texi: Document MTASC-safety properties.
37722         * manual/string.texi: Document MTASC-safety properties.
37724         * manual/threads.texi: Document MTASC-safety properties.
37726         * manual/stdio.texi: Document MTASC-safety properties.
37728         * manual/syslog.texi: Document MTASC-safety properties.
37730         * manual/sysinfo.texi: Document MTASC-safety properties.
37732         * manual/startup.texi: Document MTASC-safety properties.
37734         * manual/socket.texi: Document MTASC-safety properties.
37736         * manual/signal.texi: Document MTASC-safety properties.
37738 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37740         * manual/setjmp.texi: Document MTASC-safety properties.
37742         * manual/search.texi: Document MTASC-safety properties.
37744         * manual/resource.texi: Document MTASC-safety properties.
37746         * manual/process.texi: Document MTASC-safety properties.
37748         * manual/platform.texi: Document MTASC-safety properties.
37750         * manual/pipe.texi: Document MTASC-safety properties.
37752         * manual/pattern.texi: Document MTASC-safety properties.
37754         * manual/message.texi: Document MTASC-safety properties.
37756         [BZ #12751]
37757         * manual/memory.texi: Document MTASC-safety properties.
37759         * manual/math.texi: Document MTASC-safety properties.
37761         * manual/locale.texi: Document MTASC-safety properties.
37763         * manual/llio.texi: Document MTASC-safety properties.
37765         * manual/libdl.texi: New.
37767         * manual/lang.texi: Document MTASC-safety properties.
37769         * manual/job.texi: Document MTASC-safety properties.
37771         * manual/getopt.texi: Document MTASC-safety properties.
37773         * manual/ctype.texi: Document MTASC-safety properties.
37775 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37777         [BZ #16046]
37778         * csu/libc-tls.c (static_map): Remove variable.
37779         (__libc_setup_tls): Use main executable's link map for TLS data.
37780         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37781         casing for LM_ID_BASE and GL(dl_nns).
37782         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37783         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37784         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37785         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37786         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37787         member.
37788         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37789         l_phnum members.
37791 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37793         * manual/debug.texi: Document MTASC-safety properties.
37795 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37797         [BZ #16510]
37798         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37799         of __x86_64__ when disabling x87 inline functions.
37801 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37803         * manual/charset.texi: Document MTASC-safety properties.
37805         * manual/crypt.texi: Document MTASC-safety properties.
37807         * manual/conf.texi: Document MTASC-safety properties.
37809         * manual/arith.texi: Document MTASC-safety properties.
37811         * manual/argp.texi: Document MTASC-safety properties.
37813         * manual/macros.texi: Introduce macros to document multi
37814         thread, asynchronous signal and asynchronous cancellation
37815         safety properties.
37816         * manual/intro.texi: Introduce the properties themselves.
37818 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37820         * sysdeps/sh/sh4/Makefile: New file.
37822 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37824         * math/gen-libm-test.pl ($srcdir): New variable.
37825         ($auto_input): Use it.
37827 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37829         [BZ #16506]
37830         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37831         access beyond array bounds when parsing netgroups file.
37833         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37834         the old buffer before realloc.
37836 2014-01-27  Allan McRae  <allan@archlinux.org>
37838         * po/fr.po: Update French translation from translation project.
37840 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37842         * sysdeps/sh/libm-test-ulps: Regenerate.
37844 2014-01-24  David S. Miller  <davem@davemloft.net>
37846         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37848 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37850         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37851         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37853 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37855         [BZ #16474]
37856         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37857         string pointers after reallocation.
37859 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37861         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37862         __SH4A__ instead of __SH_FPU_ANY__.
37864 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37866         * sysdeps/sh/fpu_control.h: New file.
37867         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37868         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37869         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37870         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37871         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37872         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37873         * sysdeps/sh/sys/ucontext.h: Remove.
37874         * sysdeps/sh/sys: Remove directory.
37876 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37878         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37879         s390/sys/ucontext.h.
37880         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37881         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37883 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37885         [BZ #15605]
37886         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37888 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37890         [BZ#16431]
37891         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37892         Adjust the vDSO correctly for internal calls.
37893         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37895 2014-01-20  Allan McRae  <allan@archlinux.org>
37897         * po/ca.po: Update Catalan translation from translation project.
37899 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37901         * sysdeps/s390/sotruss-lib.c: New file.
37903 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37905         [BZ#16430]
37906         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37907         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37908         local calls issues by not having a PLT stub required for IFUNC calls.
37909         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37911 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37913         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37914         * math/test-fpucw-static.c: Likewise.
37916 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37918         [BZ #16453]
37919         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37921 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37923         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37924         implementation for powerpc.
37926 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37928         [BZ #14782]
37929         * sysdeps/posix/system.c (__libc_system): Do not enable
37930         asynchronous cancellation.
37932 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37934         [BZ #16427]
37935         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37936         handling only for numbers special also in the IEEE case.
37938 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37940         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37942 2014-01-11  Allan McRae  <allan@archlinux.org>
37944         * po/bg.po: Update Bulgarian translation from translation project.
37946         * po/de.po: Update German translation from translation project.
37948 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37950         * sysdeps/generic/gcc-compat.h: New file.
37952 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37954         * benchtests/asin-inputs: Correct slow inputs.
37955         * benchtests/acos-inputs: Likewise.
37957 2014-01-10  Allan McRae  <allan@archlinux.org>
37959         * po:sv.po: Update Swedish translation from translation project.
37961         * po/vi.po: Update Vietnamese translation from translation project.
37963         * po/eo.po: Update Esperanto translation from translation project.
37965         * po/cs.po: Update Czech translation from translation project.
37967         * po/nl.po: Update Dutch translation from translation project.
37969         * po/pl.po: Update Polish translation from translation project.
37971         * po/ru.po: Update Russian translation from translation project.
37973         * po/uk.po: Update Ukrainian translation from translation project.
37975 2014-01-08  Brooks Moses  <bmoses@google.com>
37977         * elf/dl-load.c: Fix comment typo.
37979 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37981         * po/header.pot: Rename to...
37982         * po/pot.header: ... this.
37983         * po/Makefile: Use pot.header.
37985 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37986             Maxim Kuvyrkov  <maxim@kugelworks.com>
37988         [BZ #16394]
37989         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37990         SRC and DEST against LEN.
37992 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37994         [BZ #16414]
37995         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37996         implementation.
37997         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37999 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38003 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38005         [BZ #16408]
38006         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38007         for large positive arguments.
38009 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38011         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38013         * math/auto-libm-test-in: Mark various tests with
38014         xfail-rounding:ldbl-128ibm.
38015         * math/auto-libm-test-out: Regenerated.
38017         [BZ #16407]
38018         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38019         Increase overflow threshold.
38021 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38023         [BZ #14286]
38024         * stdio-common/vfprintf.c: Check for integer overflow.
38026 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38028         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38029         the first argument and return value of __tls_get_addr_internal.
38031 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38033         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38034         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38036 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38038         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38039         * sysdeps/s390/rtld-global-offsets.sym: New file.
38040         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38041         GLIBC_2.19 symbol.
38042         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38044         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38045         ... this.
38046         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38048         ... this.
38049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38050         Regenerate.
38051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38052         Regenerate.
38053         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38054         halfs of GPRs for high_gprs contexts.
38055         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38056         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38057         field.
38058         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38059         uc_flags field.
38060         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38061         64 bit versions:
38062         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38063         for high GPRs (uc_high_gprs) and for future extensions
38064         (__reserved).
38065         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38066         for future extensions (__reserved).
38067         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38068         64 bit versions:
38069         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38070         SC_HIGHGPRS offset definition.
38071         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38072         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38074         * Versions.def: Add GLIBC_2.19 for libpthread.
38075         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38076         siglongjmp for libpthread with GLIBC_2.19 symver.
38077         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38078         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38079         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38080         * sysdeps/s390/__longjmp.c: New file.
38081         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38082         * sysdeps/s390/longjmp.c: New file.
38083         * sysdeps/s390/setjmp.S: New file.
38084         * sysdeps/s390/sigjmp.S: New file.
38085         * sysdeps/s390/v1-longjmp.c: New file.
38086         * sysdeps/s390/v1-setjmp.h: New file.
38087         * sysdeps/s390/v1-sigjmp.c: New file.
38088         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38089         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38090         GLIBC_2.19 version.
38091         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38092         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38093         versioned symbols for ____longjmp_chk.
38094         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38095         Likewise.
38096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38097         Regenerate.
38098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38099         Regenerate.
38100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38101         Regenerate.
38102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38103         Regenerate.
38104         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38105         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38106         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38107         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38108         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38109         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38110         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38111         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38112         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38113         * sysdeps/s390/rtld-__longjmp.c: New file.
38114         * sysdeps/s390/rtld-setjmp.S: New file.
38116 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38118         [BZ #16400]
38119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38120         Return -__logl (x) for small positive arguments without evaluating
38121         a polynomial.
38123 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38125         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38126         Rename to ...
38127         (__ptrace_peeksiginfo_args): ... this.
38128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38130         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38132 2014-01-06  Allan McRae  <allan@archlinux.org>
38134         * inet/netinet/in.h: Fix typo in comment.
38136 2014-01-05  Andreas Jaeger  <aj@suse.de>
38138         * sysdeps/i386/fpu/libm-test-ulps: Update.
38140 2014-01-05  Allan McRae  <allan@archlinux.org>
38142         * po/libc.pot: Regenerated.
38144         * malloc/memusagestat.c: Fix gettext call formatting.
38146 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38148         * nscd/nscd.c: Improve usage() output.
38150 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38152         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38153         * sysdeps/unix/sysv/linux/configure: Regenerated.
38154         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38155         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38157 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38159         [BZ #16390]
38160         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38161         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38163 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38166         extra tokens at end of #undef directive.
38167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38168         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38171 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38173         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38175         * math/auto-libm-test-in: Mark various tests with
38176         xfail-rounding:ldbl-128ibm.
38177         * math/auto-libm-test-out: Regenerated.
38179 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38181         [BZ #16386]
38182         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38183         numbers with subnormal high part when calculating exponent.
38185         [BZ #16385]
38186         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38187         fabs.
38189         [BZ #16384]
38190         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38191         M_LN2l.
38192         (__ieee754_acoshl): Use __log1pl not __log1p.
38194 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38196         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38197         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38198         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38199         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38200         (reused_arena, arena_get2): Convert to GNU style.
38201         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38202         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38203         (memalign_check, __malloc_set_state): Likewise.
38204         * malloc/mallocbug.c (main): Likewise.
38205         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38206         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38207         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38208         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38209         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38210         (__posix_memalign, malloc_info): Likewise.
38211         * malloc/malloc.h: Likewise.
38212         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38213         (mallochook, memalignhook, reallochook, mabort): Likewise.
38214         * malloc/mcheck.h: Likewise.
38215         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38216         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38217         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38218         * malloc/morecore.c (__default_morecore): Likewise.
38219         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38220         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38221         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38222         (print_and_abort): Likewise.
38223         * malloc/obstack.h: Likewise.
38224         * malloc/set-freeres.c (__libc_freeres): Likewise.
38225         * malloc/tst-mallocstate.c (main): Likewise.
38226         * malloc/tst-mtrace.c (main): Likewise.
38227         * malloc/tst-realloc.c (do_test): Likewise.
38229 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38231         [BZ #16366]
38232         * nscd/netgroupcache.c (do_notfound): New function.
38233         (addgetnetgrentX): Use it.
38235         [BZ # 16365]
38236         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38237         NSS_STATUS_NOTFOUND.
38239 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38241         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38244 2014-01-01  Allan McRae  <allan@archlinux.org>
38246         * scripts/update-copyrights: Update configure input file suffix.
38248         * NEWS: Update copyright year.
38249         * catgets/gencat.c: Likewise.
38250         * csu/version.c: Likewise.
38251         * debug/catchsegv.sh: Likewise.
38252         * debug/pcprofiledump.c: Likewise.
38253         * debug/xtrace.sh: Likewise.
38254         * elf/ldconfig.c: Likewise.
38255         * elf/ldd.bash.in: Likewise.
38256         * elf/pldd.c: Likewise.
38257         * elf/sotruss.ksh: Likewise.
38258         * elf/sprof.c: Likewise.
38259         * iconv/iconv_prog.c: Likewise.
38260         * iconv/iconvconfig.c: Likewise.
38261         * locale/programs/locale.c: Likewise.
38262         * locale/programs/localedef.c: Likewise.
38263         * login/programs/pt_chown.c: Likewise.
38264         * malloc/memusage.sh: Likewise.
38265         * malloc/memusagestat.c: Likewise.
38266         * malloc/mtrace.pl: Likewise.
38267         * manual/libc.texinfo: Likewise.
38268         * nscd/nscd.c: Likewise.
38269         * nss/getent.c: Likewise.
38270         * nss/makedb.c: Likewise.
38271         * posix/getconf.c: Likewise.
38272         * scripts/test-installation.pl: Likewise.
38274         * All files with FSF copyright notices: Update copyright dates
38275         using scripts/update-copyrights.
38276         * intl/plural.c: Regenerated.
38277         * locale/programs/charmap-kw.h: Likewise.
38278         * locale/programs/locfile-kw.h: Likewise.
38280 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38282         * sysdeps/unix/sysv/linux/configure: Regenerated.
38283         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38284         the linux/fanotify.h header.
38285         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38286         HAVE_LINUX_FANOTIFY_H is defined.
38288 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290         * benchtests/cos-inputs: New inputs.
38291         * benchtests/sin-inputs: Likewise.
38293         * benchtests/atan-inputs: New inputs. Fix name of multiple
38294         precision fallback inputs.
38296         * benchtests/atanh-inputs: New inputs.
38297         * benchtests/tanh-inputs: Likewise.
38299         * benchtests/acosh-inputs: New inputs.
38300         * benchtests/asinh-inputs: Likewise.
38302         * benchtests/cosh-inputs: New inputs.
38303         * benchtests/sinh-inputs: Likewise.
38305         * benchtests/acos-inputs: Add more inputs.
38306         * benchtests/asin-inputs: Likewise.
38308 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38310         [BZ #16375]
38311         * manual/arith.texi: Fix spelling.
38312         * manual/charset.texi: Likewise.
38313         * manual/errno.texi: Likewise.
38314         * manual/filesys.texi: Likewise.
38315         * manual/lang.texi: Likewise.
38316         * manual/llio.texi: Likewise.
38317         * manual/locale.texi: Likewise.
38318         * manual/message.texi: Likewise.
38319         * manual/resource.texi: Likewise.
38320         * manual/search.texi: Likewise.
38321         * manual/setjmp.texi: Likewise.
38322         * manual/stdio.texi: Likewise.
38323         * manual/string.texi: Likewise.
38324         * manual/sysinfo.texi: Likewise.
38325         * manual/time.texi: Likewise.
38327 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38329         * po/sl.po: New file.
38331 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38333         * .gitignore: Add core/.gdbinit/.gdb_history.
38335 2013-12-27  Allan McRae  <allan@archlinux.org>
38337         [BZ #16369]
38338         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38339         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38341 2013-12-24  Brooks Moses  <bmoses@google.com>
38343         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38344         all compilers that claim C++98 compliance, not just GCC.
38345         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38346         Likewise.
38348 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38350         * NEWS: Restore accidentally deleted bug-fix entries.
38352 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38353             Ondřej Bílka  <neleai@seznam.cz>
38355         [BZ #15073]
38356         * malloc/malloc.c (_int_free): Perform sanity check only if we
38357         have_lock.
38359 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38361         [BZ #12986]
38362         * manual/stdio.texi (String Input Conversions): Clarify that character
38363         classes are not supported.
38365 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38369 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38371         [BZ #16337]
38372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38373         Calculate results for small negative arguments directly rather
38374         than using reflection formula with special underflow handling.
38376         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38377         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38378         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38379         (fchflags): Likewise.
38380         (revoke): Likewise.
38381         (setlogin): Likewise.
38382         (sigaltstack): Likewise.
38383         (wait4): Likewise.
38384         (sigblock): Remove.
38385         (sigsetmask): Likewise.
38386         (wait3): Likewise.
38387         (waitpid): Likewise.
38388         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38389         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38390         file.
38391         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38392         * sysdeps/unix/bsd/Makefile: ... here.
38393         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38394         * sysdeps/unix/bsd/Versions: ... here.
38395         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38396         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38397         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38398         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38399         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38400         * sysdeps/unix/bsd/sigblock.c: ... here.
38401         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38402         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38403         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38404         * sysdeps/unix/bsd/sigvec.c: ... here.
38405         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38406         * sysdeps/unix/bsd/tcdrain.c: ... here.
38407         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38408         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38409         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38410         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38411         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38412         * sysdeps/unix/bsd/wait.c: ... here.
38413         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38414         * sysdeps/unix/bsd/wait3.c: ... here.
38415         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38416         * sysdeps/unix/bsd/waitpid.c: ... here.
38418 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38420         [BZ #16356]
38421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38422         round-to-nearest for [!USE_AS_EXPM1L].
38423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38424         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38425         more tests of exp and exp10.  Expect some exp10 tests to miss
38426         exceptions or fail in directed rounding modes.
38427         * math/auto-libm-test-out: Regenerated.
38428         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38429         (exp10_test_tonearest): New function.
38430         (exp10_towardzero_test_data): New array.
38431         (exp10_test_towardzero): New function.
38432         (exp10_downward_test_data): New array.
38433         (exp10_test_downward): New function.
38434         (exp10_upward_test_data): New array.
38435         (exp10_test_upward): New function.
38436         (main): Call the new functions.
38437         * sysdeps/i386/fpu/libm-test-ulps: Update.
38438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38440 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38442         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38443         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38444         * math/auto-libm-test-out: Regenerated.
38445         * math/libm-test.inc (acosh_test_data): Add more tests.
38446         (atanh_test_data): Likewise.
38447         (ceil_test_data): Likewise.
38448         (copysign_test_data): Likewise.
38449         * sysdeps/i386/fpu/libm-test-ulps: Update.
38450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38452         * timezone/checktab.awk: Update from tzcode 2013i.
38453         * timezone/private.h: Likewise.
38454         * timezone/scheck.c: Likewise.
38455         * timezone/tzfile.h: Likewise.
38456         * timezone/tzselect.ksh: Likewise.
38457         * timezone/zdump.c: Likewise.
38458         * timezone/zic.c: Likewise.
38460         * math/auto-libm-test-in: Add tests of cpow.
38461         * math/auto-libm-test-out: Regenerated.
38462         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38463         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38464         mpc_cc_c.
38465         (func_calc_desc): Add mpc_cc_c union field.
38466         (test_functions): Add cpow.
38467         (special_fill_2pi): New function.
38468         (special_real_inputs): Add 2pi.
38469         (calc_generic_results): Handle mpc_cc_c.
38470         * sysdeps/i386/fpu/libm-test-ulps: Update.
38471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38473         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38474         csqrt, ctan and ctanh.
38475         * math/auto-libm-test-out: Regenerated.
38476         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38477         (TEST_COND_x86): Likewise.
38478         (ccos_test_data): Use AUTO_TESTS_c_c.
38479         (ccosh_test_data): Likewise.
38480         (cexp_test_data): Likewise.
38481         (clog_test_data): Likewise.
38482         (csqrt_test_data): Likewise.
38483         (ctan_test_data): Likewise.
38484         (ctan_tonearest_test_data): Likewise.
38485         (ctan_towardzero_test_data): Likewise.
38486         (ctan_downward_test_data): Likewise.
38487         (ctan_upward_test_data): Likewise.
38488         (ctanh_test_data): Likewise.
38489         (ctanh_tonearest_test_data): Likewise.
38490         (ctanh_towardzero_test_data): Likewise.
38491         (ctanh_downward_test_data): Likewise.
38492         (ctanh_upward_test_data): Likewise.
38493         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38494         mpc_c_c.
38495         (func_calc_desc): Add mpc_c_c union field.
38496         (FUNC_mpc_c_c): New macro.
38497         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38498         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38499         ctanh.
38500         (special_fill_min_subnorm_p120): New function.
38501         (special_real_inputs): Add min_subnorm_p120.
38502         (calc_generic_results): Handle mpc_c_c.
38503         * sysdeps/i386/fpu/libm-test-ulps: Update.
38504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38506 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38508         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38509         (do_sin_slow): New functions.
38510         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38511         (cslow2, csloww1, csloww2): Use the new functions.
38513         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38514         Use M to change sign of result instead of X.  Assume X is
38515         positive.
38516         (csloww1): Likewise.
38517         (__sin): Adjust.
38518         (__cos): Adjust.
38520         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38521         arguments A and DA.
38522         (__sin): Adjust.
38523         (__cos): Likewise.
38525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38526         (__cos): Likewise.
38527         (sloww1): Don't adjust sign of DX.
38528         (csloww1): Likewise.
38529         (sloww2): Use X directly and don't adjust sign of DX.
38530         (csloww2): Likewise.
38532 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38534         * math/auto-libm-test-in: Add tests of cabs and carg.
38535         * math/auto-libm-test-out: Regenerated.
38536         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38537         (carg_test_data): Likewise.
38538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38539         mpc_c_f.
38540         (func_calc_desc): Add mpc_c_f union field.
38541         (test_functions): Add cabs and carg.
38542         (calc_generic_results): Handle mpc_c_f.
38544         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38545         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38546         as a macro and a compat symbol.
38547         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38548         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38549         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38550         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38551         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38552         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38553         not use .hidden.
38554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38555         Likewise.
38556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38557         Likewise.
38558         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38559         Likewise.
38560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38561         Likewise.
38562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38563         Likewise.
38564         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38565         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38566         from GLIBC_2.3.2.
38568 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38572 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38574         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38575         trailing whitespace removed.
38576         * scripts/config.guess: Update to version 2013-11-29.
38577         * scripts/config.sub: Update to version 2013-10-01.
38579         * math/auto-libm-test-in: Add tests of sincos.
38580         * math/auto-libm-test-out: Regenerated.
38581         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38582         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38583         mpfr_f_11.
38584         (func_calc_desc): Add mpfr_f_11 union field.
38585         (test_functions): Add sincos.
38586         (calc_generic_results): Handle mpfr_f_11.
38587         * sysdeps/i386/fpu/libm-test-ulps: Update.
38588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38590 2013-12-19  Andreas Schwab  <schwab@suse.de>
38592         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38593         CALL_MCOUNT.
38594         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38595         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38596         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38598 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38600         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38601         * sysdeps/i386/fpu/libm-test-ulps: Update.
38602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38604         [BZ #16293]
38605         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38606         round-to-nearest mode when using frndint.
38607         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38608         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38610         Likewise.
38611         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38612         sinh test to fail.
38613         * math/auto-libm-test-out: Regenerated.
38614         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38615         (TEST_COND_x86): Likewise.
38616         (expm1_tonearest_test_data): New array.
38617         (expm1_test_tonearest): New function.
38618         (expm1_towardzero_test_data): New array.
38619         (expm1_test_towardzero): New function.
38620         (expm1_downward_test_data): New array.
38621         (expm1_test_downward): New function.
38622         (expm1_upward_test_data): New array.
38623         (expm1_test_upward): New function.
38624         (main): Run the new test functions.
38625         * sysdeps/i386/fpu/libm-test-ulps: Update.
38626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38628         * include/features.h: Update comment documenting feature test
38629         macros.  Mention _DEFAULT_SOURCE in comment.
38630         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38631         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38632         _BSD_SOURCE and _SVID_SOURCE.
38633         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38634         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38635         !_SVID_SOURCE]: Likewise.
38636         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38637         (__USE_POSIX_IMPLICITLY): Define.
38638         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38639         (_POSIX_SOURCE): Undefine and redefine.
38640         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38641         (_POSIX_C_SOURCE): Likewise.
38642         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38643         (Feature Test Macros): Update documentation of default features.
38645 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38647         * benchtests/Makefile: Add bench-strtok.
38648         * benchtests/bench-strtok.c: New file: strtok benchtest.
38650 2013-12-19  Allan McRae  <allan@archlinux.org>
38652         * manual/install.texi: Suppress menu for plain text output.
38653         * INSTALL: Regenerated.
38655 2013-12-18  Brooks Moses  <bmoses@google.com>
38657         [BZ #15846]
38658         * misc/getauxval.c: Include errno.h.
38659         (__getauxval): Set errno to ENOENT if the requested type is not
38660         found.
38661         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38662         don't declare with __attribute_const__.
38663         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38664         * manual/startup.texi: Document that getauxval sets errno.
38666 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38668         * math/auto-libm-test-in: Add tests of jn and yn.
38669         * math/auto-libm-test-out: Regenerated.
38670         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38671         (yn_test_data): Likewise.
38672         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38673         mpfr_if_f.
38674         (func_calc_desc): Add mpfr_if_f union field.
38675         (FUNC_mpfr_if_f): New macro.
38676         (test_functions): Add jn and yn.
38677         (calc_generic_results): Assert type of second input for
38678         mpfr_ff_f.  Handle mpfr_if_f.
38679         (output_for_one_input_case): Disable all checking for arguments
38680         fitting floating-point types in case of an integer argument.
38681         * sysdeps/i386/fpu/libm-test-ulps: Update.
38682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38685         Don't expect fegetround reference in libm.so.
38687 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38689         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38690         $(config-cflags-nofma).
38692 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38694         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38695         * math/auto-libm-test-out: Regenerated.
38697         [BZ #16338]
38698         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38699         to determine exponent and adjust argument to have exponent of -1.
38700         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38701         log2.
38702         * math/auto-libm-test-out: Regenerated.
38703         * sysdeps/i386/fpu/libm-test-ulps: Update.
38704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38706 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38708         * manual/probes.texi: Remove cases when per-thread arenas are
38709         disabled.
38711 2013-12-18  Andreas Schwab  <schwab@suse.de>
38713         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38714         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38715         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38716         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38717         * sysdeps/i386/i686/multiarch/Makefile: Update.
38718         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38720 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38722         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38723         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38725 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38727         [BZ #15968]
38728         Support TZ transition times < 00:00:00.
38729         This is needed for version-3 tz-format files; it supports time
38730         stamps past 2037 for America/Godthab (the only entry in the tz
38731         database for which this change is relevant).
38732         * manual/time.texi (TZ Variable): Document transition times
38733         from -167:59:59 through -00:00:01.
38734         * time/tzset.c (tz_rule): Time of day is now signed.
38735         (__tzset_parse_tz): Parse negative time of day.
38737         Document TZ transition times >= 25:00:00.
38738         * manual/time.texi (TZ Variable): Document transition times from
38739         25:00:00 through 167:59:59.  These are already supported, and this
38740         support will help with version-3 tz-format files.
38742         * manual/time.texi (TZ Variable): Modernize North America example
38743         to reflect current (i.e., 2007-and-later) daylight saving rules.
38745         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38747 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38749         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38750         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38752         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38753         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38754         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38755         * sysdeps/unix/bsd/clock.c: Likewise.
38756         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38757         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38758         * sysdeps/unix/bsd/init-posix.c: Likewise.
38759         * sysdeps/unix/bsd/poll.c: Likewise.
38760         * sysdeps/unix/bsd/ptsname.c: Likewise.
38761         * sysdeps/unix/bsd/seekdir.c: Likewise.
38762         * sysdeps/unix/bsd/setegid.c: Likewise.
38763         * sysdeps/unix/bsd/seteuid.c: Likewise.
38764         * sysdeps/unix/bsd/setgid.c: Likewise.
38765         * sysdeps/unix/bsd/setrgid.c: Likewise.
38766         * sysdeps/unix/bsd/setruid.c: Likewise.
38767         * sysdeps/unix/bsd/setsid.c: Likewise.
38768         * sysdeps/unix/bsd/setuid.c: Likewise.
38769         * sysdeps/unix/bsd/sigaction.c: Likewise.
38770         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38771         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38772         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38773         * sysdeps/unix/bsd/telldir.c: Likewise.
38774         * sysdeps/unix/bsd/times.c: Likewise.
38775         * sysdeps/unix/bsd/usleep.c: Likewise.
38777         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38778         ($(objpfx)libbsd-compat.a): Remove rule.
38780         * include/features.h (__FAVOR_BSD): Do not define.
38781         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38782         features conflicting with POSIX.
38783         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38784         (_BSD_SOURCE): Remove description of not being a subset of other
38785         feature test macros.
38786         * manual/job.texi (getpgrp): Do not document BSD version.
38787         (getpgid): Do not document by reference to BSD getpgrp.
38788         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38789         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38790         * signal/signal.h [__FAVOR_BSD]: Likewise.
38791         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38792         instead of making contents conditional on [__FAVOR_BSD].
38793         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38795 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38799 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38801         [BZ #16314]
38802         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38803         values below 2**-450, not 2**-500.
38804         * math/auto-libm-test-in: Don't allow spurious underflow from
38805         hypot.
38806         * math/auto-libm-test-out: Regenerated.
38808         [BZ #16316]
38809         [BZ #16330]
38810         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38811         values of ha and hb and sort them after adjusting subnormal
38812         arguments.
38813         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38814         Likewise.
38815         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38816         values of ea and eb and sort them after adjusting subnormal
38817         arguments.
38818         * math/auto-libm-test-in: Do not expect some hypot tests of
38819         subnormals to fail.  Add more hypot tests.
38820         * math/auto-libm-test-out: Regenerated.
38822 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38824         [BZ #13304]
38825         * sysdeps/sh/s_fma.c: New file.
38826         * sysdeps/sh/s_fmaf.c: New file.
38827         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38828         version.
38829         * sysdeps/sh/Implies: Add sh/soft-fp.
38831 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38833         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38834         level of indirection to members `objname', `errstring', `malloced'.
38835         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38836         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38837         it as the __longjmp argument (just pass 1 instead).
38838         (_dl_catch_error): Initialize C with argument pointers and address of
38839         volatile local ERRCODE rather than copying values out of C at return.
38841 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38843         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38844         * math/auto-libm-test-out: Regenerated.
38845         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38846         (hypot_test_data): Likewise.
38847         (pow_test_data): Likewise.
38848         (pow_tonearest_test_data): Likewise.
38849         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38850         mpfr_ff_f.
38851         (func_calc_desc): Add mpfr_ff_f union field.
38852         (FUNC_mpfr_ff_f): New macro.
38853         (test_functions): Add atan2, hypot and pow.
38854         (special_fill_min): New function.
38855         (special_fill_minus_min): Likewise.
38856         (special_fill_min_subnorm): Likewise.
38857         (special_fill_minus_min_subnorm): Likewise.
38858         (special_real_inputs): Add min, -min, min_subnorm and
38859         -min_subnorm.
38860         (calc_generic_results): Handle mpfr_ff_f.
38861         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2013-12-16  Will Newton  <will.newton@linaro.org>
38866         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38867         (Aligned Memory Blocks): Add documentation for aligned_alloc
38868         and suggest it as an alternative to posix_memalign.
38869         (Hooks for Malloc): Document __memalign_hook is also called
38870         for aligned_alloc.  (Summary of Malloc): Add summary for
38871         aligned alloc.  Document __memalign_hook is also called
38872         for aligned_alloc.
38874 2013-12-16  Will Newton  <will.newton@linaro.org>
38876         * manual/memory.texi (Malloc Examples): Clarify default
38877         alignment documentation.  Suggest posix_memalign rather
38878         than memalign or valloc.
38879         (Aligned Memory Blocks): Remove suggestion to use memalign
38880         or valloc.  Remove obsolete comment about BSD.
38881         Document memalign errno values and mark the function obsolete.
38882         Document posix_memalign returned error codes.  Mark valloc
38883         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38884         called for posix_memalign and valloc.
38885         (Summary of Malloc): Add posix_memalign to function summary.
38886         __memalign_hook is also called for posix_memalign and valloc.
38888 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38890         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38891         TAYLOR_SIN.
38892         (__sin): Adjust.
38893         (__cos): Likewise.
38894         (sloww): Use mynumber union.  Expand ternary operator into
38895         if-else statements.
38896         (cslow): use mynumber union.
38898 2013-12-16  Allan McRae  <allan@archlinux.org>
38900         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38901         * configure: Regenerated.
38903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38905         [BZ #14120]
38906         * configure.ac: Added --enable-maintainer-mode. Check for
38907         autoconf when enabled.
38908         * configure: Regenerated.
38910         * nscd/nscd.service: New file.
38911         * nscd/nscd.tmpfiles: New file.
38913 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38915         [BZ #12100]
38916         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38917         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38918         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38919         (strstr): Add __strstr_sse2_unaligned ifunc.
38920         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38921         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38922         (strcasestr): Remove __strcasestr_sse42 ifunc.
38923         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38927 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38929         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38930         * sysdeps/sh/bits/fenv.h: ... here.
38931         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38933 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38935         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38938         hypotf multiarch implementations.
38939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38942         multiarch hypot for PPC64.
38943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38946         multiarch hypotf for PPC64.
38948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38949         modff multiarch implementations.
38950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38953         multiarch modf for PPC64.
38954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38957         multiarch modff for PPC64.
38959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38960         and logl multiarch implementations.
38961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38964         multiarch logb for PPC64.
38965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38968         multiarch logb for PPC64.
38969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38972         multiarch logb for PPC64.
38974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38975         isinff multiarch implementation.
38976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38977         file.
38978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38980         multiarch isinf for PPC64.
38981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38982         file.
38983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38984         multiarch isinff for PPC64.
38986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38987         finitef multiarch implementation.
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38989         file.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38992         multiarch finite for PPC64.
38993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38994         file.
38995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38996         multiarch finitef for PPC64.
38998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38999         lrint multiarch implementation.
39000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39001         file.
39002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39004         multiarch llrint for PPC64.
39005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39006         multiarch lrint for PPC64.
39008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39009         copysignf multiarch implementation.
39010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39011         file.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39013         file.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39015         multiarch copysign for PPC64.
39016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39017         multiarch copysignf for PPC64.
39019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39020         multiarch implementation.
39021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39022         file.
39023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39024         file.
39025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39026         file.
39027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39028         file.
39029         multiarch llround for PPC64.
39030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39031         multiarch trunc for PPC64.
39032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39033         multiarch truncf for PPC64.
39035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39036         multiarch implementation.
39037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39038         file.
39039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39040         file.
39041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39042         file.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39044         file.
39045         multiarch llround for PPC64.
39046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39047         multiarch round for PPC64.
39048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39049         multiarch roundf for PPC64.
39051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39052         multiarch implementation.
39053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39054         file.
39055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39056         file.
39057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39058         file.
39059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39060         file.
39061         multiarch llround for PPC64.
39062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39063         multiarch floor for PPC64.
39064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39065         multiarch floorf for PPC64.
39067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39068         multiarch implementation.
39069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39070         file.
39071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39072         file.
39073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39074         file.
39075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39076         file.
39077         multiarch llround for PPC64.
39078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39079         multiarch ceil for PPC64.
39080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39081         multiarch ceilf for PPC64.
39083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39084         multiarch implementation.
39085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39086         file.
39087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39088         file.
39089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39090         file.
39091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39092         multiarch llround for PPC64.
39093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39094         multiarch lround for PPC64.
39096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39097         multiarch implementation.
39098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39101         file.
39102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39105         multiarch isnan for PPC64.
39106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39107         multiarch isnanf for PPC64.
39109         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39110         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39111         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39112         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39113         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39116         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39117         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39119         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39122         multiarch implementations.
39123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39124         (__libc_ifunc_impl_list): Likewise.
39125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39126         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39127         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39128         multiarch stpcpy for PPC64.
39130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39131         multiarch implementations.
39132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39133         (__libc_ifunc_impl_list): Likewise.
39134         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39135         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39136         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39137         multiarch strcpy for PPC64.
39139         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39140         redefine function name.
39141         (_wordcopy_fwd_dest_aligned): Likewise.
39142         (_wordcopy_bwd_aligned): Likewise.
39143         (_wordcopy_bwd_dest_aligned): Likewise.
39144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39145         multiarch implementations.
39146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39147         (__libc_ifunc_impl_list): Likewise.
39148         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39149         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39150         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39152         multiarch wcscpy for PPC64.
39154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39155         multiarch implementations.
39156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39157         (__libc_ifunc_impl_list): Likewise.
39158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39159         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39160         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39162         multiarch wcscpy for PPC64.
39164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39165         multiarch implementations.
39166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39167         (__libc_ifunc_impl_list): Likewise.
39168         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39169         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39170         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39171         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39172         multiarch wcsrchr for PPC64.
39174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39175         multiarch implementations.
39176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39177         (__libc_ifunc_impl_list): Likewise.
39178         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39179         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39180         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39181         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39182         multiarch wcschr for PPC64.
39184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39185         multiarch implementations.
39186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39187         (__libc_ifunc_impl_list): Likewise.
39188         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39189         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39190         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39191         multiarch strchrnul for PPC64.
39193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39194         implementations.
39195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39196         (__libc_ifunc_impl_list): Likewise.
39197         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39198         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39199         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39200         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39201         strchr for PPC64.
39203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39204         implementations.
39205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39206         (__libc_ifunc_impl_list): Likewise.
39207         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39208         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39209         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39210         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39211         strncmp for PPC64.
39213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39214         multiarch implementations.
39215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39216         (__libc_ifunc_impl_list): Likewise.
39217         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39218         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39219         strncasecmp for PPC64.
39220         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39221         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39222         multiarch strncasecmp_l for PPC64.
39224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39225         multiarch implementations.
39226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39227         (__libc_ifunc_impl_list): Likewise.
39228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39230         multiarch strcasecmp for PPC64.
39231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39232         file.
39233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39234         multiarch strcasecmp_l for PPC64.
39236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39237         implementations.
39238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39239         (__libc_ifunc_impl_list): Likewise.
39240         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39241         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39242         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39243         strnlen for PPC64.
39245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39246         implementations.
39247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39248         (__libc_ifunc_impl_list): Likewise.
39249         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39250         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39251         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39252         strlen for PPC64.
39254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39255         implementations.
39256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39257         (__libc_ifunc_impl_list): Likewise.
39258         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39259         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39260         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39261         rawmemrchr for PPC64.
39263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39264         implementation.
39265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39266         (__libc_ifunc_impl_list): Likewise.
39267         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39268         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39269         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39270         memrchr for PPC64.
39272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39273         implementation.
39274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39275         (__libc_ifunc_impl_list): Likewise.
39276         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39277         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39278         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39279         memchr for PPC64.
39281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39282         implementation.
39283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39284         (__libc_ifunc_impl_list): Likewise.
39285         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39286         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39287         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39288         mempcpy for PPC64.
39290         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39291         avoid cretion of __bzero symbol.
39292         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39293         Likewise.
39294         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39295         Likewise.
39296         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39297         Likewise.
39298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39299         multiarch implementations.
39300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39301         (__libc_ifunc_impl_list): Likewise.
39302         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39303         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39304         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39305         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39306         bzero for PPC32.
39307         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39308         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39309         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39310         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39311         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39312         memset for PPC64.
39313         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39315         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39317         implementations.
39318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39319         (__libc_ifunc_impl_list): Likewise.
39320         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39321         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39322         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39323         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39324         memcmp for PPC64.
39326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39327         multiarch for POWER/PPC64.
39328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39329         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39336         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39337         memcpy for PPC64.
39339         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39340         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39341         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39342         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39343         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39344         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39345         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39346         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39347         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39348         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39349         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39350         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39351         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39352         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39353         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39362 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39364         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39366 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39368         * benchtests/Makefile (bench): Add exp2 and log2.
39369         (LDLIBS-bench-exp2): Add -lm.
39370         (LDLIBS-bench-log2): Likewise.
39371         * benchtests/exp2-inputs: New inputs file.
39372         * benchtests/log2-inputs: New inputs file.
39373         * benchtests/log-inputs: Add new inputs.
39374         * benchtests/tan-inputs: Likewise.
39376 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39378         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39379         definition...
39380         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39381         (csloww2): ... from here.
39383         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39384         instead of structures.
39385         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39386         (POLYNOMIAL): Likewise.
39387         (TAYLOR_SLOW): Likewise.
39388         (__sin): Likewise.
39389         (__cos): Likewise.
39390         (slow1): Likewise.
39391         (slow2): Likewise.
39392         (sloww): Likewise.
39393         (sloww1); Likewise.
39394         (sloww2): Likewise.
39395         (bsloww1): Likewise.
39396         (bsloww2): Likewise.
39397         (cslow2): Likewise.
39398         (csloww): Likewise.
39399         (csloww1): Likewise.
39400         (csloww2): Likewise.
39402 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39404         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39405         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39406         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39407         * malloc/hooks.c (realloc_check): Likewise.
39409         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39410         * malloc/arena.c: Remove PER_THREAD conditional.
39411         [!PER_THREAD]: Remove code.
39412         (ptmalloc_unlock_all2): Likewise.
39413         (ptmalloc_init): Likewise.
39414         (_int_new_arena): Likewise.
39415         (arena_get2): Likewise.
39416         * malloc/hooks.c (__malloc_get_state): Likewise.
39417         (__malloc_set_state): Likewise.
39418         * malloc/malloc.c: Likewise.
39419         (struct malloc_state): Likewise.
39420         (struct malloc_par): Likewise.
39421         (__libc_realloc): Likewise.
39422         (__libc_mallopt): Likewise.
39424 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39426         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39428 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39430         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39431         macro to a function.  Check for zero perturb_byte.
39432         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39434         * malloc/malloc.c: (force_reg): Remove.
39435         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39436         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39437         force_reg by atomic_forced_read.
39438         * malloc/arena.c (ptmalloc_init): Likewise.
39439         * malloc/hooks.c (top_check): Likewise.
39441 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39445 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39449 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39451         * math/auto-libm-test-in: Add tests of lgamma.
39452         * math/auto-libm-test-out: Regenerated.
39453         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39454         (M_LOG_2_SQRT_PIl): Likewise.
39455         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39456         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39457         mpfr_f_f1.
39458         (func_calc_desc): Add mpfr_f_f1 union field.
39459         (ARGS1): New macro.
39460         (ARGS2): Likewise.
39461         (ARGS3): Likewise.
39462         (ARGS4): Likewise.
39463         (RET1): Likewise.
39464         (RET2): Likewise.
39465         (CALC): Likewise.
39466         (FUNC): Likewise.
39467         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39468         (test_functions): Add lgamma.
39469         (calc_generic_results): Handle mpfr_f_f1.
39470         * sysdeps/i386/fpu/libm-test-ulps: Update.
39471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39475         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39476         __mpn_add_n for PowerPC64/POWER7.
39477         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39478         __mpn_sub_n for PowerPC64/POWER7.
39480         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39481         __mpn_addmul_1 for PowerPC64.
39482         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39483         __mpn_submul_1 for PowerPC64.
39484         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39485         for PowerPC64.
39486         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39487         for PowerPC64.
39489 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39491         [BZ #15089]
39492         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39494 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39496         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39498         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39499         add multiarch folders.
39500         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39501         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39502         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39503         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39504         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39505         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39506         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39507         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39508         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39509         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39510         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39519         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39521         New file.
39522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39523         New file.
39524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39525         multiarch __ieee754_hypot for PowerPC32.
39526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39527         New file.
39528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39529         New file.
39530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39531         multiarch __ieee754_hypotf for PowerPC32.
39533         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39534         long_double_symbol only if __logbl is defined.
39535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39536         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39538         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39540         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39541         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39542         path for implementation.
39543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39546         logb, and logbl multiarch implementations for PowerPC32.
39547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39548         file.
39549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39550         file.
39551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39552         multiarch logb for PowerPC32.
39553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39554         file.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39556         file.
39557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39558         multiarch logbf for PowerPC32.
39559         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39561         file.
39562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39563         multiarch logbl implementation for PowerPC32.
39565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39566         and modff multiarch implementations.
39567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39568         New file.
39569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39570         New file.
39571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39572         multiarch modf for PowerPC32.
39573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39574         New file.
39575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39576         New file.
39577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39578         multiarch modff for PowerPC32.
39580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39581         and lrintf multiarch implementations.
39582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39583         New file.
39584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39585         New file.
39586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39587         multiarch lrint for PowerPC32.
39588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39589         file: multiarch lrintf for PowerPC32.
39591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39592         and lroundf multiarch implementations.
39593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39594         New file.
39595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39596         New file.
39597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39598         New file.
39599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39600         multiarch lround for PowerPC32.
39601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39602         file: multiarch lroundf for PowerPC32.
39604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39605         copysign and copysignf multiarch implementations.
39606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39607         New file.
39608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39609         New file.
39610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39611         file: multiarch copysign for PowerPC32.
39612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39613         file: multiarch copysignf for PowerPC32.
39615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39616         and truncf multiarch implementations.
39617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39618         New file.
39619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39620         file.
39621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39622         multiarch trunc for PowerPC32.
39623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39624         New file.
39625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39626         New file.
39627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39628         multiarch truncf for PowerPC32.
39630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39631         and roundf multiarch implementations.
39632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39633         New file.
39634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39635         file.
39636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39637         multiarch round for PowerPC32.
39638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39639         New file.
39640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39641         New file.
39642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39643         multiarch roundf for PowerPC32.
39645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39646         and floorf multiarch implementations.
39647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39648         New file.
39649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39650         file.
39651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39652         multiarch floor for PowerPC32.
39653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39654         New file.
39655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39656         New file.
39657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39658         multiarch floorf for PowerPC32.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39661         and ceilf multiarch implementations.
39662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39663         New file.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39665         file.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39667         multiarch ceil for PowerPC32.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39669         New file.
39670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39671         file.
39672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39673         multiarch ceilf for PowerPC32.
39675         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39676         is defined.
39677         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39678         FINITEF is defined.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39680         and finitef multiarch implementations.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39682         New file.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39684         file.
39685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39686         multiarch finite for PowerPC32.
39687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39688         New file.
39689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39690         file: multiarch finitef for PowerPC32.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39693         and isinff multiarch implementations.
39694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39695         file.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39697         file.
39698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39699         multiarch isinf for PowerPC32.
39700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39701         New file.
39702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39703         multiarch isinff for PowerPC32.
39705         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39706         alias when __isnan is defined.
39707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39708         and isnanf multiarch implementations.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39710         file.
39711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39712         file.
39713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39714         file.
39715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39716         file.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39718         multiarch isnan for PowerPC32.
39719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39720         New file.
39721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39722         New file.
39723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39724         multiarch isnanf for PowerPC32.
39726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39727         and sqrtf multiarch implementations.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39729         file.
39730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39731         file.
39732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39733         multiarch sqrt for PowerPC32.
39734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39735         file.
39736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39737         file.
39738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39739         multiarch sqrtf for PowerPC32.
39741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39742         and llroundf multiarch implementations.
39743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39744         New file.
39745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39746         New file.
39747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39748         New file.
39749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39750         file: multiarch llround for PowerPC32.
39751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39752         file: multiarch llroundf for PowerPC32.
39754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39755         multiarch PowerPC32 fpu implementations.
39756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39757         New file.
39758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39759         New file.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39761         multiarch llrint for PowerPC32.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39763         New file.
39764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39765         New file.
39766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39767         file.
39769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39771         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39772         file.
39773         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39774         file.
39775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39776         file.
39777         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39778         multiarch wordcopy for PPC32.
39779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39780         wordcopy objects.
39781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39782         (__libc_ifunc_impl_list): Likewise.
39783         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39784         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39785         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39786         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39787         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39788         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39790         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39792         file.
39793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39794         file.
39795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39796         file.
39797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39798         multiarch wcscpy for PPC32.
39799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39800         multiarch objects.
39801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39802         (__libc_ifunc_impl_list): Likewise.
39803         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39804         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39805         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39806         sysdeps/powerpc/power6/wcscpy.c.
39808         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39810         file.
39811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39812         file.
39813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39814         file.
39815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39816         multiarch wcsrchr for PPC32.
39817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39818         multiarch objects.
39819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39820         (__libc_ifunc_impl_list): Likewise.
39821         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39822         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39823         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39824         sysdeps/powerpc/power6/wcsrchr.c.
39826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39827         file.
39828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39829         file.
39830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39832         multiarch wcschr for PPc32.
39833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39834         multiarch objects.
39835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39836         (__libc_ifunc_impl_list): Likewise.
39837         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39838         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39839         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39840         sysdeps/powerpc/power6/wcschr.c.
39842         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39843         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39844         file.
39845         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39846         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39847         file: multiarch strchr for PPC32.
39848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39849         multiarch objects.
39850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39851         (__libc_ifunc_impl_list): Likewise.
39853         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39854         name.
39855         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39856         file.
39857         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39858         file.
39859         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39860         multiarch strchrnul for PPC32.
39861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39862         multiarch objects.
39863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39864         (__libc_ifunc_impl_list): Likewise.
39866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39867         file.
39868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39869         multiarch strncasecmp for PPC32.
39870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39871         file.
39872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39873         multiarch strncasecmp_l for PPC32.
39874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39875         strncasecmp multiarch objects.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39877         (__libc_ifunc_impl_list): Likewise.
39879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39880         file.
39881         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39882         multiarch strncasecmp for PPC32.
39883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39884         New file.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39886         multiarch strcasecmp_l for PPC32.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39888         multiarch objects.
39889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39890         (__libc_ifunc_impl_list): Likewise.
39892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39893         file.
39894         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39895         file.
39896         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39897         multiarch strncmp for PPC32.
39898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39899         multiarch objects.
39900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39901         (__libc_ifunc_impl_list): Likewise.
39903         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39904         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39905         file.
39906         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39907         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39909         multiarch objects.
39910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39911         (__libc_ifunc_impl_list): Likewise.
39913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39914         file.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39916         file.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39919         multiarch objects.
39920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39921         (__libc_ifunc_impl_list): Likewise.
39923         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39924         file.
39925         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39926         file.
39927         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39928         multiarch rawmemchr for PPC32.
39929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39930         multiarch objects.
39931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39932         (__libc_ifunc_impl_list): Likewise.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39935         file.
39936         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39937         file.
39938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39939         file: memrchr multiarch for PPC32.
39940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39941         multiarch objects.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39943         (__libc_ifunc_impl_list): Likewise.
39945         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39946         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39947         file.
39948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39950         multiarch memchr for PPC32.
39951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39952         multiarch objects.
39953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39954         (__libc_ifunc_impl_list): Likewise.
39956         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39958         file.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39960         file.
39961         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39962         file: multiarch mempcpy for PPC32.
39963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39964         multiarch objects.
39965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39966         (__libc_ifunc_impl_list): Likewise.
39968         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39969         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39971         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39972         multiarch bzero for PPC32.
39973         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39974         file.
39975         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39976         file.
39977         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39978         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39979         file: multiarch memset for PPC32.
39980         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39982         memset multiarch objects.
39983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39984         (__libc_ifunc_impl_list): Likewise.
39986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39987         file.
39988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39990         memcmp for PPC32.
39991         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39993         multiarch objects.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39995         (__libc_ifunc_impl_list): Likewise.
39997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40000         file.
40001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40002         file.
40003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40004         file.
40005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40006         multiarch memcpy for PPC32.
40007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40008         multiarch objects.
40009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40010         (__libc_ifunc_impl_list): Likewise.
40012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40013         support multiarch for POWER/PPC32.
40014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40015         Likewise.
40016         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40018         Implies file to make multiarch folder appers before the fpu and
40019         default folder for power4 configuration.
40021 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40023         * scripts/bench.pl: Append volatile keyword to type.
40025 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40027         * sysdeps/sh/sotruss-lib.c: New file.
40028         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40030 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40034 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40036         [BZ #6810]
40037         * math/w_tgamma.c: Include <errno.h>.
40038         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40039         * math/w_tgammaf.c: Include <errno.h>.
40040         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40041         * math/w_tgammal.c: Include <errno.h>.
40042         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40043         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40044         underflow.  Add more tgamma tests.
40045         * math/auto-libm-test-out: Regenerated.
40046         * sysdeps/i386/fpu/libm-test-ulps: Update.
40047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40049         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40050         sin, sinh, tan, tanh, tgamma, y0 and y1.
40051         * math/auto-libm-test-out: Regenerated.
40052         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40053         (TEST_COND_x86): Likewise.
40054         (M_E2l): Remove macro.
40055         (M_E3l): Likewise.
40056         (M_2_SQRT_PIl): Likewise.
40057         (M_SQRT_PIl): Likewise.
40058         (M_1_DIV_El): Likewise.
40059         (log_test_data): Use AUTO_TESTS_f_f.
40060         (log10_test_data): Likewise.
40061         (log1p_test_data): Likewise.
40062         (log2_test_data): Likewise.
40063         (sin_test_data): Likewise.
40064         (sin_tonearest_test_data): Likewise.
40065         (sin_towardzero_test_data): Likewise.
40066         (sin_downward_test_data): Likewise.
40067         (sin_upward_test_data): Likewise.
40068         (sinh_test_data): Likewise.
40069         (sinh_tonearest_test_data): Likewise.
40070         (sinh_towardzero_test_data): Likewise.
40071         (sinh_downward_test_data): Likewise.
40072         (sinh_upward_test_data): Likewise.
40073         (tan_test_data): Likewise.
40074         (tan_tonearest_test_data): Likewise.
40075         (tan_towardzero_test_data): Likewise.
40076         (tan_downward_test_data): Likewise.
40077         (tan_upward_test_data): Likewise.
40078         (tanh_test_data): Likewise.
40079         (tgamma_test_data): Likewise.
40080         (y0_test_data): Likewise.
40081         (y1_test_data): Likewise.
40082         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40083         (special_real_inputs): Add pi/4.
40084         * sysdeps/i386/fpu/libm-test-ulps: Update.
40085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40087 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40089         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40090         "longjmp_target" static probes.
40091         (__longjmp): Rename to __longjmp_symbol.
40092         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40093         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40094         on which longjmp to generate.
40095         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40096         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40097         probe.
40098         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40099         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40100         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40101         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40102         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40103         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40105         __longjmp_symbol based on which __longjmp to generate.
40106         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40107         probe.
40108         (setjmp): Rename to setjmp_symbol.
40109         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40110         (_setjmp): Rename to _setjmp_symbol.
40111         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40112         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40113         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40114         which setjmp to generate.
40115         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40116         "longjmp_target" static probes.
40118 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40120         * benchtests/README: Add note about output arguments.
40121         * benchtests/bench-sincos.c: Remove file.
40122         * benchtests/sincos-inputs: New file.
40123         * scripts/bench.pl: Identify output arguments and define
40124         static variables for them.
40126         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40128         [BZ #15941]
40129         * Makefile (INSTALL): Add install-plain.texi as the primary
40130         dependency.
40131         * manual/install-plain.texi: New file.
40132         * manual/install.texi: Include node directive only for
40133         non-plaintext output.
40135 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40137         * stdlib/longlong.h: Update from GCC.
40139         [BZ #6807]
40140         [BZ #15901]
40141         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40142         * math/w_j0f.c (y0f): Likewise.
40143         * math/w_j0l.c (__y0l): Likewise.
40144         * math/w_j1.c (y1): Likewise.
40145         * math/w_j1f.c (y1f): Likewise.
40146         * math/w_j1l.c (__y1l): Likewise.
40147         * math/w_jn.c (yn): Likewise.
40148         * math/w_jnf.c (ynf): Likewise.
40149         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40150         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40151         value for Bessel function domain errors outside _SVID_ mode.
40152         Adjust sign of return value for yn (negative integer, 0).
40153         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40154         by zero in return for negative x and set sign appropriately for
40155         negative n.
40156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40157         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40158         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40159         expectations in error cases.
40160         (y1_test_data): Likewise.
40161         (yn_test_data): Likewise.
40162         * sysdeps/i386/fpu/libm-test-ulps: Update.
40163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40167         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40168         "64" to "64-v1".  Add "64-v2".
40169         (abi-64-options): Rename to ...
40170         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40171         (abi-64-condition): Rename to ...
40172         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40173         (abi-64-ld-soname): Rename to ...
40174         (abi-64-v1-ld-soname): ... this.
40175         (abi-64-v2-options): Define.
40176         (abi-64-v2-condition): Likewise.
40177         (abi-64-v2-ld-soname): Likewise.
40178         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40179         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40184 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40185             Alan Modra  <amodra@gmail.com>
40187         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40188         New versions for use with the ELFv2 ABI.
40189         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40190         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40191         declaration.
40192         (struct La_ppc64v2_retval): Likewise.
40193         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40194         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40195         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40196         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40197         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40199         Do not save or restore CR.
40200         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40201         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40202         return values for ELFv2 ABI.  Fix location of FPR return registers.
40203         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40204         updated values for _CALL_ELF == 2.
40205         (La_regs, La_retval, int_retval): Likewise.
40207 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40209         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40210         (FRAME_MIN_SIZE_PARM): Likewise.
40211         (FRAME_BACKCHAIN): Likewise.
40212         (FRAME_CR_SAVE): Likewise.
40213         (FRAME_LR_SAVE): Likewise.
40214         (FRAME_TOC_SAVE): Likewise.
40215         (FRAME_PARM_SAVE): Likewise.
40216         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40217         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40218         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40219         (call_mcount_parm_offset): New macro.
40220         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40221         (PROF): Use symbolic stack frame offsets.
40222         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40223         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40224         Redefine in terms of FRAME_MIN_SIZE.
40225         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40226         (_dl_profile_resolve): Likewise.  Update comment.
40227         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40228         symbols stack frame offsets.
40229         (__sigsetjmp): Likewise.
40230         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40231         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40232         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40233         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40236         (FRAME_BACKCHAIN): Remove.
40237         (FRAME_CR_SAVE): Likewise.
40238         (FRAME_LR_SAVE): Likewise.
40239         (FRAME_COMPILER_DW): Likewise.
40240         (FRAME_LINKER_DW): Likewise.
40241         (FRAME_TOC_SAVE): Likewise.
40242         (FRAME_PARM_SAVE): Likewise.
40243         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40244         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40245         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40247         (CHECK_SP): Use symbolic stack frame offsets.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40249         zone" instead of caller's parameter save area for temp storage.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40251         Likewise.  Also, use symbolic stack frame offsets.
40252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40253         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40254         our own stack frame instead of the caller's.
40255         (__socket): Use symbolic stack frame offsets.
40257 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40258             Alan Modra  <amodra@gmail.com>
40260         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40261         Define.
40262         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40263         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40264         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40265         New function.
40266         (elf_machine_fixup_plt): Call it.
40267         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40268         reloc arguments.
40269         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40270         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40271         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40272         r2 before calling target.
40274 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40275             Alan Modra  <amodra@gmail.com>
40277         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40278         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40279         versions of macros to support ELFv2 ABI.
40280         (LOCALENTRY): New macro.
40281         (ENTRY, EALIGN): Use it.
40282         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40283         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40284         fall through into ENTRY entry point.
40285         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40286         Only define if _CALL_ELF != 2.
40288         (elf_machine_matches_host): Verify ABI version matches.
40289         (RTLD_START): Use LOCALENTRY.
40290         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40291         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40292         (PLT_ENTRY_WORDS): New macro.
40293         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40294         (elf_machine_runtime_setup): Support ELFv2 ABI.
40295         (elf_machine_fixup_plt): Likewise.
40296         (elf_machine_plt_conflict): Likewise.
40297         (resolve_ifunc): Likewise.
40298         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40299         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40300         Likewise.
40301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40302         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40304         (makecontext): Support ELFv2 ABI.
40305         * elf/elf.h (EF_PPC64_ABI): Define.
40307 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40309         * sysdeps/powerpc/powerpc64/sysdep.h
40310         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40311         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40312         (ENTRY) [ASSEMBLER]: ... but instead here ...
40313         (EALIGN) [ASSEMBLER]: ... and here.
40314         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40315         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40316         (ENTRY_2) [!ASSEMBLER]: Use it.
40317         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40318         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40319         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40320         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40321         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40323         Use PPC64_LOAD_FUNCPTR.
40325         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40327 2013-12-04  Alan Modra  <amodra@gmail.com>
40329         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40330         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40331         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40332         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40335         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40336         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40337         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40338         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40339         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40341 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40344         (__makecontext): Fix incorrect CFI when backtracing out of
40345         context created via makecontext.
40346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40347         (__setcontext): Fix incorrect CFI during switch to new context.
40348         (__novec_setcontext): Likewise.
40350 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40352         [BZ #4772]
40353         * time/strptime_l.c (__strptime_internal): Allow modifiers
40354         in strptime.
40355         * time/tst-strptime.c (day_tests): Add testcase.
40357 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40359         * scripts/bench.pl: Skip over blank lines.
40361 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40363         [BZ #926]
40364         * manual/time.texi (Calendar Time): Clarify what timezone functions
40365         use.
40367 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40371 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40373         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40374         implementation.
40375         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40376         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40377         * debug/memset_chk.c (__memset_chk): Likewise.
40378         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40379         * debug/strncpy_chk.c: Likewise.
40381 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40383         [BZ #15268]
40384         [BZ #15425]
40385         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40386         (__ieee754_exp): For possibly underflowing results, check size of
40387         result and force underflow exception if required.
40388         * math/auto-libm-test-in: Add more tests of exp.
40389         * math/auto-libm-test-out: Regenerated.
40390         * sysdeps/i386/fpu/libm-test-ulps: Update.
40391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40393         [BZ #16283]
40394         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40395         * math/w_exp2f.c (__exp2f): Likewise.
40396         * math/w_exp2l.c (__exp2l): Likewise.
40397         * math/auto-libm-test-in: Do not allow missing errno on exp2
40398         underflow.
40399         * math/auto-libm-test-out: Regenerated.
40401 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40403         [BZ #16274]
40404         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40405         handle filename validation.
40406         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40407         (do_open): Delete.
40409 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40411         [BZ #6786]
40412         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40413         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40414         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40415         <float.h>.
40416         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40417         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40418         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40419         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40420         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40421         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40422         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40423         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40424         Add more erfc tests.
40425         * math/auto-libm-test-out: Regenerated.
40426         * sysdeps/i386/fpu/libm-test-ulps: Update.
40427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40429         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40430         exp2, expm1, j0 and j1.
40431         * math/auto-libm-test-out: Regenerated.
40432         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40433         (erfc_test_data): Likewise.
40434         (exp_test_data): Likewise.
40435         (exp_tonearest_test_data): Likewise.
40436         (exp_towardzero_test_data): Likewise.
40437         (exp_downward_test_data): Likewise.
40438         (exp_upward_test_data): Likewise.
40439         (exp10_test_data): Likewise.
40440         (exp2_test_data): Likewise.
40441         (expm1_test_data): Likewise.
40442         (j0_test_data): Likewise.
40443         (j1_test_data): Likewise.
40444         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40445         (input_flag_type): Add flag_xfail_rounding.
40446         (input_flags): Add xfail-rounding.
40447         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40448         (output_for_one_input_case): Handle flag_xfail_rounding.
40449         * sysdeps/i386/fpu/libm-test-ulps: Update.
40450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40452 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40454         [BZ #16289]
40455         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40456         division by 0.
40458 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40460         [BZ #16195]
40461         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40462         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40463         (STAP_PROBE0): New macro.
40464         (STAP_PROBE1): Likewise.
40465         (STAP_PROBE2): Likewise.
40466         (STAP_PROBE3): Likewise.
40467         (STAP_PROBE4): Likewise.
40469 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40471         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40473 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40475         * benchtests/Makefile (bench): Add sqrt.
40476         (LDLIBS-bench-sqrt): New.
40477         * benchtests/sqrt-input: New.
40479 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40481         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40482         (GAIH_EAI): Likewise.
40483         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40484         (gaih_inet): Likewise.
40485         (getaddrinfo): Don't use GAIH_EAI.
40487         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40488         (struct gaih): Remove definition.
40490 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40492         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40493         Use HERRNOP directly.
40495 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40499 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40501         * math/gen-auto-libm-tests.c (test_functions): Add more
40502         single-argument functions.
40503         (special_fill_pi_2): New function.
40504         (special_fill_minus_pi_2): Likewise.
40505         (special_fill_pi_6): Likewise.
40506         (special_fill_minus_pi_6): Likewise.
40507         (special_fill_pi_3): Likewise.
40508         (special_fill_2pi_3): Likewise.
40509         (special_fill_e): Likewise.
40510         (special_fill_1_e): Likewise.
40511         (special_fill_e_minus_1): Likewise.
40512         (special_real_inputs): Add more special inputs.
40513         (output_for_one_input_case): Do not require ERANGE on underflow to
40514         zero if round-to-nearest result does not underflow to zero, unless
40515         exact results required.
40516         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40517         atan, atanh, cbrt, cos and cosh.
40518         * math/auto-libm-test-out: Regenerated.
40519         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40520         (acos_tonearest_test_data): Likewise.
40521         (acos_towardzero_test_data): Likewise.
40522         (acos_downward_test_data): Likewise.
40523         (acos_upward_test_data): Likewise.
40524         (acosh_test_data): Likewise.
40525         (asin_test_data): Likewise.
40526         (asin_tonearest_test_data): Likewise.
40527         (asin_towardzero_test_data): Likewise.
40528         (asin_upward_test_data): Likewise.
40529         (asinh_test_data): Likewise.
40530         (atan_test_data): Likewise.
40531         (atanh_test_data): Likewise.
40532         (cbrt_test_data): Likewise.
40533         (cos_test_data): Likewise.
40534         (cos_tonearest_test_data): Likewise.
40535         (cos_towardzero_test_data): Likewise.
40536         (cos_downward_test_data): Likewise.
40537         (cos_upward_test_data): Likewise.
40538         (cosh_test_data): Likewise.
40539         (cosh_tonearest_test_data): Likewise.
40540         (cosh_towardzero_test_data): Likewise.
40541         (cosh_downward_test_data): Likewise.
40542         (cosh_upward_test_data): Likewise.
40543         * sysdeps/i386/fpu/libm-test-ulps: Update.
40544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40546 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40548         [BZ #6787]
40549         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40550         * math/w_exp10f.c (__exp10f): Likewise.
40551         * math/w_exp10l.c (__exp10l): Likewise.
40552         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40553         errno settings in existing tests.
40555         [BZ #14032]
40556         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40557         precision control set to double precision.
40558         * sysdeps/i386/fpu/w_sqrt.c: New file.
40559         * math/auto-libm-test-in: Add more tests.
40560         * math/auto-libm-test-out: Update.
40562         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40563         (sqrt_test_tonearest): New function.
40564         (sqrt_towardzero_test_data): New variable.
40565         (sqrt_test_towardzero): New function.
40566         (sqrt_downward_test_data): New variable.
40567         (sqrt_test_downward): New function.
40568         (sqrt_upward_test_data): New variable.
40569         (sqrt_test_upward): New function.
40570         (main): Call the new functions.
40572         * math/gen-auto-libm-tests.c: New file.
40573         * math/auto-libm-test-in: Likewise.
40574         * math/auto-libm-test-out: New generated file.
40575         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40576         variables.
40577         (%beautify): Add generated representations of zero.
40578         (top level): Set $auto_input and call parse_auto_input.
40579         (beautify): Remove trailing "f" from hex float constants.
40580         (parse_args): Handle XFAIL_TEST.
40581         (convert_condition): New function.
40582         (or_value): Likewise.
40583         (or_cond_value): Likewise.
40584         (generate_testfile): Handle AUTO_TESTS_* lines.
40585         (parse_auto_input): New function.
40586         * math/libm-test.inc (XFAIL_TEST): New macro.
40587         (ERRNO_UNCHANGED): Update value.
40588         (ERRNO_EDOM): Likewise.
40589         (ERRNO_ERANGE): Likewise.
40590         (IGNORE_RESULT): Likewise.
40591         (TEST_COND_flt_32): New macro.
40592         (TEST_COND_dbl_64): Likewise.
40593         (TEST_COND_ldbl_96_intel): Likewise.
40594         (TEST_COND_ldbl_96_m68k): Likewise.
40595         (TEST_COND_ldbl_128): Likewise.
40596         (TEST_COND_ldbl_128ibm): Likewise.
40597         (TEST_COND_long32): Likewise.
40598         (TEST_COND_long64): Likewise.
40599         (TEST_COND_before_rounding): Likewise.
40600         (TEST_COND_after_rounding): Likewise.
40601         (enable_test): Handle XFAIL_TEST flag.
40602         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40603         with finite results.
40604         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40605         auto-libm-test-out.
40607 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40608             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40610         [BZ #16214]
40611         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40612         __tls_get_addr_internal instead of __tls_get_offset in order to
40613         avoid GOT pointer dependency.  Make rtld export
40614         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40615         __tls_get_addr since we are a __tls_get_offset platform.
40616         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40617         GOT pointer being set up before.
40618         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40620 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40622         * manual/math.texi (Errors in Math Functions): Document accuracy
40623         goals.
40625         [BZ #15004]
40626         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40627         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40630         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40632         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40643         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40644         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40645         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40646         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40647         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40648         Likewise.
40649         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40650         Likewise.
40651         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40652         Likewise.
40653         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40654         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40655         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40656         atomic-feupdateenv and flt-rounds.
40657         * sysdeps/powerpc/nofpu/Versions (libc): Add
40658         __atomic_feholdexcept, __atomic_feclearexcept,
40659         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40661         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40662         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40663         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40664         here.
40665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40666         Update.
40668         * manual/arith.texi (FP Exceptions): Document that exceptions may
40669         not be raised when matherr is used.
40670         (Math Error Reporting): Document overflow in directed rounding
40671         modes.  Document that errno may not be set when finite values are
40672         returned on overflow.  Document intent to set errno on underflow
40673         only for underflow to zero.
40675         [BZ #16271]
40676         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40677         round-to-nearest then adjust result for other rounding modes.
40678         * include/fenv.h (fegetround): Use libm_hidden_proto.
40679         * math/fegetround.c (fegetround): Use libm_hidden_def.
40680         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40681         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40682         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40683         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40684         Likewise.
40685         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40686         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40687         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40688         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40690 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40692         [BZ #16077]
40693         * nss/Versions (libnss_files): Add
40694         _nss_files_gethostbyname3_r.
40695         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40696         New function.
40697         (HOST_DB_LOOKUP): Remove macro.
40698         (_nss_files_gethostbyname_r): Implement function without the
40699         HOST_DB_LOOKUP macro.
40700         (_nss_files_gethostbyname2_r): Likewise.
40702 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40704         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40706 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40708         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40709         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40710         warning.
40712 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40714         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40715         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40716         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40717         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40718         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40719         __fe_nomask_env_priv and attribute_hidden.
40720         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40721         (libc_feupdateenv_test_ppc): Likewise.
40722         (libc_feresetround_ppc): Likewise.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40724         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40725         compat_symbol macro.
40726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40727         (__fe_nomask_env): Likewise.
40728         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40730 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40732         * string/Makefile: Remove ifunc tests.
40733         * string/test-string.h: Define TEST_IFUNC.
40734         * string/test-bcopy-ifunc.c: Remove.
40735         * string/test-bzero-ifunc.c: Likewise.
40736         * string/test-memccpy-ifunc.c: Likewise.
40737         * string/test-memchr-ifunc.c: Likewise.
40738         * string/test-memcmp-ifunc.c: Likewise.
40739         * string/test-memcpy-ifunc.c: Likewise.
40740         * string/test-memmem-ifunc.c: Likewise.
40741         * string/test-memmove-ifunc.c: Likewise.
40742         * string/test-mempcpy-ifunc.c: Likewise.
40743         * string/test-memrchr-ifunc.c: Likewise.
40744         * string/test-memset-ifunc.c: Likewise.
40745         * string/test-rawmemchr-ifunc.c: Likewise.
40746         * string/test-stpcpy-ifunc.c: Likewise.
40747         * string/test-stpncpy-ifunc.c: Likewise.
40748         * string/test-strcasecmp-ifunc.c: Likewise.
40749         * string/test-strcasestr-ifunc.c: Likewise.
40750         * string/test-strcat-ifunc.c: Likewise.
40751         * string/test-strchr-ifunc.c: Likewise.
40752         * string/test-strchrnul-ifunc.c: Likewise.
40753         * string/test-strcmp-ifunc.c: Likewise.
40754         * string/test-strcpy-ifunc.c: Likewise.
40755         * string/test-strcspn-ifunc.c: Likewise.
40756         * string/test-strlen-ifunc.c: Likewise.
40757         * string/test-strncasecmp-ifunc.c: Likewise.
40758         * string/test-strncat-ifunc.c: Likewise.
40759         * string/test-strncmp-ifunc.c: Likewise.
40760         * string/test-strncpy-ifunc.c: Likewise.
40761         * string/test-strnlen-ifunc.c: Likewise.
40762         * string/test-strpbrk-ifunc.c: Likewise.
40763         * string/test-strrchr-ifunc.c: Likewise.
40764         * string/test-strspn-ifunc.c: Likewise.
40765         * string/test-strstr-ifunc.c: Likewise.
40767 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40769         * benchtests/Makefile: Remove ifunc tests.
40770         * benchtests/bench-string.h: Define TEST_IFUNC.
40771         * benchtests/bench-bcopy-ifunc.c: Remove.
40772         * benchtests/bench-bzero-ifunc.c: Likewise.
40773         * benchtests/bench-memccpy-ifunc.c: Likewise.
40774         * benchtests/bench-memchr-ifunc.c: Likewise.
40775         * benchtests/bench-memcmp-ifunc.c: Likewise.
40776         * benchtests/bench-memcpy-ifunc.c: Likewise.
40777         * benchtests/bench-memmem-ifunc.c: Likewise.
40778         * benchtests/bench-memmove-ifunc.c: Likewise.
40779         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40780         * benchtests/bench-memrchr-ifunc.c: Likewise.
40781         * benchtests/bench-memset-ifunc.c: Likewise.
40782         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40783         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40784         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40785         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40786         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40787         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40788         * benchtests/bench-strcat-ifunc.c: Likewise.
40789         * benchtests/bench-strchr-ifunc.c: Likewise.
40790         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40791         * benchtests/bench-strcmp-ifunc.c: Likewise.
40792         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40793         * benchtests/bench-strcpy-ifunc.c: Likewise.
40794         * benchtests/bench-strcspn-ifunc.c: Likewise.
40795         * benchtests/bench-strlen-ifunc.c: Likewise.
40796         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40797         * benchtests/bench-strncat-ifunc.c: Likewise.
40798         * benchtests/bench-strncmp-ifunc.c: Likewise.
40799         * benchtests/bench-strncpy-ifunc.c: Likewise.
40800         * benchtests/bench-strnlen-ifunc.c: Likewise.
40801         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40802         * benchtests/bench-strrchr-ifunc.c: Likewise.
40803         * benchtests/bench-strsep-ifunc.c: Likewise.
40804         * benchtests/bench-strspn-ifunc.c: Likewise.
40805         * benchtests/bench-strstr-ifunc.c: Likewise.
40807 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40809         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40811 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40813         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40814         * rt/aio.h: Likewise.
40815         * sysdeps/gnu/bits/utmp.h: Likewise.
40816         * sysdeps/gnu/bits/utmpx.h: Likewise.
40817         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40818         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40819         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40820         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40821         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40822         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40823         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40824         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40825         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40826         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40827         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40828         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40829         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40831         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40832         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40833         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40834         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40835         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40836         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40837         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40838         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40839         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40840         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40841         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40843         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40844         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40845         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40846         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40847         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40848         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40849         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40850         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40851         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40852         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40853         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40854         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40855         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40856         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40857         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40858         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40860 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40862         [BZ #16245]
40863         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40864         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40866 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40868         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40869         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40870         Likewise.
40872 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40875         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40876         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40877         (__fesetround): Remove define.
40878         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40879         rounding and exceptions handling.
40880         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40881         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40882         (__fe_nomask_env): Likewise.
40883         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40884         __fegetround instead of fegetround.
40885         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40886         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40888 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40890         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40891         it's there.
40893         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40895 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40897         [BZ #11157]
40898         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40899         (encrypt_r): Likewise.
40900         * malloc/obstack.h (obstack_free): Likewise.
40901         * posix/unistd.h (encrypt): Likewise.
40903 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40905         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40906         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40907         DL_CALL_DT_FINI() that call the functions directly.
40908         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40909         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40910         * elf/dl-fini.c: Likewise.
40912 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40914         * malloc/hooks.c (memalign_check): Add alignment rounding.
40915         * malloc/malloc.c (_mid_memalign): New function.
40916         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40917         Implement by calling _mid_memalign.
40918         * manual/probes.texi (Memory Allocation Probes): Remove
40919         memory_valloc_retry and memory_pvalloc_retry.
40921 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40923         * locale/programs/locarchive.c (open_archive): Add const
40924         qualifier to ARCHIVEFNAME and copy default fname to
40925         DEFAULT_FNAME.
40927         [BZ #15601]
40928         * libio/tst-widetext.input: Rename Oriya to Odia.
40929         * locale/iso-639.def: Likewise.
40931         * manual/probes.texi (Mathematical Function Probes): Add
40932         documentation for sin, cos, asin and acos probes.
40933         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40934         (__sin32): Add slowasin probe.
40935         (__cos32): Add slowacos probe.
40936         (__mpsin): Add slowsin probe.
40937         (__mpcos): Add slowcos probe.
40939 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40941         [BZ #15483]
40942         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40943         thread-local __sim_exceptions_thread and global
40944         __sim_exceptions_global.
40945         (__sim_disabled_exceptions): Change to thread-local
40946         __sim_disabled_exceptions_thread and global
40947         __sim_disabled_exceptions_global.
40948         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40949         and global __sim_round_mode_global.
40950         (__simulate_exceptions): Use thread-local floating-point state and
40951         set global state from it as needed.
40952         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40953         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40954         __sim_round_mode_thread.
40955         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40956         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40957         and global __sim_exceptions_global.
40958         (__sim_disabled_exceptions): Change to thread-local
40959         __sim_disabled_exceptions_thread and global
40960         __sim_disabled_exceptions_global.
40961         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40962         and global __sim_round_mode_global.
40963         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40964         (SIM_SET_GLOBAL): Likewise.
40965         * sysdeps/powerpc/soft-fp/sfp-machine.h
40966         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40967         __sim_round_mode_thread.
40968         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40969         __sim_disabled_exceptions_thread.
40970         (__sim_exceptions): Change to __sim_exceptions_thread.
40971         (__sim_disabled_exceptions): Change to
40972         __sim_disabled_exceptions_thread.
40973         (__sim_round_mode): Change to __sim_round_mode_thread.
40974         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40975         thread-local floating-point state and set global state from it as
40976         needed.
40977         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40978         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40979         (__sim_disabled_exceptions): Remove extern declaration.
40980         (feenableexcept): Use thread-local floating-point state and set
40981         global state from it as needed.
40982         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40983         extern declaration.
40984         (__sim_disabled_exceptions): Likewise.
40985         (__sim_round_mode): Likewise.
40986         (__fegetenv): Use thread-local floating-point state.
40987         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40988         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40989         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40990         floating-point state and set global state from it as needed.
40991         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40992         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40993         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40994         Likewise.
40995         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40996         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40997         Likewise.
40998         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40999         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41000         Use __sim_round_mode_thread.
41001         * math/test-fenv-tls.c: New file.
41002         * math/Makefile (tests): Add test-fenv-tls.
41003         ($(objpfx)test-fenv-tls): Depend on
41004         $(common-objpfx)nptl/libpthread.so.
41006 2013-11-19  Andreas Schwab  <schwab@suse.de>
41008         * locale/programs/locale.c (show_info): Decode wordarray elements.
41009         * locale/categories.def (LC_MONETARY): Add element for
41010         _NL_MONETARY_CRNCYSTR.
41011         * locale/C-monetary.c (conversion_rate): New variable.
41012         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41013         element.
41015 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41017         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41018         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41020 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41022         * elf/Makefile (tst-auxv): New test.
41023         * elf/tst-auxv.c: New
41024         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41026 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41028         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41029         (hidden_proto): Caller changed.
41030         (hidden_tls_proto): New macro.
41031         (libc_hidden_tls_proto): Likewise.
41032         (rtld_hidden_tls_proto): Likewise.
41033         (libm_hidden_tls_proto): Likewise.
41034         (libresolv_hidden_tls_proto): Likewise.
41035         (librt_hidden_tls_proto): Likewise.
41036         (libdl_hidden_tls_proto): Likewise.
41037         (libnss_files_hidden_tls_proto): Likewise.
41038         (libnsl_hidden_tls_proto): Likewise.
41039         (libnss_nisplus_hidden_tls_proto): Likewise.
41040         (libutil_hidden_tls_proto): Likewise.
41042 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41044         [BZ #10253]
41045         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41046         (decompose_rpath): Defer expansion to fillin_rpath.
41047         (_dl_init_paths): Pass linkmap to fillin_rpath.
41049 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41051         * benchtests/Makefile: Add strsep.
41052         * benchtests/bench-strsep.c: New file: strsep benchtest.
41053         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41055 2013-11-18  Andreas Schwab  <schwab@suse.de>
41057         * locale/programs/locale.c (show_info) [case byte]: Check for
41058         '\377' instead of '\177'.
41059         * locale/C-monetary.c (not_available): Always use "\377".
41060         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41061         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41062         detect unavailable sign_posn locale elements.
41063         * locale/localeconv.c (__localeconv): For grouping and
41064         mon_grouping handle "\177" and "\377" like no grouping.
41065         (INT_ELEM): New macro.  Use it to set all numeric members.
41066         * locale/programs/ld-monetary.c (monetary_read)
41067         <tok_mon_grouping>: Normalize single -1 to the empty string.
41068         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41069         Likewise.
41071 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41073         [BZ #16055]
41074         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41075         when we match (nil).
41076         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41078 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41080         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41081         (NO_TEST_INLINE): Update value.
41082         (ERRNO_UNCHANGED): Likewise.
41083         (ERRNO_EDOM): Likewise.
41084         (ERRNO_ERANGE): Likewise.
41085         (IGNORE_RESULT): Likewise.
41086         (check_float_internal): Check signs of NaN results if
41087         TEST_NAN_SIGN used.
41088         (check_complex): Pass TEST_NAN_SIGN flag through to second
41089         check_float_internal call.
41090         (copysign_test_data): Add tests with quiet NaNs as second
41091         argument.  Use TEST_NAN_SIGN.
41092         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41093         TEST_NAN_SIGN.
41094         (signbit_test_data): Add tests of quiet NaN argument.
41095         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41097         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41098         $ignore_result.
41099         (parse_args): Handle function results specified as IGNORE.
41100         * math/libm-test.inc (IGNORE_RESULT): New macro.
41101         (check_float_internal): Do not check numerical result if flag
41102         IGNORE_RESULT set.
41103         (check_complex): Pass through IGNORE_RESULT to second
41104         check_float_internal call.
41105         (check_int): Do not check numerical result if flag IGNORE_RESULT
41106         set.
41107         (check_long): Likewise.
41108         (check_bool): Likewise.
41109         (check_longlong): Likewise.
41110         (lrint_test_data): Add tests of infinite and NaN arguments.
41111         (lrint_tonearest_test_data): Likewise.
41112         (lrint_towardzero_test_data): Likewise.
41113         (lrint_downward_test_data): Likewise.
41114         (lrint_upward_test_data): Likewise.
41115         (llrint_test_data): Likewise.
41116         (llrint_tonearest_test_data): Likewise.
41117         (llrint_towardzero_test_data): Likewise.
41118         (llrint_downward_test_data): Likewise.
41119         (llrint_upward_test_data): Likewise.
41120         (lround_test_data): Likewise.
41121         (llround_test_data): Likewise.
41123         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41124         (ERRNO_UNCHANGED): Update value.
41125         (ERRNO_EDOM): Likewise.
41126         (ERRNO_ERANGE): Likewise.
41127         (NO_TEST_INLINE_FLOAT): New macro.
41128         (NO_TEST_INLINE_DOUBLE): Likewise.
41129         (enable_test): New function.
41130         (RUN_TEST_f_f): Check enable_test before running test.
41131         (RUN_TEST_2_f): Likewise.
41132         (RUN_TEST_fff_f): Likewise.
41133         (RUN_TEST_c_f): Likewise.
41134         (RUN_TEST_f_f1): Likewise.
41135         (RUN_TEST_fF_f1): Likewise.
41136         (RUN_TEST_fI_f1): Likewise.
41137         (RUN_TEST_ffI_f1): Likewise.
41138         (RUN_TEST_c_c): Likewise.
41139         (RUN_TEST_cc_c): Likewise.
41140         (RUN_TEST_f_i): Likewise.
41141         (RUN_TEST_f_i_tg): Likewise.
41142         (RUN_TEST_ff_i_tg): Likewise.
41143         (RUN_TEST_f_b): Likewise.
41144         (RUN_TEST_f_b_tg): Likewise.
41145         (RUN_TEST_f_l): Likewise.
41146         (RUN_TEST_f_L): Likewise.
41147         (RUN_TEST_fFF_11): Likewise.
41148         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41149         conditionals.
41150         (cosh_test_data): Likewise.
41151         (exp_test_data): Likewise.
41152         (expm1_test_data): Likewise.
41153         (hypot_test_data): Likewise.
41154         (pow_test_data): Likewise.
41155         (sinh_test_data): Likewise.
41156         (tanh_test_data): Likewise.
41157         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41158         flags argument.
41160         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41161         tests with quiet NaN input and output.
41162         (acosh_test_data): Likewise.
41163         (asin_test_data): Likewise.
41164         (asinh_test_data): Likewise.
41165         (atan_test_data): Likewise.
41166         (atanh_test_data): Likewise.
41167         (atan2_test_data): Likewise.
41168         (cbrt_test_data): Likewise.
41169         (cos_test_data): Likewise.
41170         (cosh_test_data): Likewise.
41171         (erf_test_data): Likewise.
41172         (erfc_test_data): Likewise.
41173         (exp_test_data): Likewise.
41174         (exp10_test_data): Likewise.
41175         (exp2_test_data): Likewise.
41176         (expm1_test_data): Likewise.
41177         (hypot_test_data): Likewise.
41178         (j0_test_data): Likewise.
41179         (j1_test_data): Likewise.
41180         (jn_test_data): Likewise.
41181         (lgamma_test_data): Likewise.
41182         (log_test_data): Likewise.
41183         (log10_test_data): Likewise.
41184         (log1p_test_data): Likewise.
41185         (log2_test_data): Likewise.
41186         (pow_test_data): Likewise.
41187         (scalb_test_data): Likewise.
41188         (sin_test_data): Likewise.
41189         (sincos_test_data): Likewise.
41190         (sinh_test_data): Likewise.
41191         (tan_test_data): Likewise.
41192         (tanh_test_data): Likewise.
41193         (tgamma_test_data): Likewise.
41194         (y0_test_data): Likewise.
41195         (y1_test_data): Likewise.
41196         (yn_test_data): Likewise.
41198         [BZ #16167]
41199         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41200         argument being NaN and avoid computations with second argument in
41201         that case.
41202         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41203         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41204         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41206 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41208         * locale/iso-639.def: Add Chitwani Tharu (the).
41210 2013-11-14  Andreas Schwab  <schwab@suse.de>
41212         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41213         word instead of empty string.
41215 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41218         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41220         (__fe_nomask_env): Likewise.
41222 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41224         * benchtests/bench-timing.h: Include time.h.
41226 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41228         [BZ #15997]
41229         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41230         to 3.4.0 for x32.
41231         * sysdeps/unix/sysv/linux/configure: Regenerated.
41233 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41235         [BZ #16151]
41236         * stdlib/strtod_l.c (round_and_return): Do not consider
41237         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41238         exponent one less than half the least subnormal exponent.
41239         * stdlib/test-strtod-round-data: Add more tests.
41240         * stdlib/tst-strtod-round.c (tests): Regenerated.
41242 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41244         [BZ #14143]
41245         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41246         (__fe_mask_env): Likewise.
41247         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41248         libm_hidden_proto and add function prototype.
41249         (__fe_mask_env): Add function prototype.
41250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41251         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41253         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41255         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41257 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41259         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41260         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41262 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41264         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41265         of htab_find_slot().
41267 2013-11-11  David S. Miller  <davem@davemloft.net>
41269         [BZ #16150]
41270         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41271         symbol in the non-vis3 case in static builds.
41272         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41273         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41274         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41275         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41277 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41279         [BZ #387]
41280         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41281         it is empty.
41283 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41285         * benchtests/Makefile: Add bench-strtod.
41286         * benchtests/bench-strtod.c: New file: strtod benchtest
41288 2013-11-11  Andreas Schwab  <schwab@suse.de>
41290         [BZ #16153]
41291         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41292         terminating NUL in key length.
41294 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41297         Add artificial ODP entry for vDSO symbol for PPC64.
41298         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41299         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41301 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41303         [BZ #15374]
41304         * nss/getent.c (services_keys): Recognize services starting with digit.
41306 2013-11-06  David S. Miller  <davem@davemloft.net>
41308         [BZ #15985]
41309         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41310         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41312 2013-11-06  Will Newton  <will.newton@linaro.org>
41314         * manual/memory.texi (Malloc Examples): Remove register
41315         keyword from examples.
41317 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41319         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41321 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41323         [BZ #6981]
41324         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41325         depending on [__GCC_IEC_559 > 0].
41326         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41327         depending on [__GCC_IEC_559_COMPLEX > 0].
41329 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41331         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41332         to iso-639.def.
41334 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41336         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41338 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41340         [BZ #16112]
41341         * malloc/malloc (malloc_info): Do not handle first bin as
41342         special case.
41344 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41346         * locale/iso-639.def: Add Central Nahuatl (nhn).
41348 2013-11-01  Bruno Haible  <bruno@clisp.org>
41350         [BZ #7003]
41351         * manual/math.texi (BSD Random): Specify range upper bound as
41352         in POSIX.
41354 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41356         * locale/iso-639.def: Add Meadow Mari (mhr).
41358 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41360         [BZ #14752], [BZ #15763]
41361         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41362         Validate name.
41363         * rt/tst_shm.c: Add test for escaping directory.
41365 2013-10-31  Andreas Schwab  <schwab@suse.de>
41367         [BZ #15917]
41368         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41369         followed by 'x' as part of digit sequence.
41370         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41372 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41374         [BZ #16037]
41375         * configure.ac: allow GNU Make 4.0 and greater.
41376         * configure: Regenerated.
41378 2013-10-30  Will Newton  <will.newton@linaro.org>
41380         [BZ #16038]
41381         * malloc/hooks.c (memalign_check): Limit alignment to the
41382         maximum representable power of two.
41383         * malloc/malloc.c (__libc_memalign): Likewise.
41384         * malloc/tst-memalign.c (do_test): Add test for very
41385         large alignment values.
41386         * malloc/tst-posix_memalign.c (do_test): Likewise.
41388 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41390         [BZ #11087]
41391         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41392         (munmap_chunk): Likewise.
41393         (mremap_chunk): Likewise.
41395 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41397         [BZ #15799]
41398         * stdlib/div.c (div): Remove obsolete code.
41399         * stdlib/ldiv.c (ldiv): Likewise.
41400         * stdlib/lldiv.c (lldiv): Likewise.
41402 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41404         [BZ #16071]
41405         * nss/nss_files/files-XXX.c (get_contents_ret): New
41406         enumerator.
41407         (get_contents): New function.
41408         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41410 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41412         * configure.in: Moved to ...
41413         * configure.ac: ... here. Change reference to configure.in
41414         to configure.ac.
41415         * sysdeps/arm/preconfigure.ac: ... here.
41416         configure.in to configure.ac.
41417         * sysdeps/gnu/configure.in: Moved to ...
41418         * sysdeps/gnu/configure.ac: ... here.
41419         * sysdeps/i386/configure.in: Moved to ...
41420         * sysdeps/i386/configure.ac: ... here.
41421         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41422         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41423         * sysdeps/mach/configure.in: Moved to ...
41424         * sysdeps/mach/configure.ac: ... here.
41425         * sysdeps/mach/hurd/configure.in: Moved to ...
41426         * sysdeps/mach/hurd/configure.ac: ... here.
41427         * sysdeps/powerpc/configure.in: Moved to ...
41428         * sysdeps/powerpc/configure.ac: ... here.
41429         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41430         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41431         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41432         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41433         * sysdeps/s390/s390-32/configure.in: Moved to ...
41434         * sysdeps/s390/s390-32/configure.ac: ... here.
41435         * sysdeps/s390/s390-64/configure.in: Moved to ...
41436         * sysdeps/s390/s390-64/configure.ac: ... here.
41437         * sysdeps/sh/configure.in: Moved to ...
41438         * sysdeps/sh/configure.ac: ... here.
41439         * sysdeps/sparc/configure.in: Moved to ...
41440         * sysdeps/sparc/configure.ac: ... here.
41441         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41442         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41443         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41444         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41445         * sysdeps/x86_64/configure.in: Moved to ...
41446         * sysdeps/x86_64/configure.ac: ... here.
41447         * sysdeps/x86_64/preconfigure.in: Moved to ...
41448         * sysdeps/x86_64/preconfigure.ac: ... here.
41449         * aclocal.m4: Change reference to configure.in to configure.ac.
41450         * config.h.in: Likewise.
41451         * manual/install.texi: Likewise.
41452         * manual/maint.texi: Likewise.
41453         * Makefile: Likewise.
41454         * malloc/Makefile: Likewise.
41455         * nscd/Makefile: Likewise.
41456         * Makeconfig: Change reference to configure.in and
41457         preconfigure.in to configure.ac and preconfigure.ac
41458         respectively.
41459         * INSTALL: Regenerated.
41460         * configure: Likewise.
41461         * sysdeps/gnu/configure: Likewise.
41462         * sysdeps/i386/configure: Likewise.
41463         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41464         * sysdeps/mach/configure: Likewise.
41465         * sysdeps/mach/hurd/configure: Likewise.
41466         * sysdeps/powerpc/configure: Likewise.
41467         * sysdeps/powerpc/powerpc32/configure: Likewise.
41468         * sysdeps/powerpc/powerpc64/configure: Likewise.
41469         * sysdeps/s390/s390-32/configure: Likewise.
41470         * sysdeps/s390/s390-64/configure: Likewise.
41471         * sysdeps/sh/configure: Likewise.
41472         * sysdeps/sparc/configure: Likewise.
41473         * sysdeps/unix/sysv/linux/configure: Likewise.
41474         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41475         * sysdeps/x86_64/configure: Likewise.
41476         * sysdeps/x86_64/preconfigure: Likewise.
41478 2013-10-29  Andreas Schwab  <schwab@suse.de>
41480         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41482 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41484         * benchtests/pow-inputs: Add new inputs.
41486         * benchtests/exp-inputs: Add new inputs.
41488         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41489         conditional check for return value.
41490         (__cos32): Likewise.
41492 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41494         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41495         to provide a boost for large inputs with word alignment.
41496         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41497         implementation based on optimized PPC64 strcpy.
41498         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41499         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41500         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41501         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41503 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41505         [BZ #2801]
41506         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41508 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41510         [BZ #14876]
41511         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41512         * time/tst-strptime.c (day_tests): Add testcase.
41514 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41516         [BZ #14029]
41517         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41519 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41521         [BZ #16074]
41522         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41523         MAP_FAILED on error.
41525 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41527         [BZ #16072]
41528         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41529         heap for large requests.
41531 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41533         [BZ #9954]
41534         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41535         result if the result has no associated interface.
41536         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41537         interface for all 127.X.Y.Z addresses.
41539 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41541         * locale/iso-639.def: Add Ligurian (lij)
41543 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41545         [BZ #15825]
41546         * sunrpc/rpc_main.c: Document rpcgen -5.
41548 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41550         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41552 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41554         [BZ #10278]
41555         * posix/glob.c: Match only directories when trailing slash is present.
41556         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41557         (main): Add testcase.
41559 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41561         [BZ #15670]
41562         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41564 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41566         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41567         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41568         AUTH_DES and cindex for FIPS 140-2.
41569         (DES Encryption): Add cindex FIPS 46-3.
41571         * locale/locarchive.h (struct locarhandle): Add fname.
41572         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41573         if an optional argument was specified to --list-archive,
41574         otherwise NULL.
41575         * locale/programs/locarchive.c (show_archive_content): Take new
41576         argument fname and pass it via ah.fname to open_archive.
41577         * locale/programs/localedef.h: Update decl.
41578         (open_archive): If AH->fname is non-null, open that file
41579         rather than the default file name, and don't ignore ENOENT.
41580         (create_archive): Set AH.fname to NULL.
41581         (delete_locales_from_archive): Likewise.
41582         (add_locales_to_archive): Likewise.
41583         * locale/programs/locfile.c (write_all_categories): Likewise.
41585 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41586             Aldy Hernandez  <aldyh@redhat.com>
41588         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41589         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41590         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41591         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41592         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41594         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41595         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41596         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41597         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41598         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41599         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41600         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41601         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41602         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41603         Likewise.
41604         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41605         Likewise.
41606         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41607         Likewise.
41608         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41609         Likewise.
41610         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41611         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41612         Likewise.
41613         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41614         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41615         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41616         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41617         Likewise.
41618         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41619         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41620         * sysdeps/powerpc/preconfigure: Likewise.
41621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41622         Likewise.
41623         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41624         Replace contents of file by #include of <fenv_libc.h>.
41625         * sysdeps/powerpc/soft-fp/sfp-machine.h
41626         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41627         and <sys/prctl.h>.
41628         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41641         Allow copysignl PLT reference to be missing.
41643 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41644             Joseph Myers  <joseph@codesourcery.com
41646         [BZ #15948]
41647         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41648         single character.
41649         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41651 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41653         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41654         * elf/tst-tls1.c: Likewise.
41655         * elf/tst-tls10.h: Likewise.
41656         * elf/tst-tls14.c: Likewise.
41657         * elf/tst-tls2.c: Likewise.
41658         * elf/tst-tls3.c: Likewise.
41659         * elf/tst-tls4.c: Likewise.
41660         * elf/tst-tls5.c: Likewise.
41661         * elf/tst-tls6.c: Likewise.
41662         * elf/tst-tls7.c: Likewise.
41663         * elf/tst-tls8.c: Likewise.
41664         * elf/tst-tls9.c: Likewise.
41665         * elf/tst-tlsmod1.c: Likewise.
41666         * elf/tst-tlsmod13.c: Likewise.
41667         * elf/tst-tlsmod13a.c: Likewise.
41668         * elf/tst-tlsmod14a.c: Likewise.
41669         * elf/tst-tlsmod16a.c: Likewise.
41670         * elf/tst-tlsmod16b.c: Likewise.
41671         * elf/tst-tlsmod2.c: Likewise.
41672         * elf/tst-tlsmod3.c: Likewise.
41673         * elf/tst-tlsmod4.c: Likewise.
41674         * elf/tst-tlsmod5.c: Likewise.
41675         * elf/tst-tlsmod6.c: Likewise.
41677 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41679         [BZ #12486]
41680         * malloc/malloc.c: remove checks for statistics.
41682 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41684         [BZ #15277]
41685         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41686         * inet/tst-network.c: Add testcase.
41688 2013-10-17  Andreas Schwab  <schwab@suse.de>
41690         [BZ #15218]
41691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41692         to determine canonical name.
41694 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41696         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41697         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41698         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41699         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41701         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41702         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41703         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41704         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41705         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41706         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41707         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41708         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41709         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41710         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41711         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41713         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41714         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41715         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41719         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41720         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41722         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41723         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41724         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41725         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41726         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41727         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41728         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41729         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41730         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41731         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41732         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41733         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41734         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41735         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41737         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41739         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41740         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41742         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41743         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41745         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41755 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41757         [BZ #16041]
41758         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41759         make result into a quiet NaN.
41761 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41763         * soft-fp/adddf3.c: Fix horizontal whitespace.
41764         * soft-fp/addsf3.c: Likewise.
41765         * soft-fp/addtf3.c: Likewise.
41766         * soft-fp/divdf3.c: Likewise.
41767         * soft-fp/divsf3.c: Likewise.
41768         * soft-fp/divtf3.c: Likewise.
41769         * soft-fp/double.h: Likewise.
41770         * soft-fp/eqdf2.c: Likewise.
41771         * soft-fp/eqsf2.c: Likewise.
41772         * soft-fp/eqtf2.c: Likewise.
41773         * soft-fp/extenddftf2.c: Likewise.
41774         * soft-fp/extended.h: Likewise.
41775         * soft-fp/extendsfdf2.c: Likewise.
41776         * soft-fp/extendsftf2.c: Likewise.
41777         * soft-fp/extendxftf2.c: Likewise.
41778         * soft-fp/fixdfdi.c: Likewise.
41779         * soft-fp/fixdfsi.c: Likewise.
41780         * soft-fp/fixdfti.c: Likewise.
41781         * soft-fp/fixsfdi.c: Likewise.
41782         * soft-fp/fixsfsi.c: Likewise.
41783         * soft-fp/fixsfti.c: Likewise.
41784         * soft-fp/fixtfdi.c: Likewise.
41785         * soft-fp/fixtfsi.c: Likewise.
41786         * soft-fp/fixtfti.c: Likewise.
41787         * soft-fp/fixunsdfdi.c: Likewise.
41788         * soft-fp/fixunsdfsi.c: Likewise.
41789         * soft-fp/fixunsdfti.c: Likewise.
41790         * soft-fp/fixunssfdi.c: Likewise.
41791         * soft-fp/fixunssfsi.c: Likewise.
41792         * soft-fp/fixunssfti.c: Likewise.
41793         * soft-fp/fixunstfdi.c: Likewise.
41794         * soft-fp/fixunstfsi.c: Likewise.
41795         * soft-fp/fixunstfti.c: Likewise.
41796         * soft-fp/floatdidf.c: Likewise.
41797         * soft-fp/floatdisf.c: Likewise.
41798         * soft-fp/floatditf.c: Likewise.
41799         * soft-fp/floatsidf.c: Likewise.
41800         * soft-fp/floatsisf.c: Likewise.
41801         * soft-fp/floatsitf.c: Likewise.
41802         * soft-fp/floattidf.c: Likewise.
41803         * soft-fp/floattisf.c: Likewise.
41804         * soft-fp/floattitf.c: Likewise.
41805         * soft-fp/floatundidf.c: Likewise.
41806         * soft-fp/floatundisf.c: Likewise.
41807         * soft-fp/floatunditf.c: Likewise.
41808         * soft-fp/floatunsidf.c: Likewise.
41809         * soft-fp/floatunsisf.c: Likewise.
41810         * soft-fp/floatunsitf.c: Likewise.
41811         * soft-fp/floatuntidf.c: Likewise.
41812         * soft-fp/floatuntisf.c: Likewise.
41813         * soft-fp/floatuntitf.c: Likewise.
41814         * soft-fp/fmadf4.c: Likewise.
41815         * soft-fp/fmasf4.c: Likewise.
41816         * soft-fp/fmatf4.c: Likewise.
41817         * soft-fp/gedf2.c: Likewise.
41818         * soft-fp/gesf2.c: Likewise.
41819         * soft-fp/getf2.c: Likewise.
41820         * soft-fp/ledf2.c: Likewise.
41821         * soft-fp/lesf2.c: Likewise.
41822         * soft-fp/letf2.c: Likewise.
41823         * soft-fp/muldf3.c: Likewise.
41824         * soft-fp/mulsf3.c: Likewise.
41825         * soft-fp/multf3.c: Likewise.
41826         * soft-fp/negdf2.c: Likewise.
41827         * soft-fp/negsf2.c: Likewise.
41828         * soft-fp/negtf2.c: Likewise.
41829         * soft-fp/op-1.h: Likewise.
41830         * soft-fp/op-2.h: Likewise.
41831         * soft-fp/op-4.h: Likewise.
41832         * soft-fp/op-8.h: Likewise.
41833         * soft-fp/op-common.h: Likewise.
41834         * soft-fp/quad.h: Likewise.
41835         * soft-fp/single.h: Likewise.
41836         * soft-fp/soft-fp.h: Likewise.
41837         * soft-fp/sqrtdf2.c: Likewise.
41838         * soft-fp/sqrtsf2.c: Likewise.
41839         * soft-fp/sqrttf2.c: Likewise.
41840         * soft-fp/subdf3.c: Likewise.
41841         * soft-fp/subsf3.c: Likewise.
41842         * soft-fp/subtf3.c: Likewise.
41843         * soft-fp/truncdfsf2.c: Likewise.
41844         * soft-fp/trunctfdf2.c: Likewise.
41845         * soft-fp/trunctfsf2.c: Likewise.
41846         * soft-fp/trunctfxf2.c: Likewise.
41847         * soft-fp/unorddf2.c: Likewise.
41848         * soft-fp/unordsf2.c: Likewise.
41849         * soft-fp/unordtf2.c: Likewise.
41851 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41853         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41854         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41856 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41858         * elf/dl-libc.c: Clear initfini list after freeing.
41860 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41862         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41863         * soft-fp/addsf3.c: Likewise.
41864         * soft-fp/addtf3.c: Likewise.
41865         * soft-fp/divdf3.c: Likewise.
41866         * soft-fp/divsf3.c: Likewise.
41867         * soft-fp/divtf3.c: Likewise.
41868         * soft-fp/double.h: Likewise.
41869         * soft-fp/eqdf2.c: Likewise.
41870         * soft-fp/eqsf2.c: Likewise.
41871         * soft-fp/eqtf2.c: Likewise.
41872         * soft-fp/extenddftf2.c: Likewise.
41873         * soft-fp/extended.h: Likewise.
41874         * soft-fp/extendsfdf2.c: Likewise.
41875         * soft-fp/extendsftf2.c: Likewise.
41876         * soft-fp/extendxftf2.c: Likewise.
41877         * soft-fp/fixdfdi.c: Likewise.
41878         * soft-fp/fixdfsi.c: Likewise.
41879         * soft-fp/fixdfti.c: Likewise.
41880         * soft-fp/fixsfdi.c: Likewise.
41881         * soft-fp/fixsfsi.c: Likewise.
41882         * soft-fp/fixsfti.c: Likewise.
41883         * soft-fp/fixtfdi.c: Likewise.
41884         * soft-fp/fixtfsi.c: Likewise.
41885         * soft-fp/fixtfti.c: Likewise.
41886         * soft-fp/fixunsdfdi.c: Likewise.
41887         * soft-fp/fixunsdfsi.c: Likewise.
41888         * soft-fp/fixunsdfti.c: Likewise.
41889         * soft-fp/fixunssfdi.c: Likewise.
41890         * soft-fp/fixunssfsi.c: Likewise.
41891         * soft-fp/fixunssfti.c: Likewise.
41892         * soft-fp/fixunstfdi.c: Likewise.
41893         * soft-fp/fixunstfsi.c: Likewise.
41894         * soft-fp/fixunstfti.c: Likewise.
41895         * soft-fp/floatdidf.c: Likewise.
41896         * soft-fp/floatdisf.c: Likewise.
41897         * soft-fp/floatditf.c: Likewise.
41898         * soft-fp/floatsidf.c: Likewise.
41899         * soft-fp/floatsisf.c: Likewise.
41900         * soft-fp/floatsitf.c: Likewise.
41901         * soft-fp/floattidf.c: Likewise.
41902         * soft-fp/floattisf.c: Likewise.
41903         * soft-fp/floattitf.c: Likewise.
41904         * soft-fp/floatundidf.c: Likewise.
41905         * soft-fp/floatundisf.c: Likewise.
41906         * soft-fp/floatunsidf.c: Likewise.
41907         * soft-fp/floatunsisf.c: Likewise.
41908         * soft-fp/floatuntidf.c: Likewise.
41909         * soft-fp/floatuntisf.c: Likewise.
41910         * soft-fp/floatuntitf.c: Likewise.
41911         * soft-fp/fmadf4.c: Likewise.
41912         * soft-fp/fmasf4.c: Likewise.
41913         * soft-fp/fmatf4.c: Likewise.
41914         * soft-fp/gedf2.c: Likewise.
41915         * soft-fp/gesf2.c: Likewise.
41916         * soft-fp/getf2.c: Likewise.
41917         * soft-fp/ledf2.c: Likewise.
41918         * soft-fp/lesf2.c: Likewise.
41919         * soft-fp/letf2.c: Likewise.
41920         * soft-fp/muldf3.c: Likewise.
41921         * soft-fp/mulsf3.c: Likewise.
41922         * soft-fp/multf3.c: Likewise.
41923         * soft-fp/negdf2.c: Likewise.
41924         * soft-fp/negsf2.c: Likewise.
41925         * soft-fp/negtf2.c: Likewise.
41926         * soft-fp/op-1.h: Likewise.
41927         * soft-fp/op-2.h: Likewise.
41928         * soft-fp/op-4.h: Likewise.
41929         * soft-fp/op-8.h: Likewise.
41930         * soft-fp/op-common.h: Likewise.
41931         * soft-fp/quad.h: Likewise.
41932         * soft-fp/single.h: Likewise.
41933         * soft-fp/soft-fp.h: Likewise.
41934         * soft-fp/sqrtdf2.c: Likewise.
41935         * soft-fp/sqrtsf2.c: Likewise.
41936         * soft-fp/sqrttf2.c: Likewise.
41937         * soft-fp/subdf3.c: Likewise.
41938         * soft-fp/subsf3.c: Likewise.
41939         * soft-fp/subtf3.c: Likewise.
41940         * soft-fp/truncdfsf2.c: Likewise.
41941         * soft-fp/trunctfdf2.c: Likewise.
41942         * soft-fp/trunctfsf2.c: Likewise.
41943         * soft-fp/trunctfxf2.c: Likewise.
41944         * soft-fp/unorddf2.c: Likewise.
41945         * soft-fp/unordsf2.c: Likewise.
41946         * soft-fp/unordtf2.c: Likewise.
41948 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41950         [BZ #15672]
41951         * misc/error.c (error_tail): Fix possible buffer overflow.
41953 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41955         [BZ #13028]
41956         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41957         address.
41959 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41961         [BZ #832]
41962         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41963         testing pipefail option.
41965 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41967         * soft-fp/double.h: Indent preprocessor directives inside #if.
41968         * soft-fp/extended.h: Likewise.
41969         * soft-fp/op-2.h: Likewise.
41970         * soft-fp/op-4.h: Likewise.
41971         * soft-fp/op-common.h: Likewise.
41972         * soft-fp/quad.h: Likewise.
41973         * soft-fp/single.h: Likewise.
41974         * soft-fp/soft-fp.h: Likewise.
41976 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41978         * iconv/iconv_prog.c: Fix typos.
41979         * stdio-common/psiginfo-data.h: Likewise.
41981 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41983         [BZ #15764]
41984         * locale/setlocale.c: Fix typo.
41986 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41988         [BZ #16036]
41989         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41990         signaling NaN arguments.
41991         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41992         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41994         [BZ #14910]
41995         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41996         unordered operands.
41997         * soft-fp/gesf2.c (__gesf2): Likewise.
41998         * soft-fp/getf2.c (__getf2): Likewise.
41999         * soft-fp/ledf2.c (__ledf2): Likewise.
42000         * soft-fp/lesf2.c (__lesf2): Likewise.
42001         * soft-fp/letf2.c (__letf2): Likewise.
42003         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42004         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42005         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42006         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42007         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42008         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42009         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42010         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42011         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42012         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42013         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42014         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42015         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42016         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42017         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42018         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42019         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42020         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42021         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42022         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42023         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42024         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42025         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42026         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42027         * soft-fp/floattidf.c (__floattidf): Likewise.
42028         * soft-fp/floattisf.c (__floattisf): Likewise.
42029         * soft-fp/floattitf.c (__floattitf): Likewise.
42030         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42031         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42032         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42033         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42034         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42035         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42036         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42037         * soft-fp/gesf2.c (__gesf2): Likewise.
42038         * soft-fp/getf2.c (__getf2): Likewise.
42039         * soft-fp/ledf2.c (__ledf2): Likewise.
42040         * soft-fp/lesf2.c (__lesf2): Likewise.
42041         * soft-fp/letf2.c (__letf2): Likewise.
42043         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42044         Undefine and redefine.
42045         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42046         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42047         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42048         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42049         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42050         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42051         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42052         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42053         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42054         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42055         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42056         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42057         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42058         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42059         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42061         [BZ #16032]
42062         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42063         without decrementing exponent if mantissa >= that for the
42064         denominator, not >.
42065         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42066         denominator, not >.  Decrement exponent in < case instead of
42067         incrementing in >= case.
42068         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42069         without decrementing exponent if mantissa >= that for the
42070         denominator, not >.
42072         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42073         computing saturated result for unsigned overflow.
42075 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42076             Jeff Law  <law@redhat.com>
42078         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42079         (atan2Mp): Add systemtap probe marker.
42080         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42081         (__ieee754_log): Add systemtap probe marker.
42082         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42083         (atanMp): Add systemtap probe marker.
42084         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42085         (tanMp): Add systemtap probe marker.
42086         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42087         (__slowexp): Add systemtap probe marker.
42088         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42089         (__slowpow): Add systemtap probe marker.
42090         * manual/probes.texi: Document probes.
42092 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42094         [BZ #15362]
42095         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42096         written.
42097         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42098         written.
42099         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42100         written to buffer but not flushed.
42101         * libio/iofwrite_u.c:  Likewise.
42102         * libio/iopadn.c:  Return bytes returned even if EOF was
42103         encountered.
42104         * libio/iowpadn.c:  Likewise.
42105         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42106         if _IO_padn does not write the whole buffer.
42107         [!COMPILE_WPRINTF] (PAD): Likewise.
42109 2013-10-10  David S. Miller  <davem@davemloft.net>
42111         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42112         directory block.
42114 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42116         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42117         instead of FSF address.
42118         * soft-fp/fixdfti.c: Likewise.
42119         * soft-fp/fixsfti.c: Likewise.
42120         * soft-fp/fixtfti.c: Likewise.
42121         * soft-fp/fixunsdfti.c: Likewise.
42122         * soft-fp/fixunssfti.c: Likewise.
42123         * soft-fp/fixunstfti.c: Likewise.
42124         * soft-fp/floattidf.c: Likewise.
42125         * soft-fp/floattisf.c: Likewise.
42126         * soft-fp/floattitf.c: Likewise.
42127         * soft-fp/floatuntidf.c: Likewise.
42128         * soft-fp/floatuntisf.c: Likewise.
42129         * soft-fp/floatuntitf.c: Likewise.
42130         * soft-fp/trunctfxf2.c: Likewise.
42132         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42133         * soft-fp/fixdfti.c: Likewise.
42134         * soft-fp/fixsfti.c: Likewise.
42135         * soft-fp/fixtfti.c: Likewise.
42136         * soft-fp/fixunsdfti.c: Likewise.
42137         * soft-fp/fixunssfti.c: Likewise.
42138         * soft-fp/fixunstfti.c: Likewise.
42139         * soft-fp/floattidf.c: Likewise.
42140         * soft-fp/floattisf.c: Likewise.
42141         * soft-fp/floattitf.c: Likewise.
42142         * soft-fp/floatuntidf.c: Likewise.
42143         * soft-fp/floatuntisf.c: Likewise.
42144         * soft-fp/floatuntitf.c: Likewise.
42145         * soft-fp/trunctfxf2.c: Likewise.
42147 2013-10-10  David S. Miller  <davem@davemloft.net>
42149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42151 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42153         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42154         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42155         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42156         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42157         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42158         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42159         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42161         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42162         for NaNs before doing comparisons on argument.
42163         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42164         Likewise.
42166 2013-10-10  Will Newton  <will.newton@linaro.org>
42168         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42169         passed to _int_memalign does not overflow.
42171 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42173         * scripts/bench.pl: Add include-sources directive.
42174         * benchtests/README: Update documentation.
42176 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42178         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42179         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42180         instead of FP_INIT_ROUNDMODE.
42181         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42182         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42184         [BZ #16034]
42185         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42186         copy class of input value.
42187         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42188         not handle exceptions.
42189         * soft-fp/negsf2.c (__negsf2): Likewise.
42190         * soft-fp/negtf2.c (__negtf2): Likewise.
42191         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42193 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42195         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42196         semicolon.  From Linux kernel.
42198 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42200         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42202 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42204         [BZ #156]
42205         * manual/socket.texi: Added statement about buffer
42206         for gethostbyname2_r.
42208 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42210         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42211         Use .p2align directive instead, throughout.
42212         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42213         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42214         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42215         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42217         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42218         * sysdeps/x86_64/strchr.S: Likewise.
42219         * sysdeps/x86_64/strrchr.S: Likewise.
42221 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42223         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42225         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42227         * sysdeps/generic/math_private.h (__mpsin1): Remove
42228         declaration.
42229         (__mpcos1): Likewise.
42230         (__mpsin): New argument __range_reduce.
42231         (__mpcos): Likewise.
42232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42233         (slow): Use __mpsin and __mpcos.
42234         (slow1): Likewise.
42235         (slow2): Likewise.
42236         (sloww): Likewise.
42237         (sloww1): Likewise.
42238         (sloww2): Likewise.
42239         (bsloww): Likewise.
42240         (bsloww1): Likewise.
42241         (bsloww2): Likewise.
42242         (cslow2): Likewise.
42243         (csloww): Likewise.
42244         (csloww1): Likewise.
42245         (csloww2): Likewise.
42246         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42247         range_reduce.  Merge in __mpsin1.
42248         (__mpcos): Likewise.
42249         (__mpsin1): Remove.
42250         (__mpcos1): Likewise.
42252 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42254         * locale/loadlocale.c (_nl_intern_locale_data): Use
42255         LOCFILE_ALIGNED_P.
42256         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42257         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42258         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42259         obstack data is appropriately aligned.
42260         (obstack_int32_grow_fast): Likewise.
42261         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42262         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42263         (add_locale_uint32_array): Likewise.
42265 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42267         * benchtests/Makefile: Remove ARGLIST and RET variables.
42268         ($(objpfx)bench-%.c): Pass only function name to the script.
42269         * benchtests/README: Update documentation.
42270         * benchtests/acos-inputs: Add new directives.
42271         * benchtests/acosh-inputs: Likewise.
42272         * benchtests/asin-inputs: Likewise.
42273         * benchtests/asinh-inputs: Likewise.
42274         * benchtests/atan-inputs: Likewise.
42275         * benchtests/atanh-inputs: Likewise.
42276         * benchtests/cos-inputs: Likewise.
42277         * benchtests/cosh-inputs: Likewise.
42278         * benchtests/exp-inputs: Likewise.
42279         * benchtests/log-inputs: Likewise.
42280         * benchtests/pow-inputs: Likewise.
42281         * benchtests/rint-inputs: Likewise.
42282         * benchtests/sin-inputs: Likewise.
42283         * benchtests/sinh-inputs: Likewise.
42284         * benchtests/tan-inputs: Likewise.
42285         * benchtests/tanh-inputs: Likewise.
42286         * scripts/bench.pl: Add support for new directives.
42288 2013-10-07  Alan Modra  <amodra@gmail.com>
42290         * README: Fix careless merge.
42292 2013-10-05  Alan Modra  <amodra@gmail.com>
42294         * NEWS: Mention powerpc64le support and bugs fixed.
42295         * README: Both big-endian and little-endian powerpc64 supported.
42297 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42299         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42300         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42301         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42302         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42304 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42306         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42307         match prototype.
42309 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42311         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42312         Move -mhard-float appending from
42313         ports/sysdeps/powerpc/powerpc32/Makefile.
42314         [$(with-fp) = yes] (ASFLAGS): Likewise.
42315         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42316         * sysdeps/powerpc/nofpu: Move directory from
42317         ports/sysdeps/powerpc/nofpu.
42318         * sysdeps/powerpc/soft-fp: Move directory from
42319         ports/sysdeps/powerpc/soft-fp.
42320         * sysdeps/powerpc/powerpc32/405: Move directory from
42321         ports/sysdeps/powerpc/powerpc32/405.
42322         * sysdeps/powerpc/powerpc32/440: Move directory from
42323         ports/sysdeps/powerpc/powerpc32/440.
42324         * sysdeps/powerpc/powerpc32/464: Move directory from
42325         ports/sysdeps/powerpc/powerpc32/464.
42326         * sysdeps/powerpc/powerpc32/476: Move directory from
42327         ports/sysdeps/powerpc/powerpc32/476.
42328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42329         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42331         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42333         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42335         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42337         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42338         * README: Update for powerpc-*-linux-gnu software floating point
42339         support in libc.
42341         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42342         case to powerpc/powerpc32*.
42343         * sysdeps/unix/sysv/linux/configure: Regenerated.
42345         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42346         (_FPU_MASK_OM): Define as 0x04.
42347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42349         0x00c10080.
42350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42351         0x0000003c.
42352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42355         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42356         getcontext_e500.
42357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42358         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42359         setcontext_e500.
42360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42361         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42362         and setcontext_e500.
42364 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42366         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42368 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42370         * manual/threads.texi (Default Thread Attributes): Fix typo.
42372 2013-10-04  Will Newton  <will.newton@linaro.org>
42374         * malloc/Makefile: Add tst-memalign.
42375         * malloc/tst-memalign.c: New file.
42377         * malloc/tst-posix_memalign.c: Add comments.
42378         (do_test): Add comments and call free on all potentially
42379         allocated pointers. Add space after cast.
42381         * malloc/tst-pvalloc.c: Add comments.
42382         (do_test): Add comments and call free on all potentially
42383         allocated pointers. Remove duplicate check for NULL pointer.
42384         Add space after cast.
42386         * malloc/tst-valloc.c: Add comments.
42387         (do_test): Add comments and call free on all potentially
42388         allocated pointers. Remove duplicate check for NULL pointer.
42389         Add space after cast.
42391 2013-10-04  Alan Modra  <amodra@gmail.com>
42393         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42394         Use stdint types in rather than __attribute__((mode())).
42395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42397 2013-10-04  Alan Modra  <amodra@gmail.com>
42399         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42400         Correct handling of unaligned relocs for little-endian.
42401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42403 2013-10-04  Alan Modra  <amodra@gmail.com>
42405         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42406         * configure: Regenerate.
42407         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42408         * shlib-versions: Likewise.
42410 2013-10-04  Alan Modra  <amodra@gmail.com>
42412         * string/tester.c (test_memrchr): Increment reported test cycle.
42414 2013-10-04  Alan Modra  <amodra@gmail.com>
42416         * string/test-memcpy.c (do_one_test): When reporting errors, print
42417         string address and don't overrun end of string.
42419 2013-10-04  Alan Modra  <amodra@gmail.com>
42421         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42422         insrdi.  Make better use of reg selection to speed exit slightly.
42423         Schedule entry path a little better.  Remove useless "are we done"
42424         checks on entry to main loop.  Handle wrapping around zero address.
42425         Correct main loop count.  Handle single left-over word from main
42426         loop inline rather than by using loop_small.  Remove extra word
42427         case in loop_small caused by wrong loop count.  Add little-endian
42428         support.
42429         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42430         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42431         cache hint.
42432         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42433         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42434         support.  Avoid rlwimi.
42435         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42437 2013-10-04  Alan Modra  <amodra@gmail.com>
42439         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42440         insrdi.  Formatting.
42441         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42442         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42443         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42444         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42445         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42446         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42448 2013-10-04  Alan Modra  <amodra@gmail.com>
42450         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42451         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42452         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42453         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42454         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42455         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42457         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42458         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42459         use of regs.  Use power7 mtocrf.  Tidy function tails.
42461 2013-10-04  Alan Modra  <amodra@gmail.com>
42463         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42464         Formatting.  Consistently use rXXX register defines or rN defines.
42465         Use early exit labels that avoid restoring unused non-volatile regs.
42466         Make cr field use more consistent with rWORDn compares.  Rename
42467         regs used as shift registers for unaligned loop, using rN defines
42468         for short lifetime/multiple use regs.
42469         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42471         addi 1,1,64 to pop stack frame.  Simplify return value code.
42472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42474 2013-10-04  Alan Modra  <amodra@gmail.com>
42476         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42477         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42478         rather than rlwimi.
42479         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42480         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42481         little-endian support.  Correct typos.
42482         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42483         rather than rlwimi.
42484         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42485         in loop and entry code to keep "and." results.
42486         (strchr): Add little-endian support.  Comment.  Move cntlzd
42487         earlier in tail.
42488         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42490 2013-10-04  Alan Modra  <amodra@gmail.com>
42492         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42493         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42494         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42495         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42497 2013-10-04  Alan Modra  <amodra@gmail.com>
42499         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42500         (rTMP): Define as r11.
42501         (strcmp): Add little-endian support.  Optimise tail.
42502         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42503         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42504         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42505         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42506         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42507         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42508         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42510 2013-10-04  Alan Modra  <amodra@gmail.com>
42512         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42513         little-endian support.  Remove unnecessary "are we done" tests.
42514         Handle "s" wrapping around zero and extremely large "size".
42515         Correct main loop count.  Handle single left-over word from main
42516         loop inline rather than by using small_loop.  Correct comments.
42517         Delete "zero" tail, use "end_max" instead.
42518         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42520 2013-10-04  Alan Modra  <amodra@gmail.com>
42522         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42523         support.  Don't branch over align.
42524         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42525         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42526         support.  Rearrange tmp reg use to suit.  Comment.
42527         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42529 2013-10-04  Alan Modra  <amodra@gmail.com>
42531         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42533 2013-10-04  Alan Modra  <amodra@gmail.com>
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42536         conditional form of branch and link when obtaining pc.
42537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42539 2013-10-04  Alan Modra  <amodra@gmail.com>
42541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42542         HIWORD/LOWORD.
42543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42546 2013-10-04  Alan Modra  <amodra@gmail.com>
42548         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42549         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42550         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42551         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42552         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42553         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42554         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42555         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42556         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42557         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42559 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42560             Alistair Popple <alistair@ozlabs.au.ibm.com>
42561             Alan Modra <amodra@gmail.com>
42563         [BZ #15723]
42564         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42565         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42566         _dl_hwcap access for little-endian.
42567         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42568         destroy vmx regs when saving unaligned.
42569         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42570         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42571         destroy vmx regs when saving unaligned.
42573 2013-10-04  Alan Modra  <amodra@gmail.com>
42575         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42576         Don't use a union to pack hi/low value.
42578 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42580         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42581         for little-endian.
42582         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42584         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42585         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42586         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42588 2013-10-04  Alan Modra  <amodra@gmail.com>
42590         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42591         constants to usual value for .cst8 section, and remove redundant
42592         high address load.
42593         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42594         constant for 0x1p52.  Load little-endian words of double from
42595         correct stack offsets.
42597 2013-10-04  Alan Modra  <amodra@gmail.com>
42599         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42600         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42601         words of double from correct stack offsets.
42602         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42603         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42604         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42607         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42608         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42609         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42610         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42611         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42612         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42614         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42615         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42616         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42617         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42618         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42620 2013-10-04  Alan Modra  <amodra@gmail.com>
42622         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42623         64-bit int/double union.
42624         (_FPU_SETCW): Likewise.
42625         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42626         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42628 2013-10-04  Alan Modra  <amodra@gmail.com>
42630         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42631         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42633 2013-10-04  Alan Modra  <amodra@gmail.com>
42635         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42636         use vector int constants.
42637         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42639 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42641         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42642         array with long long.
42643         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42644         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42645         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42646         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42647         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42648         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42649         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42650         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42651         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42652         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42653         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42654         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42655         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42657 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42659         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42660         (__signbit): Likewise.  Correct for little-endian.
42661         (__signbitl): Call __signbit.
42662         (lrint): Correct for little-endian.
42663         (lrintf): Call lrint.
42665 2013-10-04  Alan Modra  <amodra@gmail.com>
42667         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42668         union 32-bit int array member with 64-bit int array.
42669         (t515, tm256): Double rather than long double.
42670         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42672 2013-10-04  Alan Modra  <amodra@gmail.com>
42674         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42675         Delete.
42676         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42677         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42678         version of math_ldbl.h.
42680 2013-10-04  Alan Modra  <amodra@gmail.com>
42682         [BZ #15734], [BZ #15735]
42683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42684         all uses of ieee875 long double macros and unions.  Simplify test
42685         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42686         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42687         normalize after ldbl_extract_mantissa, and don't add hidden bit
42688         already handled.  Don't treat low word of ieee854 mantissa like
42689         low word of IBM long double and mask off bit when testing for
42690         zero.
42691         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42692         all uses of ieee875 long double macros and unions.  Simplify tests
42693         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42694         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42695         two1022, instead use their values.  Recognise that tests for large
42696         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42698         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42699         test for 0.0L and nan.  Correct negation.
42700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42701         ieee875 long double macros and unions.  Correct output for large
42702         magnitude x.  Correct absolute value calculation.
42703         (__erfcl): Likewise.
42704         * math/libm-test.inc: Add tests for errors discovered in IBM long
42705         double versions of fmodl, remainderl, erfl and erfcl.
42707 2013-10-04  Alan Modra  <amodra@gmail.com>
42709         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42710         all uses of ieee854 long double macros and unions.  Simplify tests
42711         for long doubles that are fully specified by the high double.
42712         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42713         Likewise.
42714         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42715         Remove dead code too.
42716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42717         (__ieee754_ynl): Likewise.
42718         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42721         Remove dead code too.
42722         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42723         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42724         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42725         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42726         Simplify.
42727         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42728         Simplify.
42729         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42732         Comment on variable precision.
42733         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42735         Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42740         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42742 2013-10-04  Alan Modra  <amodra@gmail.com>
42744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42746         all uses of ieee854 long double macros and unions.
42747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42752         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42753         Likewise.
42754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42755         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42756         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42757         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42759         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42760         Simplify sign and nan test too.
42761         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42762         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42765         Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42768         Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42771         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42772         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42773         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42774         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42776 2013-10-04  Alan Modra  <amodra@gmail.com>
42778         * stdio-common/printf_size.c (__printf_size): Don't use
42779         union ieee854_long_double in fpnum union.
42780         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42781         signbit macro to retrieve sign from long double.
42782         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42783         retrieve sign from long double.
42784         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42785         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42786         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42787         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42788         * math/test-misc.c (main): Don't use union ieee854_long_double.
42790 2013-10-04  Alan Modra  <amodra@gmail.com>
42792         [BZ #15680]
42793         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42795         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42796         calculation.  Remove unnecessary test for denormal exponent.
42797         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42798         Correct handling of denormals.  Avoid undefined shift behaviour.
42799         Correct normalisation of low mantissa when low double is denormal.
42800         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42801         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42802         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42803         Correct normalisation of low mantissa.  Test for overflow of high
42804         mantissa and normalise.
42805         (ldbl_nearbyint): Use more readable constant for two52.
42806         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42807         (__mpn_construct_long_double): Fix test for overflow of high
42808         mantissa and correct normalisation.  Avoid undefined shift.
42810 2013-10-04  Alan Modra  <amodra@gmail.com>
42812         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42813         (union ibm_extended_long_double): Define as an array of ieee754_double.
42814         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42815         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42816         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42817         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42818         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42821         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42822         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42823         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42824         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42826 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42828         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42829         page size instead of calling getpagesize.
42831         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42832         (LOCFILE_ALIGN_MASK): Likewise.
42833         (LOCFILE_ALIGN_UP): Likewise.
42834         (LOCFILE_ALIGNED_P): Likewise.
42835         * locale/programs/ld-collate.c (collate_output): Use the new
42836         macros instead of __alignof__ (int32_t).
42837         * locale/weight.h (findidx): Likewise.
42839 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42841         [BZ #431]
42842         * manual/string.texi: Fix strncat and wcsncat.
42844 2013-10-03  Brooks Moses  <bmoses@google.com>
42846         [BZ #15915]
42847         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42848         * Makerules: ...here, and adjust associated comments.
42850 2013-10-02  Will Newton  <will.newton@linaro.org>
42852         * malloc/Makefile: Add tst-pvalloc.
42853         * malloc/tst-pvalloc.c: New file.
42855 2013-10-02  Will Newton  <will.newton@linaro.org>
42857         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42858         improve test coverage.
42860 2013-10-02  Will Newton  <will.newton@linaro.org>
42862         * malloc/Makefile: Add tst-posix_memalign.
42863         * malloc/tst-posix_memalign.c: New file.
42865 2013-10-01  Eric Blake  <eblake@redhat.com>
42867         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42868         Use __THROWNL rather than __THROW on static functions.
42870 2013-09-30  Petr Machata  <pmachata@redhat.com>
42872         * elf/elf.h (R_AARCH64_ABS16): New macro.
42873         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42874         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42875         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42876         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42877         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42878         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42879         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42880         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42881         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42882         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42883         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42884         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42885         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42886         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42887         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42888         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42889         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42890         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42891         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42892         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42893         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42894         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42895         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42896         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42897         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42898         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42899         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42900         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42901         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42902         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42903         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42904         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42905         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42906         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42907         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42908         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42909         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42910         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42911         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42912         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42913         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42914         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42915         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42916         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42917         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42918         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42919         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42920         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42921         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42922         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42923         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42924         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42925         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42926         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42927         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42928         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42929         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42930         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42931         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42932         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42933         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42934         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42935         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42936         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42937         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42938         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42939         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42940         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42941         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42942         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42943         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42944         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42945         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42946         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42947         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42948         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42949         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42950         (R_AARCH64_TLSDESC_LDR): Likewise.
42951         (R_AARCH64_TLSDESC_ADD): Likewise.
42952         (R_AARCH64_TLSDESC_CALL): Likewise.
42954 2013-09-30  Andreas Schwab  <schwab@suse.de>
42956         [BZ #15048]
42957         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42958         the nss database lookup.
42959         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42962 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42964         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42966 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42968         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42969         ${Bash-specific parameter/pattern/string} parameter expansion.
42970         * sysdeps/unix/make-syscalls.sh: Likewise.
42972 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42974         * sysdeps/sh/stackguard-macros.h: New file.
42976 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42980         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42981         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42982         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42983         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42985 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42987         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42988         Fix thread ID register.
42990 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42992         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42993         [POSIX || UNIX98]: Require rather than permitting all symbols from
42994         <time.h>.
42995         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42996         element of struct sched_param.
42997         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42998         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42999         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43000         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43001         constant.
43003 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43005         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43006         argument calculation.
43008 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43010         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43011         Expect macro.
43012         [POSIX] (pthread_attr_t): Do not require type.
43013         [POSIX] (pthread_cond_t): Likewise.
43014         [POSIX] (pthread_condattr_t): Likewise.
43015         [POSIX] (pthread_key_t): Likewise.
43016         [POSIX] (pthread_mutex_t): Likewise.
43017         [POSIX] (pthread_mutexattr_t): Likewise.
43018         [POSIX] (pthread_once_t): Likewise.
43019         [POSIX] (pthread_t): Likewise.
43020         [POSIX-based standards] (pthread_atfork): Expect function.
43022 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43023             Richard Sandiford  <richard@codesourcery.com>
43025         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43026         (swap_endianness_p): New extern variable.
43027         (set_big_endian): New inline function.
43028         (maybe_swap_uint32): Likewise.
43029         (maybe_swap_uint32_array): Likewise.
43030         (maybe_swap_uint32_obstack): Likewise.
43031         * locale/programs/locfile.c: Include <stdbool.h>.
43032         (swap_endianness_p): New variable.
43033         (add_locale_uint32): Call maybe_swap_uint32.
43034         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43035         (write_locale_data): Call maybe_swap_uint32_array.
43036         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43037         maybe_swap_uint32.
43038         (obstack_int32_grow_fast): Likewise.
43039         (output_weightwc): Call maybe_swap_uint32_obstack.
43040         (collate_output): Likewise.
43041         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43042         (OPT_LITTLE_ENDIAN): Likewise.
43043         (options): Add --little-endian and --big-endian options.
43044         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43045         * locale/programs/locarchive.c: Include "locfile.h".
43046         (GET): New macro.
43047         (SET): Likewise.
43048         (INC): Likewise.
43049         (create_archive): Use the new macros to access fields of
43050         structures directly mapped from or written to locale archives.
43051         (oldlocrecentcmp): Likewise.
43052         (enlarge_archive): Likewise.
43053         (insert_name): Likewise.
43054         (add_alias): Likewise.
43055         (add_locale): Likewise.
43056         (delete_locales_from_archive): Likewise.
43057         (show_archive_content): Likewise.
43058         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43059         locale data.
43061 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43063         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43064         http://www.gnu.org/doc/freemanuals.texi.
43065         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43067 2013-09-24  Will Newton  <will.newton@linaro.org>
43069         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43070         macro.
43072 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43074         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43075         unsigned char.
43077 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43079         * manual/threads.texi (POSIX Threads): Fix a typo.
43081 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43083         [BZ #14547]
43084         * string/tst-strcoll-overflow.c: New test case.
43085         * string/Makefile (xtests): Add tst-strcoll-overflow.
43086         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43087         cache if string sizes may cause integer overflow.
43089         [BZ #14547]
43090         * string/strcoll_l.c (coll_seq): New members rule, idx,
43091         save_idx and back_us.
43092         (get_next_seq_nocache): New function.
43093         (do_compare_nocache): New function.
43094         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43095         when malloc fails.
43097 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43099         [BZ #15754]
43100         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43101         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43102         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43104         [BZ #15754]
43105         * elf/Makefile (tests): Add tst-ptrguard1.
43106         (tests-static): Add tst-ptrguard1-static.
43107         (tst-ptrguard1-ARGS): Define.
43108         (tst-ptrguard1-static-ARGS): Define.
43109         * elf/tst-ptrguard1.c: New file.
43110         * elf/tst-ptrguard1-static.c: New file.
43111         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43112         * sysdeps/i386/stackguard-macros.h: Likewise.
43113         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43114         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43115         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43116         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43117         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43118         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43120 2013-09-23  Hector Marco  <hecmargi@upv.es>
43121             Ismael Ripoll  <iripoll@disca.upv.es>
43122             Carlos O'Donell  <carlos@redhat.com>
43124         [BZ #15754]
43125         * sysdeps/generic/stackguard-macros.h: Define
43126         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43127         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43128         Define __pointer_chk_guard_local.
43129         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43130         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43132 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43134         [BZ #15859]
43135         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43137 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43139         * include/string.h (__ffs): Declare as hidden.
43140         * string/ffs.c (__ffs): Define as hidden.
43141         * sysdeps/i386/ffs.c (__ffs): Likewise.
43142         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43143         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43144         * sysdeps/s390/ffs.c (__ffs): Likewise.
43145         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43147 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43149         * NEWS: Mention malloc probes.
43151         * malloc/arena.c (new_heap): New memory_heap_new probe.
43152         (grow_heap): New memory_heap_more probe.
43153         (shrink_heap): New memory_heap_less probe.
43154         (heap_trim): New memory_heap_free probe.
43155         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43156         (systrim): New memory_sbrk_less probe.
43157         * manual/probes.texi: Document them.
43159         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43160         * manual/probes.texi: Document it.
43162         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43163         (__libc_realloc): Add memory_realloc_retry probe.
43164         (__libc_memalign): Add memory_memalign_retry probe.
43165         (__libc_valloc): Add memory_valloc_retry probe.
43166         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43167         (__libc_calloc): Add memory_calloc_retry probe.
43168         * manual/probes.texi: Document them.
43170         * malloc/arena.c (get_free_list): Add probe
43171         memory_arena_reuse_free_list.
43172         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43173         and memory_arena_reuse.
43174         (arena_get2) [!PER_THREAD]: Likewise.
43175         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43176         memory_arena_reuse_realloc.
43177         * manual/probes.texi: Document them.
43179         * malloc/malloc.c (__libc_free): Add
43180         memory_mallopt_free_dyn_thresholds probe.
43181         (__libc_mallopt): Add multiple memory_mallopt probes.
43182         * manual/probes.texi: Document them.
43184         * malloc/malloc.c: Include stap-probe.h.
43185         (__libc_mallopt): Add memory_mallopt probe.
43186         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43187         * manual/probes.texi: New.
43188         * manual/Makefile (chapters): Add probes.
43189         * manual/threads.texi: Set next node.
43191 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43193         [BZ #15963, #13985]
43194         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43195         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43196         Add `Chinese' to `nan' entry name.
43198 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43200         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43201         (POLYNOMIAL): Likewise.
43202         (TAYLOR_SINCOS): Likewise.
43203         (TAYLOR_SLOW): Likewise.
43204         (__sin): Use TAYLOR_SINCOS.
43205         (__cos): Likewise.
43206         (slow): Use TAYLOR_SLOW.
43207         (sloww): Likewise.
43208         (bsloww): Likewise.
43209         (csloww): Likewise.
43211 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43213         * stdlib/strtod_l.c: Fix buffer overrun.
43215 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43217         * benchtests/Makefile (bench): Add sincos.
43218         * benchtests/bench-sincos.c: New file.
43220         * math/libm-test.inc (cos_test_data): New test inputs.
43221         (sin_test_data): Likewise.
43223         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43224         macro.
43225         (__sin): Use it.
43226         (__cos): Likewise.
43227         (slow1): Likewise.
43228         (slow2): Likewise.
43229         (sloww1): Likewise.
43230         (sloww2): Likewise.
43231         (bsloww1): Likewise.
43232         (bsloww2): Likewise.
43233         (cslow2): Likewise.
43234         (csloww1): Likewise.
43235         (csloww2): Likewise.
43237         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43238         function.
43239         (__sin): Use it.
43240         (__cos): Likewise.
43242         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43243         gotos.
43244         (__cos): Likewise.
43246 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43248         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43249         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43250         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43251         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43252         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43253         * elf/cache.c (print_entry): Handle the new cache flags.
43255 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43256             Aldy Hernandez  <aldyh@redhat.com>
43258         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43259         Change condition to [_SOFT_FLOAT].
43260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43272         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43275         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43276         declaration.
43278 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43280         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43281         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43282         (__longjmp): Use LOAD_GP to load saved GPRs.
43283         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43284         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43285         (__sigsetjmp): Use SAVE_GP to save GPRs.
43287         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43288         Do not append -msoft-float.
43289         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43291 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43293         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43295 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43297         [BZ #15966]
43298         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43299         (_FPU_GETCW): Use initial "__" on variable and field names but not
43300         on macro parameter name.
43301         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43302         parentheses around reference to macro parameter.
43304 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43306         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43307         prototype.
43308         (ctype_startup): Use uint32_t in cast and sizeof for
43309         ctype->charnames.
43311 2013-09-11  Jia Liu  <proljc@gmail.com>
43313         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43314         __daddr_t_defined.
43315         [__FreeBSD__]: Likewise.
43317 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43320         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43321         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43322         (strchr): Remove __strchr_sse42 ifunc selection.
43323         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43324         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43326 2013-09-11  Will Newton  <will.newton@linaro.org>
43328         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43329         parameter to RES. Remove hardcoded 1000 value.
43330         * benchtests/bench-skeleton.c (main): Pass RES parameter
43331         to TIMING_INIT and multiply result by 1000.
43333 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43337 2013-09-11  Andreas Schwab  <schwab@suse.de>
43339         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43340         if not defined.
43341         (O_TMPFILE) [__USE_GNU]: Define.
43342         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43343         Define.
43345 2013-09-11  Will Newton  <will.newton@linaro.org>
43347         [BZ #15857]
43348         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43349         does not overflow.
43351 2013-09-11  Will Newton  <will.newton@linaro.org>
43353         [BZ #15856]
43354         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43355         does not overflow.
43357 2013-09-11  Will Newton  <will.newton@linaro.org>
43359         [BZ #15855]
43360         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43361         does not overflow.
43363 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43365         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43366         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43367         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43368         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43371 2013-09-10  Allan McRae  <allan@archlinux.org>
43373         [BZ #15748]
43374         * manual/arith.texi (Parsing of Floats): Clarify
43375         cross-reference.
43377         [BZ #15849]
43378         * manual/install.texi (Running make install): Mention
43379         --enable-pt-chown.
43380         * INSTALL: Regenerated.
43382 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43384         * csu/init-first.c (_init): Remove the !SHARED condition around
43385         FPU control word initialization.
43386         * elf/dl-support.c (_dl_fpu_control): New variable.
43387         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43388         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43389         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43390         * math/test-fpucw-static.c: New file.
43391         * math/test-fpucw-ieee.c: New file.
43392         * math/test-fpucw-ieee-static.c: New file.
43393         * math/Makefile (tests): Add `test-fpucw-ieee' and
43394         `$(tests-static)'.
43395         (tests-static): New variable.
43396         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43397         dependency to...
43398         [($(build-shared),yes)]
43399         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43400         ... this.
43401         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43402         New dependency.
43404 2013-09-09  Allan McRae  <allan@archlinux.org>
43406         [BZ #15939]
43407         * manual/string.texi (Collation Functions): Fix typo in
43408         strcoll example.
43409         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43411         [BZ #15893]
43412         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43414         [BZ #15892]
43415         * libio/memstream.c (open_memstream): Fix memory leak.
43416         * libio/wmemstream.c (open_wmemstream): Likewise.
43418         [BZ #15895]
43419         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43421 2013-09-09  Will Newton  <will.newton@linaro.org>
43423         * malloc/Makefile: Add tst-realloc to tests.
43424         * malloc/tst-realloc.c: New file.
43426 2013-09-09  Allan McRae  <allan@archlinux.org>
43428         [BZ #15844]
43429         * COPYING: Update from GNU website to fix FSF address.
43430         * COPYING.LIB: Likewise.
43432 2013-09-06  David S. Miller  <davem@davemloft.net>
43434         * po/zh_TW.po: Update Chinese (traditional) translation from
43435         translation project.
43437 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43438             Joseph Myers  <joseph@codesourcery.com>
43440         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43441         "localeinfo.h".
43442         (obstack_chunk_alloc): New macro.
43443         (obstack_chunk_free): Likewise.
43444         (record_offset): New function.
43445         (init_locale_data): Likewise.
43446         (align_locale_data): Likewise.
43447         (add_locale_empty): Likewise.
43448         (add_locale_raw_data): Likewise.
43449         (add_locale_raw_obstack): Likewise.
43450         (add_locale_string): Likewise.
43451         (add_locale_wstring): Likewise.
43452         (add_locale_uint32): Likewise.
43453         (add_locale_uint32_array): Likewise.
43454         (add_locale_char): Likewise.
43455         (start_locale_structure): Likewise.
43456         (end_locale_structure): Likewise.
43457         (start_locale_prelude): Likewise.
43458         (end_locale_prelude): Likewise.
43459         (write_locale_data): Take locale_file structure rather than an
43460         iovec.
43461         * locale/programs/locfile.h: Include "obstack.h".
43462         (struct locale_file): Change to store locale file contents instead
43463         of header.
43464         (init_locale_data): New prototype.
43465         (align_locale_data): Likewise.
43466         (add_locale_empty): Likewise.
43467         (add_locale_raw_data): Likewise.
43468         (add_locale_raw_obstack): Likewise.
43469         (add_locale_string): Likewise.
43470         (add_locale_wstring): Likewise.
43471         (add_locale_uint32): Likewise.
43472         (add_locale_uint32_array): Likewise.
43473         (add_locale_char): Likewise.
43474         (start_locale_structure): Likewise.
43475         (end_locale_structure): Likewise.
43476         (start_locale_prelude): Likewise.
43477         (end_locale_prelude): Likewise.
43478         (write_locale_data): Update prototype.
43479         * locale/programs/3level.h (struct TABLE): Remove result field.
43480         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43481         Use new locale_file interface.
43482         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43483         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43484         * locale/programs/ld-address.c (address_output): Use new
43485         locale_file interface.
43486         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43487         NO_ADD_LOCALE.
43488         (collate_finish): Don't call collseq_table_finalize.
43489         (collate_output): Use new locale_file interface.
43490         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43491         in file.
43492         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43493         (TABLE): Move defines earlier in file.
43494         (ELEMENT): Likewise.
43495         (DEFAULT): Likewise.
43496         (wctrans_table_add): Move macro and inline function earlier in
43497         file.
43498         (struct wctype_table): Move type earlier in file.
43499         (add_locale_wctype_table): New static prototype.
43500         (struct locale_ctype_t): Use logical types instead of struct iovec
43501         pointers for members.
43502         (ctype_output): Use new locale_file interface.
43503         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43504         new locale_file interface.
43505         (allocate_arrays): Update for use of new locale_file interface.
43506         * locale/programs/ld-identification.c (identification_output): Use
43507         new locale_file interface.
43508         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43509         * locale/programs/ld-messages.c (messages_output): Likewise.
43510         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43511         * locale/programs/ld-name.c (name_output): Likewise.
43512         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43513         * locale/programs/ld-paper.c (paper_output): Likewise.
43514         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43515         * locale/programs/ld-time.c (time_output): Likewise.
43517 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43519         * benchtests/Makefile: Add memrchr benchmark.
43520         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43521         benchmark as memrchr.
43522         * benchtests/bench-memrchr-ifunc.c: New file.
43523         * benchtests/bench-memrchr.c: New file.
43525 2013-09-06   Will Newton  <will.newton@linaro.org>
43527         * benchtests/Makefile (string-bench): Add memcpy.
43529 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43530             Cong Wang  <amwang@redhat.com>
43532         [BZ #15850]
43533         * sysdeps/unix/sysv/linux/bits/in.h
43534         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43535         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43536         before __USE_KERNEL_IPV6_DEFS uses.
43537         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43538         IPPROTO_BEETPH.
43539         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43540         sockaddr_in6, or ipv6_mreq.
43542 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43544         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43545         memory access for final bytes in some large inputs.
43546         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43548 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43550         * string/test-memrchr.c: New file.
43551         * string/test-memrchr-ifunc.c: New file.
43552         * string/Makefile: Add new memrchr testcase.
43554 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43556         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43557         fanotify_init returns EPERM.
43559 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43561         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43562         errors.
43563         (top level): Treat second token from macro or constant entries for
43564         allowed headers as allowed.
43565         * include/complex.h: Condition internal declarations on
43566         [!_ISOMAC].
43567         * include/fenv.h: Condition include of <stdbool.h> and internal
43568         declarations on [!_ISOMAC].
43570 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43572         [BZ #15923]
43573         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43575 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43577         * configure.in (--enable-versioning): Remove configure option.
43578         (libc_cv_asm_symver_directive): Remove configure test.
43579         (libc_cv_ld_version_script_option): Likewise.
43580         (VERSIONING): Remove variable and AC_SUBST.
43581         (DO_VERSIONING): Remove AC_DEFINE.
43582         * configure: Regenerated.
43583         * config.h.in (DO_VERSIONING): Remove macro.
43584         * Makerules [$(versioning) = yes]: Change conditionals to
43585         [$(build-shared) = yes].
43586         * config.make.in (versioning): Remove variable.
43587         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43588         [$(build-shared) = yes].
43589         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43590         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43591         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43592         [$(build-shared) = yes].
43593         * extra-lib.mk [$(versioning) = yes]: Likewise.
43594         * hurd/Makefile [$(versioning) = yes]: Likewise.
43595         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43596         [SHARED].
43597         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43598         [SHARED].
43599         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43600         [SHARED && !NO_HIDDEN].
43601         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43602         [SHARED].
43603         [SHARED && DO_VERSIONING]: Likewise..
43604         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43605         [$(build-shared) = yes].
43606         * manual/install.texi (--disable-versioning): Remove
43607         documentation.
43608         * INSTALL: Regenerated.
43609         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43610         to [SHARED].
43611         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43612         [$(build-shared) = yes].
43613         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43614         * sysdeps/i386/i686/multiarch/strstr-c.c
43615         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43616         [SHARED && !NO_HIDDEN].
43617         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43618         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43619         * sysdeps/powerpc/powerpc32/dl-machine.c
43620         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43621         * sysdeps/powerpc/powerpc32/sysdep.h
43622         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43623         to [SHARED && PIC && !NO_HIDDEN].
43624         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43625         conditional to [SHARED].
43627 2013-09-04   Will Newton  <will.newton@linaro.org>
43629         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43630         * benchtests/bench-string.h: Include bench-timing.h instead
43631         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43632         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43633         call to HP_TIMING_DIFF_INIT.
43634         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43635         instead of hp-timing.h macros.
43636         * benchtests/bench-memchr.c: Likewise.
43637         * benchtests/bench-memcmp.c: Likewise.
43638         * benchtests/bench-memcpy.c: Likewise.
43639         * benchtests/bench-memmem.c: Likewise.
43640         * benchtests/bench-memmove.c: Likewise.
43641         * benchtests/bench-memset.c: Likewise.
43642         * benchtests/bench-rawmemchr.c: Likewise.
43643         * benchtests/bench-strcasecmp.c: Likewise.
43644         * benchtests/bench-strcasestr.c: Likewise.
43645         * benchtests/bench-strcat.c: Likewise.
43646         * benchtests/bench-strchr.c: Likewise.
43647         * benchtests/bench-strcmp.c: Likewise.
43648         * benchtests/bench-strcpy.c: Likewise.
43649         * benchtests/bench-strcpy_chk.c: Likewise.
43650         * benchtests/bench-strlen.c: Likewise.
43651         * benchtests/bench-strncasecmp.c: Likewise.
43652         * benchtests/bench-strncat.c: Likewise.
43653         * benchtests/bench-strncmp.c: Likewise.
43654         * benchtests/bench-strncpy.c: Likewise.
43655         * benchtests/bench-strnlen.c: Likewise.
43656         * benchtests/bench-strpbrk.c: Likewise.
43657         * benchtests/bench-strrchr.c: Likewise.
43658         * benchtests/bench-strspn.c: Likewise.
43659         * benchtests/bench-strstr.c: Likewise.
43661 2013-09-04  Will Newton  <will.newton@linaro.org>
43663         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43665 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43667         [BZ #15427]
43668         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43669         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43670         * math/libm-test.inc (lgamma_test_data): Add more tests.
43671         * sysdeps/i386/fpu/libm-test-ulps: Update.
43672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43674 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43676         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43678         Add ifunc.
43679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43680         Add strcmp-sse2-unaligned
43681         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43683 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43685         * Versions.def (libc): Add GLIBC_2.19.
43687 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43689         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43690         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43692 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43694         [BZ #14155]
43695         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43696         intermediate calculations in recurrence.
43697         (__ieee754_ynf): Likewise.
43698         * math/libm-test.inc (jn_test_data): Do not allow spurious
43699         underflow exception.  Add more tests.
43700         (yn_test_data): Add more tests.
43701         * sysdeps/i386/fpu/libm-test-ulps: Update.
43702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43704 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43706         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43708 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43710         * csu/init-first.c: Fix then/than typos.
43711         * locale/programs/ld-collate.c: Likewise.
43712         * locale/programs/linereader.h: Likewise.
43713         * manual/charset.texi: Likewise.
43714         * manual/filesys.texi: Likewise.
43715         * manual/stdio.texi: Likewise.
43716         * manual/string.texi: Likewise.
43717         * stdlib/fmtmsg.c: Likewise.
43718         * sysdeps/i386/stpncpy.S: Likewise.
43719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43720         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43721         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43722         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43724 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43726         * elf/dl-open.c: Fix typos.
43727         * iconvdata/gbbig5.c: Likewise.
43728         * iconvdata/iso-2022-jp.c: Likewise.
43729         * iconv/gconv_int.h: Likewise.
43730         * iconv/loop.c: Likewise.
43731         * nis/rpcsvc/nis.h: Likewise.
43732         * resolv/ns_name.c: Likewise.
43733         * stdio-common/vfscanf.c: Likewise.
43734         * streams/stropts.h: Likewise.
43735         * sunrpc/rpc_thread.c: Likewise.
43736         * sysdeps/i386/strpbrk.S: Likewise.
43737         * sysdeps/ieee754/k_standard.c: Likewise.
43738         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43739         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43740         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43741         * sysdeps/mach/hurd/profil.c: Likewise.
43742         * sysdeps/s390/dl-procinfo.h: Likewise.
43743         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43744         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43745         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43746         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43749 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43751         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43754 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43756         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43757         aix specific files.
43758         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43759         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43760         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43761         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43762         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43763         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43764         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43765         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43767 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43768             Roland McGrath  <roland@hack.frob.com>
43770         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43771         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43773 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43775         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43776         __executable_start symbol instead of _start.
43778 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43780         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43781         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43782         Move macros to...
43783         * sysdeps/gnu/ldsodefs.h: ... this new file.
43785         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43786         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43787         instead of ELFOSABI_LINUX.
43789         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43790         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43791         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43792         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43793         Likewise.
43794         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43795         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43796         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43797         Likewise.
43798         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43799         (ibm_extended_long_double): Add ieee_nan member.
43800         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43801         (do_test): New function.
43803         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43804         TEST_TRUNC.
43805         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43806         functions, renamed from truncdfsf_test, trunctfsf_test,
43807         trunctfdf_test.
43808         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43809         functions.
43810         (do_test): Run all these.
43812 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43814         * argp/argp-help.c: Fix typos.
43815         * argp/argp-parse.c: Likewise.
43816         * debug/backtracesyms.c: Likewise.
43817         * elf/elf.h: Likewise.
43818         * malloc/malloc.c: Likewise.
43819         * nis/nis_print.c: Likewise.
43820         * resolv/res_comp.c: Likewise.
43821         * stdlib/stdlib.h: Likewise.
43822         * sunrpc/clnt_tcp.c: Likewise.
43823         * sunrpc/clnt_udp.c: Likewise.
43824         * sunrpc/clnt_unix.c: Likewise.
43825         * sysdeps/unix/bsd/ptsname.c: Likewise.
43826         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43827         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43829         Likewise.
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43831         Likewise.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43833         Likewise.
43834         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43836 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43838         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43841 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43843         [BZ #15897]
43844         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43845         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43846         ($(objpfx)bug-dl-leaf): New rule.
43847         ($(objpfx)bug-dl-leaf.so): Likewise.
43848         ($(objpfx)bug-dl-leaf.out): Likewise.
43849         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43850         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43851         * dlfcn/bug-dl-leaf.c: New test.
43852         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43853         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43854         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43855         (dlclose): Likewise.
43856         (dlmopen): Likewise.
43858 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43860         * include/netdb.h [!_ISOMAC]:
43861         Don't include <tls.h>.
43862         (h_errno, __libc_h_errno): Move declaration and macros out of
43863         [_LIBC_REENTRANT].
43865         * include/resolv.h [_RESOLV_H_]:
43866         Don't include <tls.h>.
43867         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43868         * resolv/res_libc.c: Don't include <tls.h>.
43869         (_res): Use __attribute__ ((nocommon)) in place of
43870         __attribute__ ((section (".bss"))).
43872         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43873         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43875         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43877         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43878         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43880         * resolv/res_mkquery.c: Include <sys/time.h>.
43882         * inet/ifreq.c: Moved to ...
43883         * sysdeps/unix/ifreq.c: ... here.
43884         * inet/ifreq.c: New file, true stub version.
43886         * socket/sa_len.c: New file.
43887         * socket/Makefile (aux): Add it.
43888         * sysdeps/unix/sysv/linux/Makefile
43889         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43890         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43891         and #include <socket/sa_len.c>.
43892         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43893         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43895         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43896         * bits/socket.h: ... here.
43898         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43899         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43900         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43902 2013-08-27  Andreas Schwab  <schwab@suse.de>
43904         [BZ #15736]
43905         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43906         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43907         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43908         * string/test-strcasecmp.c (test_main): Run tests in several
43909         locales.
43910         * string/test-strncasecmp.c (test_main): Likewise.
43912         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43913         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43914         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43916         (__strncasecmp_ssse3) [PIC]: Likewise.
43918 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43920         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43922         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43923         instead of explicitly declaring xdecrypt.
43924         * nis/nss_nis/nis-publickey.c: Likewise.
43926 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43928         [BZ #15890]
43929         * nscd/aicache.c: Include res_hconf.h.
43930         (addhstaiX): Initialize res_hconf.
43932 2013-08-26  Andreas Schwab  <schwab@suse.de>
43934         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43935         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43937 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43939         * nscd/aicache.c (addhstaiX): Fix indentation.
43941 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43943         * configure.ac: Quote $build_pt_chown test.
43944         * configure: Regenerated.
43946 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43948         [BZ #15532]
43949         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43950         * math/s_cexpf.c (__cexpf): Likewise.
43951         * math/s_cexpl.c (__cexpl): Likewise.
43952         * math/libm-test.inc (cexp_test_data): Correct expected return
43953         value for NaN + i0.  Add another test.
43955 2013-08-22  David S. Miller  <davem@davemloft.net>
43957         * po/ca.po: Update Catalan translation from translation project.
43958         * po/uk.po: Add Ukrainian translations from translation project.
43960 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43962         [BZ #15797]
43963         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43964         is infinite, not alongside NaN test.
43965         * math/s_fdimf.c (__fdimf): Likewise.
43966         * math/s_fdiml.c (__fdiml): Likewise.
43967         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43968         errno is unchanged.
43970 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43972         * argp/argp-help.c: Fix typos.
43973         * crypt/speeds.c: Likewise.
43974         * csu/check_fds.c: Likewise.
43975         * elf/dl-load.c: Likewise.
43976         * elf/dl-open.c: Likewise.
43977         * elf/reldep3.c: Likewise.
43978         * elf/reldep.c: Likewise.
43979         * elf/sprof.c: Likewise.
43980         * iconv/iconv_charmap.c: Likewise.
43981         * iconv/skeleton.c: Likewise.
43982         * iconv/strtab.c: Likewise.
43983         * io/lockf64.c: Likewise.
43984         * libio/libioP.h: Likewise.
43985         * resolv/gai_notify.c: Likewise.
43986         * resolv/ns_name.c: Likewise.
43987         * resolv/ns_samedomain.c: Likewise.
43988         * resolv/res_send.c: Likewise.
43989         * stdlib/random.c: Likewise.
43990         * sunrpc/rpc/xdr.h: Likewise.
43991         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43993         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43994         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43995         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43996         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43998         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43999         * sysdeps/mach/hurd/check_fds.c: Likewise.
44000         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44001         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44002         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44003         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44004         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44005         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44006         * sysdeps/pthread/aio_notify.c: Likewise.
44007         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44008         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44009         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44011         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44013 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44015         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44016         version if bit_Slow_SSE4_2 is set.
44017         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44018         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44020 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44022         [BZ #15867]
44023         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44024         trampoline stack frame information.
44025         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44026         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44027         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44028         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44029         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44030         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44031         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44032         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44033         sa_flags value.
44034         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44035         interrupting a syscall and set with option SA_SIGINFO.
44037 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44039         [BZ #15531]
44040         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44041         argument is infinite.
44042         * math/s_cprojf.c (__cprojf): Likewise.
44043         * math/s_cprojl.c (__cprojl): Likewise.
44044         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44045         * math/libm-test.inc (cproj_test_data): Add more tests.
44047         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44049         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44050         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44051         size.  Use __ffs to determine corresponding shift.
44053 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44054             Roland McGrath  <roland@hack.frob.com>
44056         * Makefile (INSTALL): Remove trailing blank lines from output of
44057         makeinfo.
44059 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44061         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44062         Align 32 bit compat elf_greg to 8 bytes.
44064 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44066         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44068 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44070         * string/strcoll_l.c (coll_seq): New structure.
44071         (get_next_seq_cached): New function.
44072         (get_next_seq): New function.
44073         (do_compare): New function.
44074         (STRCOLL): Use GNU style definition.  Simplify implementation
44075         by using get_next_seq, get_next_seq_cached and do_compare.
44077 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44079         [BZ #14699]
44080         CVE-2013-4237
44081         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44082         member.
44083         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44084         member.
44085         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44086         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44087         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44088         conditional.
44089         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44090         GETDENTS_64BIT_ALIGNED.
44091         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44092         * manual/filesys.texi (Reading/Closing Directory): Document
44093         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44094         strongly.
44095         * manual/conf.texi (Limits for Files): Add portability note to
44096         NAME_MAX, PATH_MAX.
44097         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44099 2013-08-13  Andreas Schwab  <schwab@suse.de>
44101         [BZ #15749]
44102         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44103         of fabs.
44104         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44105         LDBL_MAX_EXP >= 16384]: Add tests for it.
44107 2013-08-12  David S. Miller  <davem@davemloft.net>
44109         * version.h (RELEASE): Set to "development".
44110         (VERSION): Set to "2.18.90".
44111         * NEWS: Add 2.19 section.
44113 2013-08-03  David S. Miller  <davem@davemloft.net>
44115         * po/ko.po: Update Korean translation from translation project.
44117 2013-08-01  David S. Miller  <davem@davemloft.net>
44119         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44120         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44121         Bilka.
44123 2013-07-30  David S. Miller  <davem@davemloft.net>
44125         * po/fr.po: Update French translation from translation project.
44127 2013-07-28  David S. Miller  <davem@davemloft.net>
44129         * po/cs.po: Update Czech translation from translation project.
44131         * po/sv.po: Update Swedish translation from translation project.
44133 2013-07-27  David S. Miller  <davem@davemloft.net>
44135         * po/eo.po: Update Esperanto translation from translation project.
44137         * po/vi.po: Update Vietnamese translation from translation project.
44139         * po/de.po: Update German translation from translation project.
44141 2013-07-26  David S. Miller  <davem@davemloft.net>
44143         * po/bg.po: Update Bulgarian translation from translation project.
44145         * po/nl.po: Update Dutch translation from translation project.
44146         * po/pl.po: Update Polish translation from translation project.
44147         * po/ru.po: Update Russian translation from translation project.
44149 2013-07-24  David S. Miller  <davem@davemloft.net>
44151         * po/libc.pot: Update.
44153 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44155         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44156         variable page size.
44157         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44158         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44159         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44161 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44163         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44165 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44166             Andreas Schwab  <schwab@suse.de>
44167             Roland McGrath  <roland@hack.frob.com>
44168             Joseph Myers  <joseph@codesourcery.com>
44169             Carlos O'Donell  <carlos@redhat.com>
44171         [BZ #15755]
44172         * config.h.in: Define HAVE_PT_CHOWN.
44173         * config.make.in (build-pt-chown): New variable.
44174         * configure.in (--enable-pt_chown): New configure option.
44175         * configure: Regenerate.
44176         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44177         build-pt-chown is enabled.
44178         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44179         pt_chown to fix pty ownership.
44180         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44181         CLOSE_ALL_FDS.
44182         * manual/install.texi (Configuring and compiling): Mention
44183         --enable-pt_chown. Add @findex for grantpt.
44184         * INSTALL: Regenerate.
44186 2013-07-20  David S. Miller  <davem@davemloft.net>
44188         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44189         difference between 32-bit and 64-bit.
44191 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44193         [BZ #15711]
44194         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44195         Avoid system header dependency with -ffreestanding.
44196         ($(objpfx)bits/syscall%d): Likewise.
44198 2013-07-13  David S. Miller  <davem@davemloft.net>
44200         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44201         underflows from atanl/atan2l due to bug 15319.
44202         (casinh_test_data): Likewise.
44204 2013-07-07  David S. Miller  <davem@davemloft.net>
44206         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44208 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44210         * sysdeps/i386/fpu/libm-test-ulps: Update.
44211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44213 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44215         * configure.in (--enable-lock-elision): Fix message text.
44216         * INSTALL: Regenerate.
44217         * configure: Regenerate.
44219 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44223 2013-07-03  Andreas Jaeger  <aj@suse.de>
44225         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44226         define.
44227         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44228         (ptrace_peeksiginfo_args): Add.
44229         (__ptrace_peeksiginfo_flags): Add.
44230         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44232         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44234 2013-07-03  Allan McRae  <allan@archlinux.org>
44236         * sysdeps/i386/fpu/libm-test-ulps: Update.
44238 2013-07-02  David S. Miller  <davem@davemloft.net>
44240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44242 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44246 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44248         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44251 2013-07-02  Andi Kleen <ak@linux.intel.com>
44253         * config.h.in (ENABLE_LOCK_ELISION): Add.
44254         * configure.in (--enable-lock-elision): Add option.
44255         * manual/install.texi: Document --enable lock elision.
44256         * configure: Regenerate
44257         * INSTALL: Regenerate.
44259 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44261         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44262         SSE4.2 strcasecmp for libc.a.
44263         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44265 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44267         [BZ #13304]
44268         * soft-fp/op-common.h (_FP_FMA): New macro.
44269         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44270         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44271         (_FP_MUL_MEAT_1_imm): ... here.
44272         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44273         (_FP_MUL_MEAT_1_wide): ... here.
44274         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44275         (_FP_MUL_MEAT_1_hard): ... here.
44276         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44277         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44278         (_FP_MUL_MEAT_2_wide): ... here.
44279         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44280         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44281         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44282         (_FP_MUL_MEAT_2_gmp): ... here.
44283         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44284         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44285         (_FP_MUL_MEAT_4_wide): ... here.
44286         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44287         (_FP_MUL_MEAT_4_gmp): ... here.
44288         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44289         (_FP_WFRACBITS_DW_S): Likewise.
44290         (_FP_WFRACXBITS_DW_S): Likewise.
44291         (_FP_HIGHBIT_DW_S): Likewise.
44292         (FP_FMA_S): Likewise.
44293         (_FP_FRAC_HIGH_DW_S): Likewise.
44294         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44295         (_FP_WFRACBITS_DW_D): Likewise.
44296         (_FP_WFRACXBITS_DW_D): Likewise.
44297         (_FP_HIGHBIT_DW_D): Likewise.
44298         (FP_FMA_D): Likewise.
44299         (_FP_FRAC_HIGH_DW_D): Likewise.
44300         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44301         (_FP_WFRACBITS_DW_E): Likewise.
44302         (_FP_WFRACXBITS_DW_E): Likewise.
44303         (_FP_HIGHBIT_DW_E): Likewise.
44304         (FP_FMA_E): Likewise.
44305         (_FP_FRAC_HIGH_DW_E): Likewise.
44306         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44307         (_FP_WFRACBITS_DW_Q): Likewise.
44308         (_FP_WFRACXBITS_DW_Q): Likewise.
44309         (_FP_HIGHBIT_DW_Q): Likewise.
44310         (FP_FMA_Q): Likewise.
44311         (_FP_FRAC_HIGH_DW_Q): Likewise.
44312         * soft-fp/fmasf4.c: New file.
44313         * soft-fp/fmadf4.c: Likewise.
44314         * soft-fp/fmatf4.c: Likewise.
44316 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44319         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44320         Silvermont.
44321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44322         macro.
44323         (index_Slow_SSE4_2): Likewise.
44324         (index_Prefer_PMINUB_for_stringop): Likewise.
44325         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44326         bit_Slow_SSE4_2 is set.
44327         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44330 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44332         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44333         rtld_global._dl_hwcap2.
44334         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44335         POWER8.
44336         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44337         POWER8 feature descriptions defined in _dl_hwcap2.
44338         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44339         string handling for POWER8 feature bits.
44340         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44341         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44342         _dl_powerpc_cap_flags.
44343         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44344         * sysdeps/powerpc/rtld-global-offsets.sym
44345         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44346         _dl_hwcap2 in the rtld_global_ro structure.
44348 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44350         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44351         hardware capabilities in support of AT_HWCAP2.
44352         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44353         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44354         GLRO(dl_hwcap2).
44355         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44356         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44357         explicitly the unknown a_type display mechanism is used.
44358         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44359         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44360         struct member.
44361         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44362         to macro prototype for AT_HWCAP2 support.
44363         * sysdeps/i386/dl-procinfo.h: Likewise.
44364         * sysdeps/s390/dl-procinfo.h: Likewise.
44365         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44366         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44367         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44368         return -1 for unknown a_type display fallback.
44369         * sysdeps/sparc/dl-procinfo.h: Likewise.
44370         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44371         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44373 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44375         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44376         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44378 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44380         [BZ #12492]
44381         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44382         mprotect making __stack_prot writable.
44384 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44385             Joseph Myers  <joseph@codesourcery.com>
44387         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44388         as being properly aligned.
44390 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44392         * dlfcn/modstatic5.c: New file.
44393         * dlfcn/tststatic5.c: New file.
44394         * dlfcn/Makefile (tests): Add tststatic5.
44395         (tests-static): Likewise.
44396         (modules-names): Add modstatic5.
44397         (tststatic5-ENV): New variable.
44398         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44400         [BZ #15022]
44401         * elf/dl-support.c (_dl_main_map): New variable.
44402         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44403         (_dl_nns, _dl_load_adds): Set to 1.
44404         (_dl_initial_searchlist): Refer to _dl_main_map.
44405         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44406         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44407         call to _dl_get_origin.
44408         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44409         around call_map.
44410         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44411         * dlfcn/modstatic3.c: New file.
44412         * dlfcn/tststatic3.c: New file.
44413         * dlfcn/tststatic4.c: New file.
44414         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44415         (tests-static): Likewise.
44416         (modules-names): Add modstatic3.
44417         (tststatic3-ENV, tststatic4-ENV): New variables.
44418         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44419         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44421 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44423         * configure.in (CC): Require GCC version 4.4 or later.
44424         * configure: Regenerated.
44425         * manual/install.texi (Tools for Compilation): Update GCC version
44426         requirement.
44427         * INSTALL: Regenerated.
44429 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44431         [BZ #15674]
44432         * string/test-memcmp.c (check2): New.
44433         (main): Call check2.
44435         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44437 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44439         [BZ #15022]
44440         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44441         over to...
44442         (dl_open_worker) [!SHARED]: ... here.
44444 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44446         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44448 2013-06-25  Richard Henderson  <rth@redhat.com>
44450         * locale/programs/locarchive.c: Include <libc-internal.h>
44452 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44454         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44455         trailing whitespace removed.
44457 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44459         [BZ #10283]
44460         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44461         * locale/programs/locarchive.c: Include libc-mmap.h.
44462         (prepare_address_space): Take two new outputs (the mmap base and len).
44463         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44464         values.
44465         (create_archive): Declare new mmap base and len values for
44466         prepare_address_space, and store the result in ah.
44467         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44468         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44469         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44470         Declare new mmap base and len values for
44471         prepare_address_space, and store the result in new_ah.
44472         (open_archive): Declare new mmap base and len values for
44473         prepare_address_space, and store the result in ah.
44474         (close_archive): If ah->mmap_base is not NULL, use that and
44475         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44476         * sysdeps/generic/libc-mmap.h: New file.
44478 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44480         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44481         (ALIGN_UP): Likewise.
44482         (PTR_ALIGN_DOWN): Likewise.
44483         (PTR_ALIGN_UP): Likewise.
44485 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44487         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44488         entry mapped to PPC_PLATFORM_POWER8.
44489         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44490         POWER8.
44491         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44492         (_dl_string_platform): Add case for exporting platform position for
44493         POWER8.
44494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44495         search path to sysdeps/powerpc/powerpc32/power8 directory.
44496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44497         search path to sysdeps/powerpc/powerpc64/power8 directory.
44498         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44499         power7 directories.
44500         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44501         power7 directories.
44503 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44505         * INSTALL: Regenerate.
44507         * nscd/connections.c (nscd_init): Fix comment.
44509 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44511         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44513         [BZ #15667]
44514         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44515         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44517 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44519         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44520         DL_DST_REQ_STATIC.
44521         (DL_DST_REQ_STATIC): Remove macro.
44523 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44525         [BZ #7006]
44526         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44527         with a shift of 0 bits.
44529 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44531         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44532         $(tststatic-ENV).
44534 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44536         [BZ #15655]
44537         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44539 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44541         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44542         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44543         accepts -fno-tree-loop-distribute-patterns.
44544         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44545         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44546         recursive call.
44547         * string/memset.c (memset): Likewise.
44548         * string/test-memmove.c (simple_memmove): Disable loop transformation
44549         to library calls.
44550         * string/test-memset.c (simple_memset): Likewise.
44551         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44552         * benchtests/bench-memset.c (simple_memset): Likewise.
44553         * configure: Regenerated.
44555 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44557         * math/test-misc.c (main): Ignore fesetround failure when failures
44558         of subsequent rounding tests would be ignored.
44560         [BZ #15654]
44561         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44562         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44563         * math/fegetenv.c (__fegetenv): Return 0.
44564         * math/fegetexcept.c (fegetexcept): Return 0.
44565         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44566         FE_TONEAREST.
44567         * math/feholdexcpt.c (feholdexcept): Return 0.
44568         * math/fesetenv.c (__fesetenv): Return 0.
44569         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44570         argument FE_TONEAREST.
44571         * math/feupdateenv.c (__feupdateenv): Return 0.
44572         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44574 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44576         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44577         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44578         ($(objpfx)rtld-%.os rules): Use them.
44580 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44582         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44583         fields.
44585 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44587         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44588         length of target pattern, then descending length of dependency pattern.
44589         * configure.in (AWK): Require gawk 3.1.2 or newer.
44590         * manual/install.texi (Tools for Compilation): Say that we do.
44591         * configure: Regenerated.
44593         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44594         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44595         * scripts/sysd-rules.awk: ... this new script.
44596         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44597         than a glob-style pattern.
44599 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44601         * math/test-misc.c (main): Do not treat incorrectly rounded
44602         conversions as failure unless ROUNDING_TESTS passes.
44604 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44606         [BZ #15631]
44607         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44608         restore exception state around main square root computation, then
44609         check for inexactness explicitly.
44611         * math/libm-test.inc (fma_test_data): Add another test.
44613 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44615         * manual/threads.texi (Non-POSIX Extensions): New document
44616         node.  Document pthread_getattr_default_np and
44617         pthread_setattr_default_np.
44619         * Versions.def (libpthread): Add GLIBC_2.18.
44620         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44622         Likewise.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44624         Likewise.
44625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44626         Likewise.
44627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44628         Likewise.
44629         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44630         Likewise.
44631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44632         Likewise.
44633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44634         Likewise.
44635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44636         Likewise.
44637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44638         Likewise.
44640 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44643         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44645 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44646             H.J. Lu  <hjl.tools@gmail.com>
44648         [BZ #15627]
44649         * sysdeps/x86_64/rtld-memset.c: Remove file.
44650         * sysdeps/x86_64/rtld-memset.S: New file.
44652 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44654         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44655         (test_in_one_mode): Take arguments for whether the rounding mode
44656         is supported for each floating-point type.
44657         (do_test): Pass new arguments to test_in_one_mode using
44658         ROUNDING_TESTS.
44660 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44662         * posix/tst-waitid.c (do_test): Distinguish different instances of
44663         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44664         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44665         before entering the kernel for waitpid.
44667 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44669         * NEWS: Fix note on clock function precision.  Text by Roland
44670         McGrath.
44672 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44674         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44675         it into place only when and if the sanity check passes.
44677 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44679         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44680         output for whether conversion result is exact.  Take argument
44681         indicating whether type is IBM long double.
44682         (round_for_all): Change need_exact field to ibm_ld.
44683         * stdlib/tst-strtod-round.c (struct exactness): New type.
44684         (struct test): Change bool ld_ok field to struct exactness exact.
44685         (TEST): Update all definitions for change to field.
44686         (tests): Regenerate array contents.
44687         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44688         field value.  Check for IBM long double here.
44689         (do_test): Update calls to test_in_one_mode.
44691 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44693         [BZ #12515]
44694         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44695         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44697 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44699         [BZ #15605]
44700         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44701         generated by the compiler on loop optimizations.
44702         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44703         general definitions.
44705 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44707         * math/bug-nextafter.c: Include <math-tests.h>.
44708         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44709         the relevant type.
44710         * math/bug-nexttoward.c: Include <math-tests.h>.
44711         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44712         the relevant type.
44713         * math/test-misc.c: Include <math-tests.h>.
44714         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44715         the relevant type.
44717 2013-06-12  Andreas Jaeger  <aj@suse.de>
44719         * po/ia.po: Update Interlingua translation from translation
44720         project.
44722 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44724         * include/fenv.h: Include stdbool.h.
44725         (struct rm_ctx): New structure.
44726         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44727         Define macro.
44728         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44729         (SET_RESTORE_ROUNDF): Likewise.
44730         (SET_RESTORE_ROUNDL): Likewise.
44731         (SET_RESTORE_ROUND_NOEX): Likewise.
44732         (SET_RESTORE_ROUND_NOEXF): Likewise.
44733         (SET_RESTORE_ROUND_NOEXL): Likewise.
44734         (SET_RESTORE_ROUND_53BIT): Likewise.
44735         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44736         (libc_feresetround_noexf_ctx): Likewise.
44737         (libc_feresetround_noexl_ctx): Likewise.
44738         (libc_feholdsetround_53bit_ctx): Likewise.
44739         (libc_feresetround_53bit_ctx): Likewise.
44740         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44741         (libc_feholdexcept_setround_sse_ctx): New function.
44742         (libc_fesetenv_sse_ctx): Likewise.
44743         (libc_feupdateenv_sse_ctx): Likewise.
44744         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44745         (libc_feholdexcept_setround_387_ctx): Likewise.
44746         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44747         (libc_feholdsetround_387_prec_ctx): Likewise.
44748         (libc_feholdsetround_387_ctx): Likewise.
44749         (libc_feholdsetround_387_53bit_ctx): Likewise.
44750         (libc_feholdsetround_sse_ctx): Likewise.
44751         (libc_feresetround_sse_ctx): Likewise.
44752         (libc_feresetround_387_ctx): Likewise.
44753         (libc_feupdateenv_387_ctx): Likewise.
44754         (libc_feholdexcept_setroundf_ctx): Define macro.
44755         (libc_fesetenvf_ctx): Likewise.
44756         (libc_feupdateenvf_ctx): Likewise.
44757         (libc_feholdsetroundf_ctx): Likewise.
44758         (libc_feresetroundf_ctx): Likewise.
44759         (libc_feholdexcept_setround_ctx): Likewise.
44760         (libc_fesetenv_ctx): Likewise.
44761         (libc_feupdateenv_ctx): Likewise.
44762         (libc_feholdsetround_ctx): Likewise.
44763         (libc_feresetround_ctx): Likewise.
44764         (libc_feholdexcept_setroundl_ctx): Likewise.
44765         (libc_feupdateenvl_ctx): Likewise.
44766         (libc_feholdsetroundl_ctx): Likewise.
44767         (libc_feresetroundl_ctx): Likewise.
44768         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44769         (libc_feresetround_53bit_ctx): Likewise.
44771 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44773         * locale/iso-639.def: Convert to UTF-8.
44775 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44777         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44778         (EXCEPTION_TESTS_double): Likewise.
44779         (EXCEPTION_TESTS_long_double): Likewise.
44780         (EXCEPTION_TESTS): Likewise.
44781         * math/libm-test.inc (test_exceptions): Only test exceptions if
44782         EXCEPTION_TESTS (FLOAT).
44784 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44786         * benchtests/Makefile (string-bench): Add strcpy_chk and
44787         stpcpy_chk.
44788         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44789         * benchtests/bench-stpcpy_chk.c: New file.
44790         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44791         * benchtests/bench-strcpy_chk.c: New file.
44792         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44793         code.
44794         (do_test): Likewise.
44796 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44799         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44800         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44801         with tabs where appropriate.
44802         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44803         dl-procinfo.h.
44804         [PPC_PLATFORM_PPC440]: Likewise.
44805         [PPC_PLATFORM_PPC464]: Likewise.
44806         [PPC_PLATFORM_PPC476]: Likewise.
44807         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44808         ppc464, and ppc476 platform strings merging from ports/
44809         dl-procinfo.h.
44811 2013-06-11  Andreas Schwab  <schwab@suse.de>
44813         [BZ #14991]
44814         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44815         (from_ucs4_idx): Regenerate.
44816         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44817         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44818         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44819         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44820         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44821         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44822         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44823         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44824         from FROM_LOOP and TO_LOOP specific macros.
44825         (BODY): Handle combining characters.
44826         * iconvdata/BIG5HKSCS.irreversible: Update.
44827         * iconvdata/BIG5HKSCS.precomposed: New file.
44828         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44829         characters.
44830         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44832 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44834         * include/sys/time.h: Fix indentation and add copyright header.
44836         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44837         (do_test): Likewise.
44838         * string/test-memchr.c (do_one_test): Likewise.
44839         (do_test): Likewise.
44840         * string/test-memcmp.c (do_one_test): Likewise.
44841         (do_test): Likewise.
44842         * string/test-memcpy.c (do_one_test): Likewise.
44843         (do_test): Likewise.
44844         * string/test-memmem.c (do_one_test): Likewise.
44845         (do_test): Likewise.
44846         (do_random_tests): Likewise.
44847         * string/test-memmove.c (do_one_test): Likewise.
44848         (do_test): Likewise.
44849         * string/test-memset.c (do_one_test): Likewise.
44850         (do_test): Likewise.
44851         * string/test-rawmemchr.c (do_one_test): Likewise.
44852         (do_test): Likewise.
44853         * string/test-strcasecmp.c (do_one_test): Likewise.
44854         (do_test): Likewise.
44855         * string/test-strcasestr.c (do_one_test): Likewise.
44856         (do_test): Likewise.
44857         * string/test-strcat.c (do_one_test): Likewise.
44858         (do_test): Likewise.
44859         * string/test-strchr.c (do_one_test): Likewise.
44860         (do_test): Likewise.
44861         * string/test-strcmp.c (do_one_test): Likewise.
44862         (do_test): Likewise.
44863         * string/test-strcpy.c (do_one_test): Likewise.
44864         (do_test): Likewise.
44865         * string/test-string.h: Likewise.
44866         (test_init): Likewise.
44867         * string/test-strlen.c (do_one_test): Likewise.
44868         (do_test): Likewise.
44869         * string/test-strncasecmp.c (do_one_test): Likewise.
44870         (do_test): Likewise.
44871         * string/test-strncat.c (do_one_test): Likewise.
44872         (do_test): Likewise.
44873         * string/test-strncmp.c (do_one_test): Likewise.
44874         (do_test_limit): Likewise.
44875         (do_test): Likewise.
44876         * string/test-strncpy.c (do_one_test): Likewise.
44877         (do_test): Likewise.
44878         * string/test-strnlen.c (do_one_test): Likewise.
44879         (do_test): Likewise.
44880         * string/test-strpbrk.c (do_one_test): Likewise.
44881         (do_test): Likewise.
44882         * string/test-strrchr.c (do_one_test): Likewise.
44883         (do_test): Likewise.
44884         * string/test-strspn.c (do_one_test): Likewise.
44885         (do_test): Likewise.
44886         * string/test-strstr.c (do_one_test): Likewise.
44887         (do_test): Likewise.
44889         * benchtests/Makefile (string-bench): Add string benchmarks.
44890         * benchtests/bench-bcopy-ifunc.c: New file.
44891         * benchtests/bench-bcopy.c: New file.
44892         * benchtests/bench-bzero-ifunc.c: New file.
44893         * benchtests/bench-bzero.c: New file.
44894         * benchtests/bench-memccpy-ifunc.c: New file.
44895         * benchtests/bench-memccpy.c: New file.
44896         * benchtests/bench-memchr-ifunc.c: New file.
44897         * benchtests/bench-memchr.c: New file.
44898         * benchtests/bench-memcmp-ifunc.c: New file.
44899         * benchtests/bench-memcmp.c: New file.
44900         * benchtests/bench-memmem-ifunc.c: New file.
44901         * benchtests/bench-memmem.c: New file.
44902         * benchtests/bench-memmove-ifunc.c: New file.
44903         * benchtests/bench-memmove.c: New file.
44904         * benchtests/bench-mempcpy-ifunc.c: New file.
44905         * benchtests/bench-mempcpy.c: New file.
44906         * benchtests/bench-memset-ifunc.c: New file.
44907         * benchtests/bench-memset.c: New file.
44908         * benchtests/bench-rawmemchr-ifunc.c: New file.
44909         * benchtests/bench-rawmemchr.c: New file.
44910         * benchtests/bench-stpcpy-ifunc.c: New file.
44911         * benchtests/bench-stpcpy.c: New file.
44912         * benchtests/bench-stpncpy-ifunc.c: New file.
44913         * benchtests/bench-stpncpy.c: New file.
44914         * benchtests/bench-strcasecmp-ifunc.c: New file.
44915         * benchtests/bench-strcasecmp.c: New file.
44916         * benchtests/bench-strcasestr-ifunc.c: New file.
44917         * benchtests/bench-strcasestr.c: New file.
44918         * benchtests/bench-strcat-ifunc.c: New file.
44919         * benchtests/bench-strcat.c: New file.
44920         * benchtests/bench-strchr-ifunc.c: New file.
44921         * benchtests/bench-strchr.c: New file.
44922         * benchtests/bench-strchrnul-ifunc.c: New file.
44923         * benchtests/bench-strchrnul.c: New file.
44924         * benchtests/bench-strcmp-ifunc.c: New file.
44925         * benchtests/bench-strcmp.c: New file.
44926         * benchtests/bench-strcpy-ifunc.c: New file.
44927         * benchtests/bench-strcpy.c: New file.
44928         * benchtests/bench-strcspn-ifunc.c: New file.
44929         * benchtests/bench-strcspn.c: New file.
44930         * benchtests/bench-strlen-ifunc.c: New file.
44931         * benchtests/bench-strlen.c: New file.
44932         * benchtests/bench-strncasecmp-ifunc.c: New file.
44933         * benchtests/bench-strncasecmp.c: New file.
44934         * benchtests/bench-strncat-ifunc.c: New file.
44935         * benchtests/bench-strncat.c: New file.
44936         * benchtests/bench-strncmp-ifunc.c: New file.
44937         * benchtests/bench-strncmp.c: New file.
44938         * benchtests/bench-strncpy-ifunc.c: New file.
44939         * benchtests/bench-strncpy.c: New file.
44940         * benchtests/bench-strnlen-ifunc.c: New file.
44941         * benchtests/bench-strnlen.c: New file.
44942         * benchtests/bench-strpbrk-ifunc.c: New file.
44943         * benchtests/bench-strpbrk.c: New file.
44944         * benchtests/bench-strrchr-ifunc.c: New file.
44945         * benchtests/bench-strrchr.c: New file.
44946         * benchtests/bench-strspn-ifunc.c: New file.
44947         * benchtests/bench-strspn.c: New file.
44948         * benchtests/bench-strstr-ifunc.c: New file.
44949         * benchtests/bench-strstr.c: New file.
44951         * benchtests/Makefile: Disable parallel execution of targets.
44952         (string-bench): Add memcpy.
44953         (benchset): New variable to store a list of benchmark sets.
44954         (bench-func): Renamed from bench.
44955         (bench-set): New target.
44956         (bench): Depend on bench-func and bench-set.
44957         * benchtests/README: Add section on benchmark sets.
44958         * benchtests/bench-memcpy-ifunc.c: New file.
44959         * benchtests/bench-memcpy.c: New file.
44960         * benchtests/bench-string.h: New file.
44962 2013-06-11  Andreas Schwab  <schwab@suse.de>
44964         [BZ #15577]
44965         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44966         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44967         values in the triple.
44968         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44969         terminator in the group key.
44971 2013-06-11  Andreas Jaeger  <aj@suse.de>
44973         * po/zh_TW.po: Update Chinese (traditional) translation from
44974         translation project.
44976 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44978         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44979         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44980         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44981         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44982         (clock_getcpuclockid): Likewise.
44983         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44984         Add weak_alias and libc_hidden_def.
44985         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44986         * rt/clock_gettime.c (clock_gettime): Rename to
44987         __clock_gettime.  Add weak_alias and libc_hidden_def.
44988         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44989         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44990         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44991         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44992         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44993         Likewise.
44994         * rt/clock_settime.c (clock_settime): Rename to
44995         __clock_settime.  Add weak_alias and libc_hidden_def.
44996         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44998 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45000         * mach/err_boot.sub: Remove trailing whitespace.
45001         * mach/err_ipc.sub: Likewise.
45002         * mach/err_mach.sub: Likewise.
45004         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45005         (ROUNDING_TESTS_double): Likewise.
45006         (ROUNDING_TESTS_long_double): Likewise.
45007         (ROUNDING_TESTS): Likewise.
45008         * math/libm-test.inc: Include <math-tests.h>.
45009         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45010         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45011         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45012         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45014 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45016         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45017         of assigning.
45019 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45021         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45022         otherwise empty TRANS lines.
45023         * sysdeps/gnu/errlist.c: Regenerated.
45025         * catgets/gencat.c (error_print): Use (void) in function
45026         definition.
45027         * crypt/crypt_util.c (__init_des): Likewise.
45028         * crypt/speeds.c (Stop): Likewise.
45029         (main): Likewise.
45030         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45031         * inet/ruserpass.c (token): Likewise.
45032         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45033         * intl/localealias.c (extend_alias_table): Likewise.
45034         * intl/plural-exp.c (init_germanic_plural): Likewise.
45035         * libio/fcloseall.c (__fcloseall): Likewise.
45036         * libio/genops.c (_IO_flush_all): Likewise.
45037         (_IO_flush_all_linebuffered): Likewise.
45038         (_IO_cleanup): Likewise.
45039         (_IO_iter_begin): Likewise.
45040         (_IO_iter_end): Likewise.
45041         (_IO_list_lock): Likewise.
45042         (_IO_list_unlock): Likewise.
45043         (_IO_list_resetlock): Likewise.
45044         * libio/getchar.c (getchar): Likewise.
45045         * libio/getchar_u.c (getchar_unlocked): Likewise.
45046         * libio/getwchar.c (getwchar): Likewise.
45047         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45048         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45049         * login/getpt.c (__getpt): Likewise.
45050         * login/tst-utmp.c (main): Likewise.
45051         * malloc/hooks.c (__malloc_check_init): Likewise.
45052         * malloc/malloc.c (__malloc_stats): Likewise.
45053         * malloc/mtrace.c (tr_break): Likewise.
45054         (mtrace): Likewise.
45055         (muntrace): Likewise.
45056         * misc/fstab.c (endfsent): Likewise.
45057         * misc/getclktck.c (__getclktck): Likewise.
45058         * misc/getdtsz.c (__getdtablesize): Likewise.
45059         * misc/gethostid.c (gethostid): Likewise.
45060         * misc/getpagesize.c (__getpagesize): Likewise.
45061         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45062         (__get_nprocs): Likewise.
45063         (__get_phys_pages): Likewise.
45064         (__get_avphys_pages): Likewise.
45065         * misc/getttyent.c (getttyent): Likewise.
45066         (setttyent): Likewise.
45067         (endttyent): Likewise.
45068         * misc/getusershell.c (getusershell): Likewise.
45069         (endusershell): Likewise.
45070         (setusershell): Likewise.
45071         (initshells): Likewise.
45072         * misc/hsearch.c (__hdestroy): Likewise.
45073         * misc/sync.c (sync): Likewise.
45074         * misc/syslog.c (closelog_internal): Likewise.
45075         (closelog): Likewise.
45076         * misc/ttyslot.c (ttyslot): Likewise.
45077         * misc/vhangup.c (vhangup): Likewise.
45078         * posix/fork.c (__fork): Likewise.
45079         * posix/getegid.c (__getegid): Likewise.
45080         * posix/geteuid.c (__geteuid): Likewise.
45081         * posix/getgid.c (__getgid): Likewise.
45082         * posix/getpid.c (__getpid): Likewise.
45083         * posix/getppid.c (__getppid): Likewise.
45084         * posix/getuid.c (__getuid): Likewise.
45085         * posix/pause.c (pause): Likewise.
45086         * posix/setpgrp.c (setpgrp): Likewise.
45087         * posix/setsid.c (__setsid): Likewise.
45088         * posix/test-vfork.c (noop): Likewise.
45089         * resolv/gethnamaddr.c (_endhtent): Likewise.
45090         (_gethtent): Likewise.
45091         (ht_endhostent): Likewise.
45092         (gethostent): Likewise.
45093         (dns_service): Likewise.
45094         * stdlib/drand48.c (drand48): Likewise.
45095         * stdlib/lrand48.c (lrand48): Likewise.
45096         * stdlib/mrand48.c (mrand48): Likewise.
45097         * stdlib/rand.c (rand): Likewise.
45098         * stdlib/random.c (__random): Likewise.
45099         * stdlib/setenv.c (clearenv): Likewise.
45100         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45101         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45102         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45103         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45104         (__get_nprocs): Likewise.
45105         (__get_phys_pages): Likewise.
45106         (__get_avphys_pages): Likewise.
45107         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45108         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45109         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45110         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45111         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45112         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45113         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45114         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45115         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45116         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45117         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45118         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45119         * sysdeps/posix/clock.c (clock): Likewise.
45120         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45121         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45122         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45123         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45124         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45126         (__get_nprocs_conf): Likewise.
45127         (__get_phys_pages): Likewise.
45128         (__get_avphys_pages): Likewise.
45129         * time/clock.c (clock): Likewise.
45130         * time/tzset.c (__tzname_max): Likewise.
45132 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45134         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45135         (__bswap_32): Do not use "register".
45136         * crypt/crypt.c (_ufc_doit_r): Likewise.
45137         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45138         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45139         * gmon/gmon.c (__monstartup): Likewise.
45140         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45141         * hurd/hurdmalloc.c (more_memory): Likewise.
45142         (malloc): Likewise.
45143         (free): Likewise.
45144         (realloc): Likewise.
45145         (malloc_fork_prepare): Likewise.
45146         (malloc_fork_parent): Likewise.
45147         (malloc_fork_child): Likewise.
45148         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45149         (_svcauth_des): Likewise.
45150         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45151         * inet/inet_net.c (inet_network): Likewise.
45152         * inet/inet_netof.c (inet_netof): Likewise.
45153         * inet/rcmd.c (__validuser2_sa): Likewise.
45154         * io/fts.c (fts_open): Likewise.
45155         (fts_load): Likewise.
45156         (fts_close): Likewise.
45157         (fts_read): Likewise.
45158         (fts_children): Likewise.
45159         (fts_build): Likewise.
45160         (fts_stat): Likewise.
45161         (fts_sort): Likewise.
45162         (fts_alloc): Likewise.
45163         (fts_lfree): Likewise.
45164         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45165         (_IO_file_xsgetn): Likewise.
45166         (_IO_file_xsgetn_mmap): Likewise.
45167         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45168         (_IO_cookie_write): Likewise.
45169         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45170         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45171         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45172         * malloc/obstack.c (_obstack_begin): Likewise.
45173         (_obstack_begin_1): Likewise.
45174         (_obstack_newchunk): Likewise.
45175         (_obstack_allocated_p): Likewise.
45176         (obstack_free): Likewise.
45177         (_obstack_memory_used): Likewise.
45178         * misc/getttyent.c (getttynam): Likewise.
45179         (getttyent): Likewise.
45180         (skip): Likewise.
45181         (value): Likewise.
45182         * misc/getusershell.c (initshells): Likewise.
45183         * misc/syslog.c (__vsyslog_chk): Likewise.
45184         * misc/ttyslot.c (ttyslot): Likewise.
45185         * nis/nis_hash.c (__nis_hash): Likewise.
45186         * posix/fnmatch_loop.c (FCT): Likewise.
45187         * posix/getconf.c (print_all): Likewise.
45188         (main): Likewise.
45189         * posix/getopt.c (exchange): Likewise.
45190         * posix/glob.c (globfree): Likewise.
45191         (prefix_array): Likewise.
45192         (__glob_pattern_type): Likewise.
45193         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45194         (NS_GET32): Likewise.
45195         (NS_PUT16): Likewise.
45196         (NS_PUT32): Likewise.
45197         * resolv/gethnamaddr.c (getanswer): Likewise.
45198         (gethostbyname2): Likewise.
45199         (gethostbyaddr): Likewise.
45200         (_gethtent): Likewise.
45201         (_gethtbyname2): Likewise.
45202         (_gethtbyaddr): Likewise.
45203         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45204         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45205         * resolv/res_init.c (__res_vinit): Likewise.
45206         (net_mask): Likewise.
45207         * resolv/res_mkquery.c (outchar): Likewise.
45208         (PRINT): Likewise.
45209         * stdio-common/printf_fp.c (outchar): Likewise.
45210         (PRINT): Likewise.
45211         * stdio-common/printf_fphex.c (outchar): Likewise.
45212         (PRINT): Likewise.
45213         * stdio-common/printf_size.c (outchar): Likewise.
45214         (PRINT): Likewise.
45215         * stdio-common/test_rdwr.c (main): Likewise.
45216         * stdio-common/tfformat.c (matches): Likewise.
45217         * stdio-common/vfprintf.c (outchar): Likewise.
45218         (printf_unknown): Likewise.
45219         (buffered_vfprintf): Likewise.
45220         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45221         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45222         (ReadFile): Likewise.
45223         * stdlib/qsort.c (SWAP): Likewise.
45224         (_quicksort): Likewise.
45225         * stdlib/setenv.c (__add_to_environ): Likewise.
45226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45227         * stdlib/strtol_l.c (__strtol_l): Likewise.
45228         * stdlib/tst-strtod.c (main): Likewise.
45229         * stdlib/tst-strtol.c (main): Likewise.
45230         * stdlib/tst-strtoll.c (main): Likewise.
45231         * string/bits/string2.h (__strcmp_cc): Likewise.
45232         (__strcmp_cg): Likewise.
45233         (__strcspn_c1): Likewise.
45234         (__strcspn_c2): Likewise.
45235         (__strcspn_c3): Likewise.
45236         (__strspn_c1): Likewise.
45237         (__strspn_c2): Likewise.
45238         (__strspn_c3): Likewise.
45239         (__strsep_1c): Likewise.
45240         (__strsep_2c): Likewise.
45241         (__strsep_3c): Likewise.
45242         * string/memccpy.c (__memccpy): Likewise.
45243         * string/stpcpy.c (__stpcpy): Likewise.
45244         * string/strcmp.c (strcmp): Likewise.
45245         * string/strrchr.c (strrchr): Likewise.
45246         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45247         Likewise.
45248         * sysdeps/mach/hurd/getcwd.c
45249         (_hurd_canonicalize_directory_name_internal): Likewise.
45250         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45251         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45253         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45254         Likewise, in both definitions.
45255         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45256         definitions.
45257         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45258         64] (__bswap_64): Likewise.
45259         * time/test_time.c (main): Likewise.
45260         * time/tzfile.c (__tzfile_read): Likewise.
45261         (__tzfile_compute): Likewise.
45262         * time/tzset.c (__tzset_parse_tz): Likewise.
45263         (tzset_internal): Likewise.
45264         (compute_change): Likewise.
45265         * wcsmbs/wcscat.c (__wcscat): Likewise.
45266         * wcsmbs/wcschr.c (wcschr): Likewise.
45267         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45268         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45269         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45270         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45271         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45272         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45273         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45274         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45275         * wcsmbs/wmemset.c (wmemset): Likewise.
45277 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45279         * scripts/config.guess: Update to version 2013-05-16.
45280         * scripts/config.sub: Update to version 2013-04-24.
45281         * scripts/install-sh: Update to version 2011-11-20.07.
45282         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45283         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45285 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45287         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45288         * elf/sln.c: Likewise.
45289         * hurd/hurd/ioctl.h: Likewise.
45290         * hurd/hurdmalloc.c: Likewise.
45291         * hurd/xattr.c: Likewise.
45292         * include/shlib-compat.h: Likewise.
45293         * inet/ruserpass.c: Likewise.
45294         * libio/iofgets_u.c: Likewise.
45295         * libio/iofgetws_u.c: Likewise.
45296         * locale/programs/ld-identification.c: Likewise.
45297         * locale/programs/ld-time.c: Likewise.
45298         * mach/msg-destroy.c: Likewise.
45299         * nss/nss_files/files-netgrp.c: Likewise.
45300         * resolv/res_data.c: Likewise.
45301         * soft-fp/op-1.h: Likewise.
45302         * soft-fp/op-2.h: Likewise.
45303         * soft-fp/op-4.h: Likewise.
45304         * soft-fp/op-common.h: Likewise.
45305         * stdio-common/printf_fphex.c: Likewise.
45306         * stdlib/strtod_l.c: Likewise.
45307         * sunrpc/rpc/clnt.h: Likewise.
45308         * sysdeps/generic/framestate.c: Likewise.
45309         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45310         * sysdeps/i386/bsd-setjmp.S: Likewise.
45311         * sysdeps/i386/__longjmp.S: Likewise.
45312         * sysdeps/i386/setjmp.S: Likewise.
45313         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45314         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45316         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45317         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45318         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45320         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45321         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45322         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45323         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45324         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45325         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45326         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45327         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45328         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45329         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45330         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45331         * sysdeps/ieee754/support.c: Likewise.
45332         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45333         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45334         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45335         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45336         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45337         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45338         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45339         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45340         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45341         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45342         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45343         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45344         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45345         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45346         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45347         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45348         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45351 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45353         * posix/transbug.c: Remove executable mode.
45355 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45357         * crypt/speeds.c: Remove trailing whitespace.
45358         * dlfcn/default.c: Likewise.
45359         * elf/ifuncdep2.c: Likewise.
45360         * elf/ifuncmain1.c: Likewise.
45361         * elf/ifuncmain1vis.c: Likewise.
45362         * elf/testobj.h: Likewise.
45363         * elf/tst-stackguard1.c: Likewise.
45364         * gmon/sys/gmon.h: Likewise.
45365         * hurd/hurdmsg.c: Likewise.
45366         * hurd/new-fd.c: Likewise.
45367         * hurd/ports-get.c: Likewise.
45368         * iconvdata/ibm1008_420.c: Likewise.
45369         * inet/tst-getni1.c: Likewise.
45370         * inet/tst-getni2.c: Likewise.
45371         * libio/ioungetc.c: Likewise.
45372         * libio/wfiledoalloc.c: Likewise.
45373         * manual/libm-err-tab.pl: Likewise.
45374         * math/w_dremf.c: Likewise.
45375         * misc/ftruncate.c: Likewise.
45376         * posix/bug-glob2.c: Likewise.
45377         * posix/tst-pcre.c: Likewise.
45378         * posix/wait4.c: Likewise.
45379         * resolv/README: Likewise.
45380         * resolv/res_debug.h: Likewise.
45381         * resolv/tst-inet_ntop.c: Likewise.
45382         * setjmp/bug269-setjmp.c: Likewise.
45383         * soft-fp/extended.h: Likewise.
45384         * soft-fp/op-1.h: Likewise.
45385         * soft-fp/op-2.h: Likewise.
45386         * soft-fp/op-4.h: Likewise.
45387         * soft-fp/op-8.h: Likewise.
45388         * soft-fp/testit.c: Likewise.
45389         * stdio-common/bug16.c: Likewise.
45390         * stdlib/random.c: Likewise.
45391         * sunrpc/rpcsvc/rquota.x: Likewise.
45392         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45393         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45394         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45395         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45396         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45397         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45398         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45399         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45400         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45401         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45402         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45403         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45404         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45405         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45406         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45408         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45410         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45411         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45413         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45414         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45417         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45418         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45420         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45421         * sysdeps/ieee754/s_lib_version.c: Likewise.
45422         * sysdeps/mach/hurd/check_fds.c: Likewise.
45423         * sysdeps/mach/hurd/getsockname.c: Likewise.
45424         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45425         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45426         * sysdeps/powerpc/bits/link.h: Likewise.
45427         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45428         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45429         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45430         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45431         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45432         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45433         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45434         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45435         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45436         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45437         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45438         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45439         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45440         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45441         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45442         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45443         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45446         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45447         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45448         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45450         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45451         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45452         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45453         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45454         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45455         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45457         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45458         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45460         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45461         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45462         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45463         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45464         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45465         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45466         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45467         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45468         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45469         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45470         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45471         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45472         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45473         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45474         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45475         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45476         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45477         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45478         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45479         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45481         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45482         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45483         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45484         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45485         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45486         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45487         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45488         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45489         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45490         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45491         * sysdeps/powerpc/sysdep.h: Likewise.
45492         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45493         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45494         * sysdeps/sh/dl-trampoline.S: Likewise.
45495         * sysdeps/sh/memset.S: Likewise.
45496         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45497         * sysdeps/sh/strlen.S: Likewise.
45498         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45499         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45500         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45501         * sysdeps/sparc/sparc32/rem.S: Likewise.
45502         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45503         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45504         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45505         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45506         * sysdeps/sparc/sparc32/urem.S: Likewise.
45507         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45508         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45509         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45510         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45511         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45512         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45513         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45514         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45515         * sysdeps/unix/bsd/times.c: Likewise.
45516         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45517         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45521         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45523         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45524         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45525         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45526         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45527         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45528         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45529         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45530         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45531         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45532         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45533         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45534         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45535         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45536         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45537         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45538         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45539         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45540         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45541         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45542         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45543         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45544         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45545         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45546         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45547         * sysdeps/x86_64/strcspn.S: Likewise.
45549 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45551         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45552         generated file.  Regenerate properly from gen-translit.pl.
45553         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45554         locale/C-translit.h.
45556 2013-06-05  Andreas Schwab  <schwab@suse.de>
45558         [BZ #15100]
45559         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45560         week as 6 instead of -1.
45561         * time/tst-strptime.c (day_tests): Add test case.
45563 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45565         * sysdeps/generic/math_private.h
45566         (libc_feholdexcept_setround_53bit): Replace with
45567         libc_feholdsetround_53bit.
45568         (libc_feupdateenv_53bit): Replace with
45569         libc_feresetround_53bit.
45570         (SET_RESTORE_ROUND_53BIT): Adjust.
45572 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45574         * string/test-strchrnul.c: Add copyright header.
45576         * posix/tst-getaddrinfo4.c: Increase test timeout.
45578 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45580         [BZ #15536]
45581         * math/libm-test.inc (MAX_EXP): Remove
45582         (MIN_EXP): Define.
45583         (ulp): Use MIN_EXP - MANT_DIG.
45584         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45586 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45588         * po/be.po: Revert last change.
45589         * po/zh_CN.po: Likewise.
45590         * po/header.pot: Likewise.
45592 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45594         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45595         link-libc-deps to empty as target-specific variable.
45596         * Makerules (link-libc-args): New variable.
45597         (libc-for-link): Likewise.
45598         (link-libc-deps): Likewise.
45599         (lib%.so): Depend on $(link-libc-deps).  Link with
45600         $(link-libc-args).
45601         (build-module): Link with $(link-libc-args).
45602         (build-module-asneeded): Likewise.
45603         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45604         list of objects.
45605         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45606         target-specific variable.
45607         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45608         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45609         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45610         libc.
45611         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45612         libc and ld.so.
45613         ($(objpfx)libpcprofile.so): Likewise.
45614         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45615         libc_nonshared.a.
45616         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45617         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45618         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45619         $(link-libc-deps).
45620         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45621         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45622         * login/Makefile ($(objpfx)libutil.so): Likewise.
45623         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45624         * math/Makefile ($(objpfx)libm.so): Likewise.
45625         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45626         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45627         variable instead of depending directly on libc.
45628         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45629         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45630         $(link-libc-deps).
45631         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45632         libc.
45633         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45634         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45635         ($(objpfx)libanl.so): Likewise.
45636         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45637         ld.so.
45638         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45639         $(link-libc-deps).
45640         * sysdeps/i386/fpu/Makefile: Remove file.
45641         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45642         ($(objpfx)libm.so): Remove dependency on ld.so.
45644 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45646         [BZ # 15553]
45647         * nis/yp_xdr.c (XDRMAXNAME): Define.
45648         (XDRMAXRECORD): Define.
45649         (xdr_domainname): Use XDRMAXNAME.
45650         (xdr_mapname): Likewise.
45651         (xdr_peername): Likewise.
45652         (xdr_keydat): Use XDRMAXRECORD.
45653         (xdr_valdat): Likewise.
45655 2013-05-30  Jeff Law  <law@redhat.com>
45657         [BZ #14256]
45658         * manual/errno.texi (ESTALE): Update to account for more than
45659         just NFS file systems.
45660         * sysdeps/gnu/errlist.c: Regenerated.
45662 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45664         [BZ #15465]
45665         * elf/Makefile (tests): Add tst-null-argv.
45666         (modules-names):  Add tst-null-argv-lib.
45667         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45668         (tst-null-argv-ENV): Set environment for tst-null-argv.
45669         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45670         (RTLD_PROGNAME): New macro.
45671         * elf/tst-null-argv.c: New test case.
45672         * elf/tst-null-argv-lib.c: Library for test case.
45673         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45674         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45675         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45676         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45677         * elf/dl-init.c (call_init): Likewise.
45678         (_dl_init): Likewise.
45679         * elf/dl-load.c (print_search_path): Likewise.
45680         (_dl_map_object): Likewise.
45681         * elf/dl-lookup.c (do_lookup_x): Likewise.
45682         (add_dependency): Likewise.
45683         (_dl_lookup_symbol_x): Likewise.
45684         (_dl_debug_bindings): Likewise.
45685         * elf/dl-open.c (_dl_show_scope): Likewise.
45686         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45687         * elf/dl-version.c (match_symbol): Likewise.
45688         (_dl_check_map_versions): Likewise.
45689         * elf/rtld.c (dl_main): Likewise.
45690         (print_unresolved): Use RTLD_PROGNAME.
45691         (print_missing_version): Likewise.
45692         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45693         (elf_machine_rela): Likewise.
45694         * sysdeps/powerpc/powerpc32/dl-machine.c
45695         (__process_machine_rela): Likewise.
45696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45697         Likewise.
45698         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45699         Likewise.
45700         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45701         Likewise.
45702         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45703         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45704         Likewise.
45705         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45706         Likewise.
45707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45709 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45711         * po/be.po: Add descriptive title.
45712         * po/zh_CN.po: Likewise.
45713         * po/header.pot: Likewise.
45715 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45717         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45718         error message.
45719         (enlarge_archive): Likewise.
45721 2013-05-28  Ben North  <ben@redfrontdoor.org>
45723         * manual/arith.texi (frexp): It is the magnitude of the return
45724         value which lies in [0.5, 1), not the return value itself.
45726 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45730 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45732         * stdio-common/bug26.c (main): Correct fscanf template.
45734         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45735         declare _dl_skip_args.
45737         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45738         Don't declare.
45740         * manual/platform.texi: Add missing @end deftypefun.
45742 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #15529]
45745         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45746         bit of mantissa of 2^16382.
45747         * math/libm-test.inc (hypot_test_data): Add more tests.
45749         * math/libm-test.inc: Add drem and pow10 to list of tested
45750         functions.
45751         (pow10_test): New function.
45752         (drem_test): Likewise.
45753         (drem_test_tonearest): Likewise.
45754         (drem_test_towardzero): Likewise.
45755         (drem_test_downward): Likewise.
45756         (drem_test_upward): Likewise.
45757         (main): Call the new functions.
45759         * math/libm-test.inc (finite_test_data): Remove.
45760         (finite_test): Run tests from isfinite_test_data.
45761         (gamma_test_data): Remove.
45762         (gamma_test): Run tests from lgamma_test_data.
45763         * sysdeps/i386/fpu/libm-test-ulps: Update.
45764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45766 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45768         * manual/platform.texi: Add PowerPC PPR function set documentation.
45769         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45770         implementation.
45772 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45774         * math/libm-test.inc (MAX_EXP): Define.
45775         (ULPDIFF): Define.
45776         (ulp): New function.
45777         (check_float_internal): Use ULPDIFF.
45778         (cpow_test): Disable failing test.
45779         (check_ulp): Test ulp() implemetnation.
45780         (main): Call check_ulp before starting tests.
45782 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45784         * math/gen-libm-test.pl (generate_testfile): Do not handle
45785         START_DATA and END_DATA.
45786         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45787         END_DATA.
45788         (acos_tonearest_test_data): Likewise.
45789         (acos_towardzero_test_data): Likewise.
45790         (acos_downward_test_data): Likewise.
45791         (acos_upward_test_data): Likewise.
45792         (acosh_test_data): Likewise.
45793         (asin_test_data): Likewise.
45794         (asin_tonearest_test_data): Likewise.
45795         (asin_towardzero_test_data): Likewise.
45796         (asin_downward_test_data): Likewise.
45797         (asin_upward_test_data): Likewise.
45798         (asinh_test_data): Likewise.
45799         (atan_test_data): Likewise.
45800         (atanh_test_data): Likewise.
45801         (atan2_test_data): Likewise.
45802         (cabs_test_data): Likewise.
45803         (cacos_test_data): Likewise.
45804         (cacosh_test_data): Likewise.
45805         (carg_test_data): Likewise.
45806         (casin_test_data): Likewise.
45807         (casinh_test_data): Likewise.
45808         (catan_test_data): Likewise.
45809         (catanh_test_data): Likewise.
45810         (cbrt_test_data): Likewise.
45811         (ccos_test_data): Likewise.
45812         (ccosh_test_data): Likewise.
45813         (ceil_test_data): Likewise.
45814         (cexp_test_data): Likewise.
45815         (cimag_test_data): Likewise.
45816         (clog_test_data): Likewise.
45817         (clog10_test_data): Likewise.
45818         (conj_test_data): Likewise.
45819         (copysign_test_data): Likewise.
45820         (cos_test_data): Likewise.
45821         (cos_tonearest_test_data): Likewise.
45822         (cos_towardzero_test_data): Likewise.
45823         (cos_downward_test_data): Likewise.
45824         (cos_upward_test_data): Likewise.
45825         (cosh_test_data): Likewise.
45826         (cosh_tonearest_test_data): Likewise.
45827         (cosh_towardzero_test_data): Likewise.
45828         (cosh_downward_test_data): Likewise.
45829         (cosh_upward_test_data): Likewise.
45830         (cpow_test_data): Likewise.
45831         (cproj_test_data): Likewise.
45832         (creal_test_data): Likewise.
45833         (csin_test_data): Likewise.
45834         (csinh_test_data): Likewise.
45835         (csqrt_test_data): Likewise.
45836         (ctan_test_data): Likewise.
45837         (ctan_tonearest_test_data): Likewise.
45838         (ctan_towardzero_test_data): Likewise.
45839         (ctan_downward_test_data): Likewise.
45840         (ctan_upward_test_data): Likewise.
45841         (ctanh_test_data): Likewise.
45842         (ctanh_tonearest_test_data): Likewise.
45843         (ctanh_towardzero_test_data): Likewise.
45844         (ctanh_downward_test_data): Likewise.
45845         (ctanh_upward_test_data): Likewise.
45846         (erf_test_data): Likewise.
45847         (erfc_test_data): Likewise.
45848         (exp_test_data): Likewise.
45849         (exp_tonearest_test_data): Likewise.
45850         (exp_towardzero_test_data): Likewise.
45851         (exp_downward_test_data): Likewise.
45852         (exp_upward_test_data): Likewise.
45853         (exp10_test_data): Likewise.
45854         (exp2_test_data): Likewise.
45855         (expm1_test_data): Likewise.
45856         (fabs_test_data): Likewise.
45857         (fdim_test_data): Likewise.
45858         (finite_test_data): Likewise.
45859         (floor_test_data): Likewise.
45860         (fma_test_data): Likewise.
45861         (fma_towardzero_test_data): Likewise.
45862         (fma_downward_test_data): Likewise.
45863         (fma_upward_test_data): Likewise.
45864         (fmax_test_data): Likewise.
45865         (fmin_test_data): Likewise.
45866         (fmod_test_data): Likewise.
45867         (fpclassify_test_data): Likewise.
45868         (frexp_test_data): Likewise.
45869         (gamma_test_data): Likewise.
45870         (hypot_test_data): Likewise.
45871         (ilogb_test_data): Likewise.
45872         (isfinite_test_data): Likewise.
45873         (isgreater_test_data): Likewise.
45874         (isgreaterequal_test_data): Likewise.
45875         (isinf_test_data): Likewise.
45876         (isless_test_data): Likewise.
45877         (islessequal_test_data): Likewise.
45878         (islessgreater_test_data): Likewise.
45879         (isnan_test_data): Likewise.
45880         (isnormal_test_data): Likewise.
45881         (issignaling_test_data): Likewise.
45882         (isunordered_test_data): Likewise.
45883         (j0_test_data): Likewise.
45884         (j1_test_data): Likewise.
45885         (jn_test_data): Likewise.
45886         (ldexp_test_data): Likewise.
45887         (lgamma_test_data): Likewise.
45888         (lrint_test_data): Likewise.
45889         (lrint_tonearest_test_data): Likewise.
45890         (lrint_towardzero_test_data): Likewise.
45891         (lrint_downward_test_data): Likewise.
45892         (lrint_upward_test_data): Likewise.
45893         (llrint_test_data): Likewise.
45894         (llrint_tonearest_test_data): Likewise.
45895         (llrint_towardzero_test_data): Likewise.
45896         (llrint_downward_test_data): Likewise.
45897         (llrint_upward_test_data): Likewise.
45898         (log_test_data): Likewise.
45899         (log10_test_data): Likewise.
45900         (log1p_test_data): Likewise.
45901         (log2_test_data): Likewise.
45902         (logb_test_data): Likewise.
45903         (logb_downward_test_data): Likewise.
45904         (lround_test_data): Likewise.
45905         (llround_test_data): Likewise.
45906         (modf_test_data): Likewise.
45907         (nearbyint_test_data): Likewise.
45908         (nextafter_test_data): Likewise.
45909         (nexttoward_test_data): Likewise.
45910         (pow_test_data): Likewise.
45911         (pow_tonearest_test_data): Likewise.
45912         (pow_towardzero_test_data): Likewise.
45913         (pow_downward_test_data): Likewise.
45914         (pow_upward_test_data): Likewise.
45915         (remainder_test_data): Likewise.
45916         (remainder_tonearest_test_data): Likewise.
45917         (remainder_towardzero_test_data): Likewise.
45918         (remainder_downward_test_data): Likewise.
45919         (remainder_upward_test_data): Likewise.
45920         (remquo_test_data): Likewise.
45921         (rint_test_data): Likewise.
45922         (rint_tonearest_test_data): Likewise.
45923         (rint_towardzero_test_data): Likewise.
45924         (rint_downward_test_data): Likewise.
45925         (rint_upward_test_data): Likewise.
45926         (round_test_data): Likewise.
45927         (scalb_test_data): Likewise.
45928         (scalbn_test_data): Likewise.
45929         (scalbln_test_data): Likewise.
45930         (signbit_test_data): Likewise.
45931         (sin_test_data): Likewise.
45932         (sin_tonearest_test_data): Likewise.
45933         (sin_towardzero_test_data): Likewise.
45934         (sin_downward_test_data): Likewise.
45935         (sin_upward_test_data): Likewise.
45936         (sincos_test_data): Likewise.
45937         (sinh_test_data): Likewise.
45938         (sinh_tonearest_test_data): Likewise.
45939         (sinh_towardzero_test_data): Likewise.
45940         (sinh_downward_test_data): Likewise.
45941         (sinh_upward_test_data): Likewise.
45942         (sqrt_test_data): Likewise.
45943         (tan_test_data): Likewise.
45944         (tan_tonearest_test_data): Likewise.
45945         (tan_towardzero_test_data): Likewise.
45946         (tan_downward_test_data): Likewise.
45947         (tan_upward_test_data): Likewise.
45948         (tanh_test_data): Likewise.
45949         (tgamma_test_data): Likewise.
45950         (trunc_test_data): Likewise.
45951         (y0_test_data): Likewise.
45952         (y1_test_data): Likewise.
45953         (yn_test_data): Likewise.
45954         (significand_test_data): Likewise.
45956         * math/gen-libm-test.pl (@functions): Remove variable.
45957         (generate_testfile): Don't handle START and END lines.
45958         * math/libm-test.inc (START): New macro.
45959         (END): Likewise.
45960         (END_COMPLEX): Likewise.
45961         (acos_test): Use END macro without arguments.
45962         (acos_test_tonearest): Likewise.
45963         (acos_test_towardzero): Likewise.
45964         (acos_test_downward): Likewise.
45965         (acos_test_upward): Likewise.
45966         (acosh_test): Likewise.
45967         (asin_test): Likewise.
45968         (asin_test_tonearest): Likewise.
45969         (asin_test_towardzero): Likewise.
45970         (asin_test_downward): Likewise.
45971         (asin_test_upward): Likewise.
45972         (asinh_test): Likewise.
45973         (atan_test): Likewise.
45974         (atanh_test): Likewise.
45975         (atan2_test): Likewise.
45976         (cabs_test): Likewise.
45977         (cacos_test): Use END_COMPLEX macro without arguments.
45978         (cacosh_test): Likewise.
45979         (carg_test): Use END macro without arguments.
45980         (casin_test): Use END_COMPLEX macro without arguments.
45981         (casinh_test): Likewise.
45982         (catan_test): Likewise.
45983         (catanh_test): Likewise.
45984         (cbrt_test): Use END macro without arguments.
45985         (ccos_test): Use END_COMPLEX macro without arguments.
45986         (ccosh_test): Likewise.
45987         (ceil_test): Use END macro without arguments.
45988         (cexp_test): Use END_COMPLEX macro without arguments.
45989         (cimag_test): Use END macro without arguments.
45990         (clog_test): Use END_COMPLEX macro without arguments.
45991         (clog10_test): Likewise.
45992         (conj_test): Likewise.
45993         (copysign_test): Use END macro without arguments.
45994         (cos_test): Likewise.
45995         (cos_test_tonearest): Likewise.
45996         (cos_test_towardzero): Likewise.
45997         (cos_test_downward): Likewise.
45998         (cos_test_upward): Likewise.
45999         (cosh_test): Likewise.
46000         (cosh_test_tonearest): Likewise.
46001         (cosh_test_towardzero): Likewise.
46002         (cosh_test_downward): Likewise.
46003         (cosh_test_upward): Likewise.
46004         (cpow_test): Use END_COMPLEX macro without arguments.
46005         (cproj_test): Likewise.
46006         (creal_test): Use END macro without arguments.
46007         (csin_test): Use END_COMPLEX macro without arguments.
46008         (csinh_test): Likewise.
46009         (csqrt_test): Likewise.
46010         (ctan_test): Likewise.
46011         (ctan_test_tonearest): Likewise.
46012         (ctan_test_towardzero): Likewise.
46013         (ctan_test_downward): Likewise.
46014         (ctan_test_upward): Likewise.
46015         (ctanh_test): Likewise.
46016         (ctanh_test_tonearest): Likewise.
46017         (ctanh_test_towardzero): Likewise.
46018         (ctanh_test_downward): Likewise.
46019         (ctanh_test_upward): Likewise.
46020         (erf_test): Use END macro without arguments.
46021         (erfc_test): Likewise.
46022         (exp_test): Likewise.
46023         (exp_test_tonearest): Likewise.
46024         (exp_test_towardzero): Likewise.
46025         (exp_test_downward): Likewise.
46026         (exp_test_upward): Likewise.
46027         (exp10_test): Likewise.
46028         (exp2_test): Likewise.
46029         (expm1_test): Likewise.
46030         (fabs_test): Likewise.
46031         (fdim_test): Likewise.
46032         (finite_test): Likewise.
46033         (floor_test): Likewise.
46034         (fma_test): Likewise.
46035         (fma_test_towardzero): Likewise.
46036         (fma_test_downward): Likewise.
46037         (fma_test_upward): Likewise.
46038         (fmax_test): Likewise.
46039         (fmin_test): Likewise.
46040         (fmod_test): Likewise.
46041         (fpclassify_test): Likewise.
46042         (frexp_test): Likewise.
46043         (gamma_test): Likewise.
46044         (hypot_test): Likewise.
46045         (ilogb_test): Likewise.
46046         (isfinite_test): Likewise.
46047         (isgreater_test): Likewise.
46048         (isgreaterequal_test): Likewise.
46049         (isinf_test): Likewise.
46050         (isless_test): Likewise.
46051         (islessequal_test): Likewise.
46052         (islessgreater_test): Likewise.
46053         (isnan_test): Likewise.
46054         (isnormal_test): Likewise.
46055         (issignaling_test): Likewise.
46056         (isunordered_test): Likewise.
46057         (j0_test): Likewise.
46058         (j1_test): Likewise.
46059         (jn_test): Likewise.
46060         (ldexp_test): Likewise.
46061         (lgamma_test): Likewise.
46062         (lrint_test): Likewise.
46063         (lrint_test_tonearest): Likewise.
46064         (lrint_test_towardzero): Likewise.
46065         (lrint_test_downward): Likewise.
46066         (lrint_test_upward): Likewise.
46067         (llrint_test): Likewise.
46068         (llrint_test_tonearest): Likewise.
46069         (llrint_test_towardzero): Likewise.
46070         (llrint_test_downward): Likewise.
46071         (llrint_test_upward): Likewise.
46072         (log_test): Likewise.
46073         (log10_test): Likewise.
46074         (log1p_test): Likewise.
46075         (log2_test): Likewise.
46076         (logb_test): Likewise.
46077         (logb_test_downward): Likewise.
46078         (lround_test): Likewise.
46079         (llround_test): Likewise.
46080         (modf_test): Likewise.
46081         (nearbyint_test): Likewise.
46082         (nextafter_test): Likewise.
46083         (nexttoward_test): Likewise.
46084         (pow_test): Likewise.
46085         (pow_test_tonearest): Likewise.
46086         (pow_test_towardzero): Likewise.
46087         (pow_test_downward): Likewise.
46088         (pow_test_upward): Likewise.
46089         (remainder_test): Likewise.
46090         (remainder_test_tonearest): Likewise.
46091         (remainder_test_towardzero): Likewise.
46092         (remainder_test_downward): Likewise.
46093         (remainder_test_upward): Likewise.
46094         (remquo_test): Likewise.
46095         (rint_test): Likewise.
46096         (rint_test_tonearest): Likewise.
46097         (rint_test_towardzero): Likewise.
46098         (rint_test_downward): Likewise.
46099         (rint_test_upward): Likewise.
46100         (round_test): Likewise.
46101         (scalb_test): Likewise.
46102         (scalbn_test): Likewise.
46103         (scalbln_test): Likewise.
46104         (signbit_test): Likewise.
46105         (sin_test): Likewise.
46106         (sin_test_tonearest): Likewise.
46107         (sin_test_towardzero): Likewise.
46108         (sin_test_downward): Likewise.
46109         (sin_test_upward): Likewise.
46110         (sincos_test): Likewise.
46111         (sinh_test): Likewise.
46112         (sinh_test_tonearest): Likewise.
46113         (sinh_test_towardzero): Likewise.
46114         (sinh_test_downward): Likewise.
46115         (sinh_test_upward): Likewise.
46116         (sqrt_test): Likewise.
46117         (tan_test): Likewise.
46118         (tan_test_tonearest): Likewise.
46119         (tan_test_towardzero): Likewise.
46120         (tan_test_downward): Likewise.
46121         (tan_test_upward): Likewise.
46122         (tanh_test): Likewise.
46123         (tgamma_test): Likewise.
46124         (trunc_test): Likewise.
46125         (y0_test): Likewise.
46126         (y1_test): Likewise.
46127         (yn_test): Likewise.
46128         (significand_test): Likewise.
46130 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46132         [BZ #15381]
46133         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46135 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46137         [BZ #14894]
46138         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46139         __ppc_mdoio and __ppc_mdoom.
46140         * manual/platform.texi: Document new functions __ppc_yield,
46141         __ppc_mdoio and __ppc_mdoom.
46143 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46145         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46146         (main): Mention "tls" pseudo-hwcap is legacy.
46147         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46149 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46151         * math/gen-libm-test.pl (parse_args): Output only string of
46152         arguments as text for test name, not full call or descriptions of
46153         tests for extra outputs.
46154         (generate_testfile): Do not pass function name to parse_args.
46155         Generate this_func variable from START.
46156         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46157         field to arg_str.
46158         (struct test_ff_f_data): Likewise.
46159         (test_ff_f_data_nexttoward): Likewise.
46160         (struct test_fi_f_data): Likewise.
46161         (struct test_fl_f_data): Likewise.
46162         (struct test_if_f_data): Likewise.
46163         (struct test_fff_f_data): Likewise.
46164         (struct test_c_f_data): Likewise.
46165         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46166         (struct test_fF_f1_data): Likewise.
46167         (struct test_ffI_f1_data): Likewise.
46168         (struct test_c_c_data): Rename test_name field to arg_str.
46169         (struct test_cc_c_data): Likewise.
46170         (struct test_f_i_data): Likewise.
46171         (struct test_ff_i_data): Likewise.
46172         (struct test_f_l_data): Likewise.
46173         (struct test_f_L_data): Likewise.
46174         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46175         and extra2_name.
46176         (COMMON_TEST_SETUP): New macro.
46177         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46178         (COMMON_TEST_CLEANUP): Likewise.
46179         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46180         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46181         macros.
46182         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46183         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46184         macros.
46185         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46186         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46187         cleanup macros.
46188         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46189         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46190         macros.
46191         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46192         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46193         macros.
46194         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46195         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46196         cleanup macros.
46197         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46198         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46199         cleanup macros.
46200         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46201         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46202         cleanup macros.
46203         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46204         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46205         macros.
46206         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46207         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46208         macros.
46209         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46210         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46211         macros.
46212         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46213         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46214         cleanup macros.
46215         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46216         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46217         cleanup macros.
46218         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46219         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46220         macros.
46221         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46222         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46223         cleanup macros.
46224         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46225         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46226         macros.
46227         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46228         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46229         macros.
46230         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46231         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46232         cleanup macros.
46233         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46235 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46237         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46238         to _sifields.sigfault.
46239         (si_addr_lsb): Define new macro.
46240         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46241         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46242         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46244 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46246         [BZ #15441]
46247         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46248         returns -1.
46249         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46250         null return -1.
46251         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46252         loading the domain.
46254 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46256         * math/gen-libm-test.pl (parse_args): Do not include expected
46257         result in test name.
46258         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46260         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46261         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46262         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46265 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46267         * benchtests/Makefile: Sort function entries.
46269         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46270         tanh, asinh, acosh, atanh.
46271         * benchtests/acos-inputs: New file.
46272         * benchtests/acosh-inputs: New file.
46273         * benchtests/asin-inputs: New file.
46274         * benchtests/asinh-inputs: New file.
46275         * benchtests/atanh-inputs: New file.
46276         * benchtests/cosh-inputs: New file.
46277         * benchtests/log-inputs: New file.
46278         * benchtests/sinh-inputs: New file.
46279         * benchtests/tanh-inputs: New file.
46281 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46283         [BZ #15339]
46284         * posix/tst-getaddrinfo4.c: New test.
46285         * posix/Makefile (tests): Add it.
46287 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46289         [BZ #15339]
46290         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46291         when no services were used.
46292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46293         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46295 2013-05-21  Andreas Schwab  <schwab@suse.de>
46297         [BZ #15014]
46298         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46299         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46300         successful.
46301         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46302         redundant variable declarations and reallocation of buffer when
46303         parsing as IPv6 address.  Always set NSS status when called from
46304         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46305         buffer too small.  Correct computation of needed size.
46306         * nss/Makefile (tests): Add test-digits-dots.
46307         * nss/test-digits-dots.c: New test.
46309 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46311         * benchtests/Makefile: Remove instructions for adding
46312         benchmark tests.
46313         * benchtests/README: New file to explain how to execute and
46314         enhance the benchmark tests.
46316 2013-05-21  Andreas Schwab  <schwab@suse.de>
46318         [BZ #15493]
46319         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46320         * setjmp/tst-sigsetjmp.c: New test.
46322 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46324         * sysdeps/x86_64/memset.S (memset): New implementation.
46325         (__bzero): Likewise.
46326         (__memset_tail): New function.
46328 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46330         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46331         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46332         __memcpy_sse2_unaligned ifunc selection.
46333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46334         Add memcpy-sse2-unaligned.S.
46335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46336         Add: __memcpy_sse2_unaligned.
46338 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46340         [BZ #15490]
46341         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46342         math_force_eval before restoring floating-point envrionment.
46343         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46344         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46345         Likewise.
46346         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46347         <math_private.h>.
46348         (__nearbyintl): Use math_force_eval before restoring
46349         floating-point environment.
46350         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46352         * math/gen-libm-test.pl (special_functions): Remove.
46353         (parse_args): Don't handle TEST_extra.  Handle functions with no
46354         return value.
46355         * math/libm-test.inc (struct test_sincos_data): Replace with
46356         struct test_fFF_11_data.
46357         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46358         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46359         (sincos_test_data): Change element type to struct
46360         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46361         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46362         RUN_TEST_LOOP_sincos.
46363         * math/README.libm-test: Don't mention special handling of
46364         individual functions.
46365         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46366         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46367         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46369         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46372         * math/gen-libm-test.pl (get_variable): Remove function.
46373         (parse_args): Don't show pointer parameters to call in test
46374         names.  Use "extra output N" in test names for extra outputs
46375         rather than naming variables.
46377 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46379         [BZ #15488]
46380         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46381         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46382         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46383         double tests.
46384         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46385         disable.
46386         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46387         check_long_double.
46389         * math/gen-libm-test.pl (@tests): Remove variable.
46390         ($count): Likewise.
46391         (new_test): Remove function.
46392         (show_exceptions): New function.
46393         (special_functions): Use show_exceptions instead of new_test.
46394         (parse_args): Likewise.
46395         (generate_testfile): Pass only function name in generated call to
46396         print_max_error or print_complex_max_error.
46397         (get_ulps): Do not handle complex tests specially.
46398         (output_test): Rename to ...
46399         (get_all_ulps_for_test): ... this.  Return a string rather than
46400         printing to a file.  Require ulps to be present.
46401         (output_ulps): Generate arrays rather than #defines.
46402         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46403         (struct ulp_data): New type.
46404         (BUILD_COMPLEX_ULP): Remove macro.
46405         (compare_ulp_data): New function.
46406         (find_ulps): Likewise.
46407         (find_test_ulps): Likewise.
46408         (find_function_ulps): Likewise.
46409         (find_complex_function_ulps): Likewise.
46410         (print_max_error): Determine allowed ulps using
46411         find_function_ulps.
46412         (print_complex_max_error): Determine allowed ulps using
46413         find_complex_function_ulps.
46414         (check_float_internal): Determine max ulps using find_test_ulps.
46415         (check_float): Do not take max_ulp parameter.  Update call to
46416         check_float_internal.
46417         (check_complex): Likewise.
46418         (check_int): Do not take max_ulp parameter.
46419         (check_long): Likewise.
46420         (check_bool): Likewise.
46421         (check_longlong): Likewise.
46422         (struct test_f_f_data): Remove max_ulp field.
46423         (struct test_ff_f_data): Likewise.
46424         (struct test_ff_f_data_nexttoward): Likewise.
46425         (struct test_fi_f_data): Likewise.
46426         (struct test_fl_f_data): Likewise.
46427         (struct test_if_f_data): Likewise.
46428         (struct test_fff_f_data): Likewise.
46429         (struct test_c_f_data): Likewise.
46430         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46431         (struct test_fF_f1_data): Likewise.
46432         (struct test_ffI_f1_data): Likewise.
46433         (struct test_c_c_data): Remove max_ulp field.
46434         (struct test_cc_c_data): Likewise.
46435         (struct test_f_i_data): Likewise.
46436         (struct test_ff_i_data): Likewise.
46437         (struct test_f_l_data): Likewise.
46438         (struct test_f_L_data): Likewise.
46439         (struct test_sincos_data): Likewise.
46440         (RUN_TEST_f_f): Do not handle ulps.
46441         (RUN_TEST_LOOP_f_f): Likewise.
46442         (RUN_TEST_2_f): Likewise.
46443         (RUN_TEST_LOOP_2_f): Likewise.
46444         (RUN_TEST_fff_f): Likewise.
46445         (RUN_TEST_LOOP_fff_f): Likewise.
46446         (RUN_TEST_c_f): Likewise.
46447         (RUN_TEST_LOOP_c_f): Likewise.
46448         (RUN_TEST_f_f1): Likewise.
46449         (RUN_TEST_LOOP_f_f1): Likewise.
46450         (RUN_TEST_fF_f1): Likewise.
46451         (RUN_TEST_LOOP_fF_f1): Likewise.
46452         (RUN_TEST_fI_f1): Likewise.
46453         (RUN_TEST_LOOP_fI_f1): Likewise.
46454         (RUN_TEST_ffI_f1): Likewise.
46455         (RUN_TEST_LOOP_ffI_f1): Likewise.
46456         (RUN_TEST_c_c): Likewise.
46457         (RUN_TEST_LOOP_c_c): Likewise.
46458         (RUN_TEST_cc_c): Likewise.
46459         (RUN_TEST_LOOP_cc_c): Likewise.
46460         (RUN_TEST_f_i): Likewise.
46461         (RUN_TEST_LOOP_f_i): Likewise.
46462         (RUN_TEST_f_i_tg): Likewise.
46463         (RUN_TEST_LOOP_f_i_tg): Likewise.
46464         (RUN_TEST_ff_i_tg): Likewise.
46465         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46466         (RUN_TEST_f_b): Likewise.
46467         (RUN_TEST_LOOP_f_b): Likewise.
46468         (RUN_TEST_f_b_tg): Likewise.
46469         (RUN_TEST_LOOP_f_b_tg): Likewise.
46470         (RUN_TEST_f_l): Likewise.
46471         (RUN_TEST_LOOP_f_l): Likewise.
46472         (RUN_TEST_f_L): Likewise.
46473         (RUN_TEST_LOOP_f_L): Likewise.
46474         (RUN_TEST_sincos): Likewise.
46475         (RUN_TEST_LOOP_sincos): Likewise.
46477 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #15480]
46480         [BZ #15485]
46481         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46482         main case of finite arguments, set rounding mode to FE_TONEAREST
46483         and discard exceptions.
46484         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46485         exceptions.
46486         (remainder_tonearest_test_data): New variable.
46487         (remainder_test_tonearest): New function.
46488         (remainder_towardzero_test_data): New variable.
46489         (remainder_test_towardzero): New function.
46490         (remainder_downward_test_data): New variable.
46491         (remainder_test_downward): New function.
46492         (remainder_upward_test_data): New variable.
46493         (remainder_test_upward): New function.
46494         (main): Call the new test functions.
46496         * math/libm-test.inc (struct test_f_f1_data): Remove field
46497         extra_init.
46498         (struct test_fF_f1_data): Likewise.
46499         (struct test_ffI_f1_data): Likewise.
46500         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46501         based on value of EXTRA_EXPECTED.
46502         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46503         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46504         EXTRA_VAR based on value of EXTRA_EXPECTED.
46505         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46506         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46507         EXTRA_VAR based on value of EXTRA_EXPECTED.
46508         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46509         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46510         EXTRA_VAR based on value of EXTRA_EXPECTED.
46511         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46512         * math/gen-libm-test.pl (parse_args): Don't output initializers
46513         for extra output values.
46515         * math/libm-test.inc (check_int): Expect result to be exactly
46516         equal to expected value and do not handle ulps.
46517         (check_long): Likewise.
46518         (check_longlong): Likewise.
46520         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46521         exceptions.
46522         (cimag_test_data): Likewise.
46523         (conj_test_data): Likewise.
46524         (copysign_test_data): Likewise.
46525         (cproj_test_data): Likewise.
46526         (creal_test_data): Likewise.
46527         (fabs_test_data): Likewise.
46528         (fdim_test_data): Likewise.
46529         (finite_test_data): Likewise.
46530         (floor_test_data): Likewise.
46531         (fmax_test_data): Likewise.
46532         (fmin_test_data): Likewise.
46533         (fmod_test_data): Likewise.
46534         (fpclassify_test_data): Likewise.
46535         (frexp_test_data): Likewise.
46536         (ilogb_test_data): Likewise.
46537         (isfinite_test_data): Likewise.
46538         (isgreater_test_data): Likewise.
46539         (isgreaterequal_test_data): Likewise.
46540         (isinf_test_data): Likewise.
46541         (isless_test_data): Likewise.
46542         (islessequal_test_data): Likewise.
46543         (islessgreater_test_data): Likewise.
46544         (isnan_test_data): Likewise.
46545         (isnormal_test_data): Likewise.
46546         (issignaling_test_data): Likewise.
46547         (isunordered_test_data): Likewise.
46548         (ldexp_test_data): Likewise.
46549         (lrint_test_data): Likewise.
46550         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46551         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46552         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46553         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46554         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46555         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46556         test input.
46557         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46558         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46559         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46560         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46561         that test input.
46562         (lrint_downward_test_data): Test for "inexact" exceptions.
46563         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46564         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46565         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46566         test input.
46567         (lrint_upward_test_data): Test for "inexact" exceptions.
46568         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46569         test input.
46570         (llrint_test_data): Test for "inexact" exceptions.
46571         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46572         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46573         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46574         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46575         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46576         (llrint_downward_test_data): Test for "inexact" exceptions.
46577         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46578         (llrint_upward_test_data): Test for "inexact" exceptions.
46579         (logb_test_data): Likewise.
46580         (logb_downward_test_data): Likewise.
46581         (nextafter_test_data): Likewise.
46582         (nexttoward_test_data): Likewise.
46583         (remainder_test_data): Likewise.
46584         (remquo_test_data): Likewise.
46585         (scalbn_test_data): Likewise.
46586         (scalbln_test_data): Likewise.
46587         (signbit_test_data): Likewise.
46588         (sqrt_test_data): Likewise.
46589         (significand_test_data): Likewise.
46591 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46593         [BZ #15424]
46594         * benchtests/bench-modf.c (struct args): Mark arg0 as
46595         volatile.
46596         * scripts/bench.pl: Mark members of struct args as volatile.
46598 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46600         [BZ # 15497]
46601         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46602         negative infinity on POWER6 or lower.
46603         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46605 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46607         [BZ #15442]
46608         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46609         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46610         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46611         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46612         (_FP_SETQNAN): New macro.
46613         (_FP_SETQNAN_SEMIRAW): Likewise.
46614         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46615         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46616         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46617         (FP_EXTEND): Use _FP_FRAC_SNANP.
46618         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46619         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46620         into account.
46621         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46622         New macro.
46623         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46624         Likewise.
46626 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46628         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46629         with DIVIDE_BY_ZERO_EXCEPTION.
46630         (gamma_test_data): Likewise.
46631         (lgamma_test_data): Likewise.
46632         (log_test_data): Likewise.
46633         (log10_test_data): Likewise.
46634         (log2_test_data): Likewise.
46635         (tgamma_test_data): Likewise.
46637         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46638         (acos_test_tonearest): Likewise.
46639         (acos_test_towardzero): Likewise.
46640         (acos_test_downward): Likewise.
46641         (acos_test_upward): Likewise.
46642         (acosh_test): Likewise.
46643         (asin_test): Likewise.
46644         (asin_test_tonearest): Likewise.
46645         (asin_test_towardzero): Likewise.
46646         (asin_test_downward): Likewise.
46647         (asin_test_upward): Likewise.
46648         (asinh_test): Likewise.
46649         (atan_test): Likewise.
46650         (atanh_test): Likewise.
46651         (atan2_test): Likewise.
46652         (cabs_test): Likewise.
46653         (cacos_test): Likewise.
46654         (cacosh_test): Likewise.
46655         (casin_test): Likewise.
46656         (casinh_test): Likewise.
46657         (catan_test): Likewise.
46658         (catanh_test): Likewise.
46659         (cbrt_test): Likewise.
46660         (ccos_test): Likewise.
46661         (ccosh_test): Likewise.
46662         (cexp_test): Likewise.
46663         (clog_test): Likewise.
46664         (clog10_test): Likewise.
46665         (cos_test): Likewise.
46666         (cos_test_tonearest): Likewise.
46667         (cos_test_towardzero): Likewise.
46668         (cos_test_downward): Likewise.
46669         (cos_test_upward): Likewise.
46670         (cosh_test): Likewise.
46671         (cosh_test_tonearest): Likewise.
46672         (cosh_test_towardzero): Likewise.
46673         (cosh_test_downward): Likewise.
46674         (cosh_test_upward): Likewise.
46675         (cpow_test): Likewise.
46676         (csin_test): Likewise.
46677         (csinh_test): Likewise.
46678         (csqrt_test): Likewise.
46679         (ctan_test): Likewise.
46680         (ctan_test_tonearest): Likewise.
46681         (ctan_test_towardzero): Likewise.
46682         (ctan_test_downward): Likewise.
46683         (ctan_test_upward): Likewise.
46684         (ctanh_test): Likewise.
46685         (ctanh_test_tonearest): Likewise.
46686         (ctanh_test_towardzero): Likewise.
46687         (ctanh_test_downward): Likewise.
46688         (ctanh_test_upward): Likewise.
46689         (erf_test): Likewise.
46690         (erfc_test): Likewise.
46691         (exp_test): Likewise.
46692         (exp_test_tonearest): Likewise.
46693         (exp_test_towardzero): Likewise.
46694         (exp_test_downward): Likewise.
46695         (exp_test_upward): Likewise.
46696         (exp10_test): Likewise.
46697         (exp2_test): Likewise.
46698         (expm1_test): Likewise.
46699         (fmod_test): Likewise.
46700         (gamma_test): Likewise.
46701         (hypot_test): Likewise.
46702         (j0_test): Likewise.
46703         (j1_test): Likewise.
46704         (jn_test): Likewise.
46705         (lgamma_test): Likewise.
46706         (log_test): Likewise.
46707         (log10_test): Likewise.
46708         (log1p_test): Likewise.
46709         (log2_test): Likewise.
46710         (logb_test_downward): Likewise.
46711         (pow_test): Likewise.
46712         (pow_test_tonearest): Likewise.
46713         (pow_test_towardzero): Likewise.
46714         (pow_test_downward): Likewise.
46715         (pow_test_upward): Likewise.
46716         (remainder_test): Likewise.
46717         (remquo_test): Likewise.
46718         (sin_test): Likewise.
46719         (sin_test_tonearest): Likewise.
46720         (sin_test_towardzero): Likewise.
46721         (sin_test_downward): Likewise.
46722         (sin_test_upward): Likewise.
46723         (sincos_test): Likewise.
46724         (sinh_test): Likewise.
46725         (sinh_test_tonearest): Likewise.
46726         (sinh_test_towardzero): Likewise.
46727         (sinh_test_downward): Likewise.
46728         (sinh_test_upward): Likewise.
46729         (sqrt_test): Likewise.
46730         (tan_test): Likewise.
46731         (tan_test_tonearest): Likewise.
46732         (tan_test_towardzero): Likewise.
46733         (tan_test_downward): Likewise.
46734         (tan_test_upward): Likewise.
46735         (tanh_test): Likewise.
46736         (tgamma_test): Likewise.
46737         (y0_test): Likewise.
46738         (y1_test): Likewise.
46739         (yn_test): Likewise.
46741         * math/gen-libm-test.pl (adjust_arg): Remove function.
46742         (special_function): Remove argument $in_func.  Only handle
46743         generating output for tables of tests, not inside functions.
46744         (parse_args): Likewise.
46745         (generate_testfile): Remove variable $in_func.  Update call to
46746         parse_args.
46747         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46748         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46749         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46750         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46751         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46752         (MAX_VALUE_INIT): Rename macro to max_value.
46753         (MIN_VALUE_INIT): Rename macro to min_value.
46754         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46755         (plus_zero): Remove variable.
46756         (minus_zero): Likewise.
46757         (plus_infty): Likewise.
46758         (minus_infty): Likewise.
46759         (qnan_value): Likewise.
46760         (max_value): Likewise.
46761         (min_value): Likewise.
46762         (min_subnorm_value): Likewise.
46764 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46766         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46767         uint64_t or uint32_t usage.
46768         * crypt/sha256-block.c: Likewise.
46769         * crypt/sha256-crypt.c: Likewise.
46770         * crypt/sha256.c: Likewise.
46771         * crypt/sha512-block.c: Likewise.
46772         * crypt/sha512-crypt.c: Likewise.
46773         * crypt/sha512.c: Likewise.
46774         * debug/backtrace-tst.c: Likewise.
46775         * debug/pcprofiledump.c: Likewise.
46776         * elf/cache.c: Likewise.
46777         * elf/dl-cache.c: Likewise.
46778         * elf/dl-misc.c: Likewise.
46779         * elf/dl-profile.c: Likewise.
46780         * elf/dl-support.c: Likewise.
46781         * elf/ldconfig.c: Likewise.
46782         * elf/sprof.c: Likewise.
46783         * iconv/dummy-repertoire.c: Likewise.
46784         * iconv/iconv_charmap.c: Likewise.
46785         * iconv/skeleton.c: Likewise.
46786         * iconvdata/8bit-generic.c: Likewise.
46787         * iconvdata/cp737.h: Likewise.
46788         * iconvdata/cp775.h: Likewise.
46789         * iconvdata/ibm1008.h: Likewise.
46790         * iconvdata/ibm1025.h: Likewise.
46791         * iconvdata/ibm1046.h: Likewise.
46792         * iconvdata/ibm1097.h: Likewise.
46793         * iconvdata/ibm1112.h: Likewise.
46794         * iconvdata/ibm1122.h: Likewise.
46795         * iconvdata/ibm1123.h: Likewise.
46796         * iconvdata/ibm1124.h: Likewise.
46797         * iconvdata/ibm1129.h: Likewise.
46798         * iconvdata/ibm1130.h: Likewise.
46799         * iconvdata/ibm1132.h: Likewise.
46800         * iconvdata/ibm1133.h: Likewise.
46801         * iconvdata/ibm1137.h: Likewise.
46802         * iconvdata/ibm1140.h: Likewise.
46803         * iconvdata/ibm1141.h: Likewise.
46804         * iconvdata/ibm1142.h: Likewise.
46805         * iconvdata/ibm1143.h: Likewise.
46806         * iconvdata/ibm1144.h: Likewise.
46807         * iconvdata/ibm1145.h: Likewise.
46808         * iconvdata/ibm1146.h: Likewise.
46809         * iconvdata/ibm1147.h: Likewise.
46810         * iconvdata/ibm1148.h: Likewise.
46811         * iconvdata/ibm1149.h: Likewise.
46812         * iconvdata/ibm1153.h: Likewise.
46813         * iconvdata/ibm1154.h: Likewise.
46814         * iconvdata/ibm1155.h: Likewise.
46815         * iconvdata/ibm1156.h: Likewise.
46816         * iconvdata/ibm1157.h: Likewise.
46817         * iconvdata/ibm1158.h: Likewise.
46818         * iconvdata/ibm1160.h: Likewise.
46819         * iconvdata/ibm1161.h: Likewise.
46820         * iconvdata/ibm1162.h: Likewise.
46821         * iconvdata/ibm1163.h: Likewise.
46822         * iconvdata/ibm1164.h: Likewise.
46823         * iconvdata/ibm1166.h: Likewise.
46824         * iconvdata/ibm1167.h: Likewise.
46825         * iconvdata/ibm12712.h: Likewise.
46826         * iconvdata/ibm1390.h: Likewise.
46827         * iconvdata/ibm1399.h: Likewise.
46828         * iconvdata/ibm16804.h: Likewise.
46829         * iconvdata/ibm4517.h: Likewise.
46830         * iconvdata/ibm4899.h: Likewise.
46831         * iconvdata/ibm4909.h: Likewise.
46832         * iconvdata/ibm4971.h: Likewise.
46833         * iconvdata/ibm5347.h: Likewise.
46834         * iconvdata/ibm803.h: Likewise.
46835         * iconvdata/ibm856.h: Likewise.
46836         * iconvdata/ibm901.h: Likewise.
46837         * iconvdata/ibm902.h: Likewise.
46838         * iconvdata/ibm9030.h: Likewise.
46839         * iconvdata/ibm9066.h: Likewise.
46840         * iconvdata/ibm921.h: Likewise.
46841         * iconvdata/ibm922.h: Likewise.
46842         * iconvdata/ibm9448.h: Likewise.
46843         * iconvdata/isiri-3342.h: Likewise.
46844         * iconvdata/jis0201.h: Likewise.
46845         * include/link.h: Likewise.
46846         * include/netdb.h: Likewise.
46847         * inet/check_native.c: Likewise.
46848         * inet/check_pf.c: Likewise.
46849         * inet/getipv4sourcefilter.c: Likewise.
46850         * inet/getnameinfo.c: Likewise.
46851         * inet/getsourcefilter.c: Likewise.
46852         * inet/htonl.c: Likewise.
46853         * inet/setipv4sourcefilter.c: Likewise.
46854         * inet/setsourcefilter.c: Likewise.
46855         * inet/test-inet6_opt.c: Likewise.
46856         * inet/tst-network.c: Likewise.
46857         * locale/C-collate.c: Likewise.
46858         * locale/C-ctype.c: Likewise.
46859         * locale/C-time.c: Likewise.
46860         * locale/C-translit.h: Likewise.
46861         * locale/loadarchive.c: Likewise.
46862         * locale/programs/3level.h: Likewise.
46863         * locale/programs/charmap.c: Likewise.
46864         * locale/programs/charmap.h: Likewise.
46865         * locale/programs/ld-address.c: Likewise.
46866         * locale/programs/ld-collate.c: Likewise.
46867         * locale/programs/ld-ctype.c: Likewise.
46868         * locale/programs/ld-identification.c: Likewise.
46869         * locale/programs/ld-measurement.c: Likewise.
46870         * locale/programs/ld-messages.c: Likewise.
46871         * locale/programs/ld-monetary.c: Likewise.
46872         * locale/programs/ld-name.c: Likewise.
46873         * locale/programs/ld-numeric.c: Likewise.
46874         * locale/programs/ld-paper.c: Likewise.
46875         * locale/programs/ld-telephone.c: Likewise.
46876         * locale/programs/ld-time.c: Likewise.
46877         * locale/programs/linereader.c: Likewise.
46878         * locale/programs/locale.c: Likewise.
46879         * locale/programs/locarchive.c: Likewise.
46880         * locale/programs/locfile.h: Likewise.
46881         * locale/programs/repertoire.c: Likewise.
46882         * locale/programs/simple-hash.c: Likewise.
46883         * locale/programs/simple-hash.h: Likewise.
46884         * malloc/memusage.c: Likewise.
46885         * malloc/memusagestat.c: Likewise.
46886         * nis/nis_defaults.c: Likewise.
46887         * nis/nis_hash.c: Likewise.
46888         * nis/nis_print.c: Likewise.
46889         * nis/nis_xdr.c: Likewise.
46890         * nscd/connections.c: Likewise.
46891         * nscd/hstcache.c: Likewise.
46892         * nscd/nscd_gethst_r.c: Likewise.
46893         * nscd/nscd_getserv_r.c: Likewise.
46894         * nscd/nscd_helper.c: Likewise.
46895         * nscd/servicescache.c: Likewise.
46896         * nss/makedb.c: Likewise.
46897         * nss/nss_db/db-XXX.c: Likewise.
46898         * nss/nss_db/db-initgroups.c: Likewise.
46899         * nss/nss_db/db-netgrp.c: Likewise.
46900         * nss/nss_files/files-network.c: Likewise.
46901         * nss/nss_files/files-parse.c: Likewise.
46902         * posix/bug-regex5.c: Likewise.
46903         * posix/fnmatch_loop.c: Likewise.
46904         * posix/regcomp.c: Likewise.
46905         * posix/regexec.c: Likewise.
46906         * posix/tst-rfc3484-2.c: Likewise.
46907         * posix/tst-rfc3484-3.c: Likewise.
46908         * posix/tst-rfc3484.c: Likewise.
46909         * resolv/nss_dns/dns-canon.c: Likewise.
46910         * resolv/nss_dns/dns-network.c: Likewise.
46911         * resolv/res_init.c: Likewise.
46912         * resolv/res_mkquery.c: Likewise.
46913         * resolv/tst-aton.c: Likewise.
46914         * stdlib/cxa_atexit.c: Likewise.
46915         * stdlib/cxa_finalize.c: Likewise.
46916         * stdlib/gen-fpioconst.c: Likewise.
46917         * stdlib/strtol_l.c: Likewise.
46918         * string/tst-endian.c: Likewise.
46919         * sunrpc/auth_des.c: Likewise.
46920         * sunrpc/clnt_udp.c: Likewise.
46921         * sunrpc/rtime.c: Likewise.
46922         * sunrpc/svcauth_des.c: Likewise.
46923         * sunrpc/xdr.c: Likewise.
46924         * sunrpc/xdr_intXX_t.c: Likewise.
46925         * sunrpc/xdr_rec.c: Likewise.
46926         * sysdeps/generic/ldconfig.h: Likewise.
46927         * sysdeps/generic/ldsodefs.h: Likewise.
46928         * sysdeps/generic/memusage.h: Likewise.
46929         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46930         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46931         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46932         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46933         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46935         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46936         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46937         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46939         * sysdeps/posix/getaddrinfo.c: Likewise.
46940         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46941         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46942         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46943         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46944         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46945         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46946         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46947         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46948         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46949         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46950         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46951         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46952         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46953         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46954         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46955         * sysdeps/x86_64/dl-tls.h: Likewise.
46956         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46957         * time/alt_digit.c: Likewise.
46958         * time/era.c: Likewise.
46959         * wcsmbs/tst-c16c32-1.c: Likewise.
46961 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46963         * math/libm-test.inc (struct test_sincos_data): New type.
46964         (RUN_TEST_LOOP_sincos): New macro.
46965         (sincos_test_data): New variable.
46966         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46968 2013-05-16  Richard Henderson  <rth@redhat.com>
46970         * math/atest-exp2.c (LIMB64): New macro.
46971         (CONSTSZ): New macro.
46972         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46973         (hexdig): Move ...
46974         (print_mpn_fp): ... to function scope.
46975         (read_mpn_hex): Remove.
46976         (get_log2): Remove.
46977         (exp2_mpn): Use mp_log2.
46978         (main): Use mp_exp1.
46980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46982         * math/libm-test.inc: Remove comment about not testing "inexact"
46983         exceptions.
46984         (INEXACT_EXCEPTION): New macro.
46985         (NO_INEXACT_EXCEPTION): Likewise.
46986         (INVALID_EXCEPTION_OK): Update value.
46987         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46988         (OVERFLOW_EXCEPTION_OK): Likewise.
46989         (UNDERFLOW_EXCEPTION_OK): Likewise.
46990         (IGNORE_ZERO_INF_SIGN): Likewise.
46991         (ERRNO_UNCHANGED): Likewise.
46992         (ERRNO_EDOM): Likewise.
46993         (ERRNO_ERANGE): Likewise.
46994         (test_exceptions): Handle testing "inexact" exceptions.
46995         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46996         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46997         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46998         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46999         INEXACT_EXCEPTION.
47000         (rint_towardzero_test_data): Likewise.
47001         (rint_downward_test_data): Likewise.
47002         (rint_upward_test_data): Likewise.
47004         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47005         with OVERFLOW_EXCEPTION.
47006         (exp10_test_data): Likewise.
47007         (exp2_test_data): Likewise.
47008         (expm1_test_data): Likewise.
47009         (lgamma_test_data): Likewise.
47010         (pow_test_data): Likewise.
47011         (tgamma_test_data): Likewise.
47012         (yn_test_data): Remove duplicate test of overflow.
47014         * math/libm-test.inc (struct test_cc_c_data): New type.
47015         (RUN_TEST_LOOP_cc_c): New macro.
47016         (cpow_test_data): New variable.
47017         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47019         * math/libm-test.inc (struct test_f_L_data): New type.
47020         (RUN_TEST_LOOP_f_L): New macro.
47021         (llrint_test_data): New variable.
47022         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47023         (llrint_tonearest_test_data): New variable.
47024         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47025         (llrint_towardzero_test_data): New variable.
47026         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47027         (llrint_downward_test_data): New variable.
47028         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47029         (llrint_upward_test_data): New variable.
47030         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47031         (llround_test_data): New variable.
47032         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47034 2013-05-13  Peter Collingbourne  <pcc@google.com>
47036         * math/atest-exp2.c (get_log2): Remove const attribute.
47038 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47040         * math/libm-test.inc (struct test_f_l_data): New type.
47041         (RUN_TEST_LOOP_f_l): New macro.
47042         (lrint_test_data): New variable.
47043         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47044         (lrint_tonearest_test_data): New variable.
47045         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47046         (lrint_towardzero_test_data): New variable.
47047         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47048         (lrint_downward_test_data): New variable.
47049         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47050         (lrint_upward_test_data): New variable.
47051         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47052         (lround_test_data): New variable.
47053         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47055 2013-05-15  Peter Collingbourne  <pcc@google.com>
47057         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47058         (EXTRACT_WORDS64) Use where appropriate.
47059         (INSERT_WORDS64) Likewise.
47061         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47062         constraints with x constraints.
47063         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47065         * malloc/obstack.c (_obstack_compat): Add initializer.
47067 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47069         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47070         si_trapno and add si_addr_lsb to _sifields.sigfault.
47071         (si_trapno): Remove macro.
47072         (si_addr_lsb): Define new macro.
47073         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47075 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47077         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47078         instead of TEST_f_l.
47079         (llrint_test_tonearest): Likewise.
47080         (llrint_test_towardzero): Likewise.
47081         (llrint_test_downward): Likewise.
47082         (llrint_test_upward): Likewise.
47083         (llround_test): Likewise.
47085         * math/libm-test.inc (struct test_f_i_data): Add comment.
47086         (RUN_TEST_LOOP_f_b): New macro.
47087         (RUN_TEST_LOOP_f_b_tg): Likewise.
47088         (finite_test_data): New variable.
47089         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47090         (isfinite_test_data): New variable.
47091         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47092         (isinf_test_data): New variable.
47093         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47094         (isnan_test_data): New variable.
47095         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47096         (isnormal_test_data): New variable.
47097         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47098         (issignaling_test_data): New variable.
47099         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47100         (signbit_test_data): New variable.
47101         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47103         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47104         with INVALID_EXCEPTION.
47105         (acosh_test_data): Likewise.
47106         (asin_test_data): Likewise.
47107         (atanh_test_data): Likewise.
47108         (fmod_test_data): Likewise.
47109         (log_test_data): Likewise.
47110         (log10_test_data): Likewise.
47111         (log2_test_data): Likewise.
47112         (pow_test_data): Likewise.
47113         (sqrt_test_data): Likewise.
47114         (y0_test_data): Likewise.
47115         (y1_test_data): Likewise.
47116         (yn_test_data): Likewise.
47118         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47119         function contents.
47121         * math/libm-test.inc (struct test_ff_i_data): New type.
47122         (RUN_TEST_LOOP_ff_i_tg): New macro.
47123         (isgreater_test_data): New variable.
47124         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47125         (isgreaterequal_test_data): New variable.
47126         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47127         (isless_test_data): New variable.
47128         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47129         (islessequal_test_data): New variable.
47130         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47131         (islessgreater_test_data): New variable.
47132         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47133         (isunordered_test_data): New variable.
47134         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47136 2013-05-14  David S. Miller  <davem@davemloft.net>
47138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47140 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47142         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47144         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47145         extra_test to int.
47146         (struct test_f_i_data): Change type of max_ulp to int.
47148         * math/libm-test.inc (test_ffI_f1_data): New type.
47149         (RUN_TEST_LOOP_ffI_f1): New macro.
47150         (remquo_test_data): New variable.
47151         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47153         * setjmp/tst-setjmp-fp.c: New file.
47154         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47155         (link-libm): New variable.
47156         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47158         * math/libm-test.inc (struct test_f_i_data): New type.
47159         (RUN_TEST_LOOP_f_i): New macro.
47160         (RUN_TEST_LOOP_f_i_tg): Likewise.
47161         (fpclassify_test_data): New variable.
47162         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47163         (ilogb_test_data): New variable.
47164         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47166         * math/libm-test.inc (scalbln_test): Correct function name in END
47167         call.
47169         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47170         (RUN_TEST_LOOP_fI_f1): New macro.
47171         (frexp_test_data): New variable.
47172         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47174         * math/libm-test.inc (struct test_fF_f1_data): New type.
47175         (RUN_TEST_LOOP_fF_f1): New macro.
47176         (modf_test_data): New variable.
47177         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47179         * math/libm-test.inc (struct test_f_f1_data): New type.
47180         (RUN_TEST_LOOP_f_f1): New macro.
47181         (gamma_test_data): New variable.
47182         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47183         (lgamma_test_data): New variable.
47184         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47186 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47188         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47189         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47190         (main): Comment "tls" pseudo-hwcap.
47192 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47194         * math/libm-test.inc (struct test_fl_f_data): New type.
47195         (RUN_TEST_LOOP_fl_f): New variable.
47196         (scalbln_test_data): New variable.
47197         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47199         * math/libm-test.inc (struct test_fi_f_data): New type.
47200         (RUN_TEST_LOOP_fi_f): New macro.
47201         (ldexp_test_data): New variable.
47202         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47203         (scalbn_test_data): New variable.
47204         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47206         * math/libm-test.inc (struct test_c_f_data): New type.
47207         (RUN_TEST_LOOP_c_f): New macro.
47208         (cabs_test_data): New variable.
47209         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47210         (carg_test_data): New variable.
47211         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47212         (cimag_test_data): New variable.
47213         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47214         (creal_test_data): New variable.
47215         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47217         * math/libm-test.inc (struct test_if_f_data): New type.
47218         (RUN_TEST_LOOP_if_f): New macro.
47219         (jn_test_data): New variable.
47220         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47221         (yn_test_data): New variable.
47222         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47224         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47226 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47228         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47229         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47231 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47233         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47234         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47235         (bench-deps): Add bench-timing.h.
47236         * benchtests-bench-skeleton.c: Include bench-timing.h.
47237         (main): Use TIMING_* macros instead of clock_gettime.
47238         * benchtests/bench-timing.h: New file.
47240         [BZ #14582]
47241         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47242         Renamed from _LIB_VERSION.
47243         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47245 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47247         * math/libm-test.inc (struct test_fff_f_data): New type.
47248         (RUN_TEST_LOOP_fff_f): New macro.
47249         (fma_test_data): New variable.
47250         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47251         (fma_towardzero_test_data): New variable.
47252         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47253         (fma_downward_test_data): New variable.
47254         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47255         (fma_upward_test_data): New variable.
47256         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47258         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47259         (struct test_c_c_data): New type.
47260         (RUN_TEST_LOOP_c_c): New macro.
47261         (cacos_test_data): New variable.
47262         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47263         (cacosh_test_data): New variable.
47264         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47265         (casin_test_data): New variable.
47266         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47267         (casinh_test_data): New variable.
47268         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47269         (catan_test_data): New variable.
47270         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47271         (catanh_test_data): New variable.
47272         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47273         (ccos_test_data): New variable.
47274         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47275         (ccosh_test_data): New variable.
47276         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47277         (cexp_test_data): New variable.
47278         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47279         (clog_test_data): New variable.
47280         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47281         (clog10_test_data): New variable.
47282         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47283         (conj_test_data): New variable.
47284         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47285         (cproj_test_data): New variable.
47286         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47287         (csin_test_data): New variable.
47288         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47289         (csinh_test_data): New variable.
47290         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47291         (csqrt_test_data): New variable.
47292         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47293         (ctan_test_data): New variable.
47294         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47295         (ctan_tonearest_test_data): New variable.
47296         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47297         (ctan_towardzero_test_data): New variable.
47298         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47299         (ctan_downward_test_data): New variable.
47300         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47301         (ctan_upward_test_data): New variable.
47302         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47303         (ctanh_test_data): New variable.
47304         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47305         (ctanh_tonearest_test_data): New variable.
47306         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47307         (ctanh_towardzero_test_data): New variable.
47308         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47309         (ctanh_downward_test_data): New variable.
47310         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47311         (ctanh_upward_test_data): New variable.
47312         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47313         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47314         of BUILD_COMPLEX.
47316         * math/libm-test.inc (struct test_ff_f_data): New type.
47317         (struct test_ff_f_data_nexttoward): Likewise.
47318         (RUN_TEST_LOOP_2_f): New macro.
47319         (RUN_TEST_LOOP_ff_f): Likewise.
47320         (atan2_test_data): New variable.
47321         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47322         (copysign_test_data): New variable.
47323         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47324         (fdim_test_data): New variable.
47325         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47326         (fmax_test_data): New variable.
47327         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47328         (fmin_test_data): New variable.
47329         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47330         (fmod_test_data): New variable.
47331         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47332         (hypot_test_data): New variable.
47333         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47334         (nextafter_test_data): New variable.
47335         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47336         (nexttoward_test_data): New variable.
47337         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47338         (pow_test_data): New variable.
47339         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47340         (pow_tonearest_test_data): New variable.
47341         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47342         (pow_towardzero_test_data): New variable.
47343         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47344         (pow_downward_test_data): New variable.
47345         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47346         (pow_upward_test_data): New variable.
47347         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47348         (remainder_test_data): New variable.
47349         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47350         (scalb_test_data): New variable.
47351         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47352         * sysdeps/i386/fpu/libm-test-ulps: Update.
47354 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47356         * math/libm-test.inc (fma_test): Use max_value instead of local
47357         variable fltmax.
47358         (nextafter_test): Likewise.
47360         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47361         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47362         (acos_downward_test_data): New variable.
47363         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47364         (acos_upward_test_data): New variable.
47365         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47366         (acosh_test_data): New variable.
47367         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47368         (asin_test_data): New variable.
47369         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47370         (asin_tonearest_test_data): New variable.
47371         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47372         (asin_towardzero_test_data): New variable.
47373         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47374         (asin_downward_test_data): New variable.
47375         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47376         (asin_upward_test_data): New variable.
47377         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47378         (asinh_test_data): New variable.
47379         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47380         (atan_test_data): New variable.
47381         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47382         (atanh_test_data): New variable.
47383         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47384         (cbrt_test_data): New variable.
47385         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47386         (ceil_test_data): New variable.
47387         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47388         (cos_test_data): New variable.
47389         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47390         (cos_tonearest_test_data): New variable.
47391         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47392         (cos_towardzero_test_data): New variable.
47393         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47394         (cos_downward_test_data): New variable.
47395         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47396         (cos_upward_test_data): New variable.
47397         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47398         (cosh_test_data): New variable.
47399         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47400         (cosh_tonearest_test_data): New variable.
47401         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47402         (cosh_towardzero_test_data): New variable.
47403         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47404         (cosh_downward_test_data): New variable.
47405         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47406         (cosh_upward_test_data): New variable.
47407         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47408         (erf_test_data): New variable.
47409         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47410         (erfc_test_data): New variable.
47411         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47412         (exp_test_data): New variable.
47413         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47414         (exp_tonearest_test_data): New variable.
47415         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47416         (exp_towardzero_test_data): New variable.
47417         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47418         (exp_downward_test_data): New variable.
47419         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47420         (exp_upward_test_data): New variable.
47421         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47422         (exp10_test_data): New variable.
47423         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47424         (exp2_test_data): New variable.
47425         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47426         (expm1_test_data): New variable.
47427         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47428         (fabs_test_data): New variable.
47429         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47430         (floor_test_data): New variable.
47431         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47432         (j0_test_data): New variable.
47433         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47434         (j1_test_data): New variable.
47435         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47436         (log_test_data): New variable.
47437         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47438         (log10_test_data): New variable.
47439         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47440         (log1p_test_data): New variable.
47441         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47442         (log2_test_data): New variable.
47443         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47444         (logb_test_data): New variable.
47445         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47446         (logb_downward_test_data): New variable.
47447         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47448         (nearbyint_test_data): New variable.
47449         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47450         (rint_test_data): New variable.
47451         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47452         (rint_tonearest_test_data): New variable.
47453         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47454         (rint_towardzero_test_data): New variable.
47455         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47456         (rint_downward_test_data): New variable.
47457         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47458         (rint_upward_test_data): New variable.
47459         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47460         (round_test_data): New variable.
47461         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47462         (sin_test_data): New variable.
47463         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47464         (sin_tonearest_test_data): New variable.
47465         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47466         (sin_towardzero_test_data): New variable.
47467         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47468         (sin_downward_test_data): New variable.
47469         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47470         (sin_upward_test_data): New variable.
47471         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47472         (sinh_test_data): New variable.
47473         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47474         (sinh_tonearest_test_data): New variable.
47475         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47476         (sinh_towardzero_test_data): New variable.
47477         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47478         (sinh_downward_test_data): New variable.
47479         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47480         (sinh_upward_test_data): New variable.
47481         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47482         (sqrt_test_data): New variable.
47483         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47484         (tan_test_data): New variable.
47485         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47486         (tan_tonearest_test_data): New variable.
47487         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47488         (tan_towardzero_test_data): New variable.
47489         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47490         (tan_downward_test_data): New variable.
47491         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47492         (tan_upward_test_data): New variable.
47493         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47494         (tanh_test_data): New variable.
47495         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47496         (tgamma_test_data): New variable.
47497         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47498         (trunc_test_data): New variable.
47499         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47500         (y0_test_data): New variable.
47501         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47502         (y1_test_data): New variable.
47503         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47504         (significand_test_data): New variable.
47505         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47507 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47509         [BZ #12387]
47510         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47512 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47514         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47516 2013-05-10  Andreas Jaeger  <aj@suse.de>
47518         [BZ #15448]
47519         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47520         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47522 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47524         * math/gen-libm-test.pl (adjust_arg): New function.
47525         (special_functions): Handle generating output in both functions
47526         and arrays.
47527         (parse_args): Likewise.
47528         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47529         $in_func argument to parse_args.
47530         * math/libm-test.inc (struct test_f_f_data): New type.
47531         (IF_ROUND_INIT_): New macro.
47532         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47533         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47534         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47535         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47536         (ROUND_RESTORE_): Likewise.
47537         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47538         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47539         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47540         (ROUND_RESTORE_FE_UPWARD): Likewise.
47541         (RUN_TEST_LOOP_f_f): New macro.
47542         (acos_test_data): New variable.
47543         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47544         (acos_tonearest_test_data): New variable.
47545         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47547 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47549         * benchtests/bench-skeleton.c (startup): Fix coding style.
47551 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47553         [BZ #6809]
47554         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47555         negative infinity argument.
47556         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47557         negative infinity argument.
47558         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47559         negative infinity argument.
47560         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47561         domain errors.
47563 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47565         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47566         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47567         * iconv/iconv_prog.c (main): Likewise.
47568         * locale/programs/charmap-dir.c (charmap_readdir)
47569         (fopen_uncompressed): Likewise.
47570         * locale/programs/locfile.c (siblings_uncached)
47571         (write_locale_data): Use lstat64 instead of lstat.
47572         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47573         stat.
47575 2013-05-10  Andreas Jaeger  <aj@suse.de>
47577         [BZ #15395]
47578         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47579         localization.
47580         Include <locale.h>.
47582 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47584         * elf/dl-close.c (_dl_close_worker): Add comments.
47586 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47588         [BZ #15359]
47589         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47590         high part of pi/2.
47591         (__ieee754_rem_pio2l): Update comments.
47593         [BZ #15429]
47594         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47595         high part of pi/2.
47596         (__ieee754_rem_pio2l): Update comments.
47598         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47599         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47601         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47602         M_PI_4l.
47604         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47605         (M_PI_34_LOG10El): Likewise.
47606         (M_PI2_LOG10El): Likewise.
47607         (M_PI4_LOG10El): Likewise.
47608         (M_PI_LOG10El): Likewise.
47610 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47614 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47616         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47617         (MINUS_ZERO_INIT): Likewise.
47618         (PLUS_INFTY_INIT): Likewise.
47619         (MINUS_INFTY_INIT): Likewise.
47620         (QNAN_VALUE_INIT): Likewise.
47621         (MAX_VALUE_INIT): Likewise.
47622         (MIN_VALUE_INIT): Likewise.
47623         (MIN_SUBNORM_VALUE_INIT): Likewise.
47624         (plus_zero): Initialize with PLUS_ZERO_INIT.
47625         (minus_zero): Initialize with MINUS_ZERO_INIT.
47626         (plus_infty): Initialize with PLUS_INFTY_INIT.
47627         (minus_infty): Initialize with MINUS_INFTY_INIT.
47628         (qnan_value): Initialize with QNAN_VALUE_INIT.
47629         (max_value): Initialize with MAX_VALUE_INIT.
47630         (min_value): Initialize with MIN_VALUE_INIT.
47631         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47633         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47634         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47635         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47636         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47638         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47639         (RUN_TEST_2_f): Likewise.
47640         (RUN_TEST_ff_f): Likewise.
47641         (RUN_TEST_fi_f): Likewise.
47642         (RUN_TEST_fl_f): Likewise.
47643         (RUN_TEST_fff_f): Likewise.
47644         (RUN_TEST_c_f): Likewise.
47645         (RUN_TEST_f_f1): Likewise.
47646         (RUN_TEST_fF_f1): Likewise.
47647         (RUN_TEST_fI_f1): Likewise.
47648         (RUN_TEST_ffI_f1): Likewise.
47649         (RUN_TEST_c_c): Likewise.
47650         (RUN_TEST_cc_c): Likewise.
47651         (RUN_TEST_f_i): Likewise.
47652         (RUN_TEST_f_i_tg): Likewise.
47653         (RUN_TEST_ff_i_tg): Likewise.
47654         (RUN_TEST_f_b): Likewise.
47655         (RUN_TEST_f_b_tg): Likewise.
47656         (RUN_TEST_f_l): Likewise.
47657         (RUN_TEST_f_L): Likewise.
47658         (RUN_TEST_sincos): Likewise.
47659         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47660         whether to show exceptions.  Do not include ");\n" in return
47661         value.
47662         (special_functions): Output call to RUN_TEST_sincos instead of
47663         check_float calls.  Update calls to new_test.
47664         (parse_args): Output call to single RUN_TEST_* macro instead of
47665         check_* calls and other assignments.  Update calls to new_test.
47667         [BZ #2546]
47668         [BZ #2560]
47669         [BZ #5159]
47670         [BZ #15426]
47671         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47672         input to result for tgamma overflow.
47673         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47674         (gamma_coeff): New variable.
47675         (NCOEFF): New macro.
47676         (gamma_positive): New function.
47677         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47678         underflow here.  Use gamma_positive instead of exp (lgamma) for
47679         other arguments.
47680         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47681         (gamma_coeff): New variable.
47682         (NCOEFF): New macro.
47683         (gammaf_positive): New function.
47684         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47685         underflow here.  Use gamma_positive instead of exp (lgamma) for
47686         other arguments.
47687         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47688         (gamma_coeff): New variable.
47689         (NCOEFF): New macro.
47690         (gammal_positive): New function.
47691         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47692         underflow here.  Use gamma_positive instead of exp (lgamma) for
47693         other arguments.
47694         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47695         (gamma_coeff): New variable.
47696         (NCOEFF): New macro.
47697         (gammal_positive): New function.
47698         (__ieee754_gammal_r): Handle positive infinity, overflow and
47699         underflow here.  Handle NaN the same as positive infinity.  Remove
47700         check x < 0xffffffff for negative integers.  Use gamma_positive
47701         instead of exp (lgamma) for other arguments.
47702         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47703         (gamma_coeff): New variable.
47704         (NCOEFF): New macro.
47705         (gammal_positive): New function.
47706         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47707         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47708         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47709         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47710         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47711         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47712         * sysdeps/generic/math_private.h (__gamma_productf): New
47713         prototype.
47714         (__gamma_product): Likewise.
47715         (__gamma_productl): Likewise.
47716         * math/Makefile (libm-calls): Add gamma_product.
47717         * math/libm-test.inc (tgamma_test): Add more tests.
47718         * sysdeps/i386/fpu/libm-test-ulps: Update.
47719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47721 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47723         * benchtests/bench-skeleton.c (main): Preheat CPU.
47725 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47727         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47729 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47731         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47732         and _dl_skip_args_internal.
47734 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47736         * manual/message.texi (Message Translation): Talk about users.
47737         Message to key mapping impacts design.
47739 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47741         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47743         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47745         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47746         * sysdeps/wordsize-64/glob64.c: ... here.
47748         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47749         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47750         New macros.
47752         * debug/getlogin_r_chk.c: Moved to ...
47753         * login/getlogin_r_chk.c: ... here.
47754         * debug/Makefile (routines): Move getlogin_r_chk to ...
47755         * login/Makefile (routines): ... here.
47756         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47757         * login/Versions (libc: GLIBC_2.4): ... here.
47759         * io/poll.c (__poll): Renamed from poll.
47760         Add libc_hidden_def.
47761         (poll): Define as weak alias.
47763         * debug/ptsname_r_chk.c: Moved to ...
47764         * login/ptsname_r_chk.c: ... here.
47765         * debug/Makefile (routines): Move ptsname_r_chk to ...
47766         * login/Makefile (routines): ... here.
47767         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47768         * login/Versions (libc: GLIBC_2.4): ... here.
47770         * posix/getlogin.c: Moved to ...
47771         * login/getlogin.c: ... here.
47772         * posix/getlogin_r.c: Moved to ...
47773         * login/getlogin_r.c: ... here.
47774         * posix/getlogin_r.c: Moved to ...
47775         * login/getlogin_r.c: ... here.
47776         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47777         * login/Makefile (routines): ... here.
47778         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47779         * login/Versions (libc: GLIBC_2.0): ... here.
47781         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47782         (setrlimit): Define as weak alias.
47784         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47785         Call __ names for open, ftruncate, and close.
47786         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47787         (truncate): Define as weak alias.
47789 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47791         * math/gen-libm-test.pl (parse_args): Initialize x before each
47792         test of frexp, modf and remquo.
47794         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47795         test signgam value.
47797 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47799         [BZ #15418]
47800         [BZ #15419]
47801         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47802         internal tests.
47803         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47805 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47807         * elf/dl-writev.h: New file.
47808         * elf/dl-misc.c: Include it.
47809         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47810         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47812 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47814         * math/libm-test.inc (noXFails): Remove variable.
47815         (noXPasses): Likewise.
47816         (BUILD_COMPLEX_INT): Remove macro.
47817         (print_screen): Remove xfail argument.
47818         (print_screen_max_error): Likewise.
47819         (update_stats): Likewise.
47820         (print_max_error): Likewise.  Update calls to other affected
47821         functions.
47822         (print_complex_max_error): Likewise.
47823         (test_single_exception): Update calls to print_screen.
47824         (test_single_errno): Likewise.
47825         (check_float_internal): Remove xfail argument.  Update calls to
47826         other affected functions.
47827         (check_float): Likewise.
47828         (check_complex): Likewise.
47829         (check_int): Likewise.
47830         (check_long): Likewise.
47831         (check_bool): Likewise.
47832         (check_longlong): Likewise.
47833         (main): Don't print noXFails and noXPasses.
47834         * math/gen-libm-test.pl (top level): Don't mention expected
47835         failure handling in comment.
47836         (new_test): Don't handle expected failures.
47837         (parse_args): Don't mention expected failure handling in comment.
47838         (generate_testfile): Don't handle expected failures.
47839         (parse_ulps): Likewise.
47840         (print_ulps_file): Likewise.
47841         (get_failure): Remove function.
47842         (output_test): Don't handle expected failures.
47843         * make/README.libm-test: Don't mention expected failure handling.
47845         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47846         (minus_zero): Likewise.
47847         (plus_infty): Likewise.
47848         (minus_infty): Likewise.
47849         (qnan_value): Likewise.
47850         (max_value): Likewise.
47851         (min_value): Likewise.
47852         (min_subnorm_value): Likewise.
47853         (initialize): Do not initialize those variables dynamically.
47855 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47857         * io/open.c (__open_2): Moved to ...
47858         * io/open_2.c: ... this new file.
47859         * io/open64.c (__open64_2): Moved to ...
47860         * io/open64_2.c: ... this new file.
47861         * io/openat.c (__openat_2): Moved to ...
47862         * io/openat_2.c: ... this new file.
47863         * io/openat64.c (__openat64_2): Moved to ...
47864         * io/openat64_2.c: ... this new file.
47865         * io/Makefile (routines): Add them.
47866         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47867         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47868         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47869         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47870         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47871         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47872         (__openat64): Add hidden_ver.
47873         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47874         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47876         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47877         Separately conditionalize setting of GLRO(dl_sysinfo) so
47878         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47879         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47881 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47883         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47885         definition.
47886         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47887         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47888         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47889         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47890         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47892 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47894         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47895         test signgam value.
47897         * math/libm-test.inc (hypot_test): Do not use
47898         IGNORE_ZERO_INF_SIGN.
47900 2013-05-03  Andreas Jaeger  <aj@suse.de>
47902         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47903         Linux 3.9.
47904         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47905         (PF_MAX): Adjust for VSOCK change.
47907 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47911 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47913         [BZ #15264]
47914         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47915         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47916         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47918 2013-05-02  David S. Miller  <davem@davemloft.net>
47920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47922 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47924         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47926 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47928         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47930 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47932         [BZ #14952]
47933         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47934         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47935         Use __attribute__ ((__gnu_inline__)).
47936         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47937         Don't use __attribute__ ((__gnu_inline__)).
47939 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47941         [BZ #15423]
47942         * math/s_catan.c (__catan): Handle small real or imaginary part of
47943         input specially to avoid spurious underflow.
47944         * math/s_catanf.c (__catanf): Likewise.
47945         * math/s_catanh.c (__catanh): Likewise.
47946         * math/s_catanhf.c (__catanhf): Likewise.
47947         * math/s_catanhl.c (__catanhl): Likewise.
47948         * math/s_catanl.c (__catanl): Likewise.
47949         * math/libm-test.inc (catan_test): Add more tests.
47950         (catanh_test): Likewise.
47951         * sysdeps/i386/fpu/libm-test-ulps: Update.
47952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47954 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47958 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47960         [BZ #15416]
47961         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47962         accurately for denominator in atan2.
47963         * math/s_catanf.c (__catanf): Likewise.
47964         * math/s_catanh.c (__catanh): Likewise.
47965         * math/s_catanhf.c (__catanhf): Likewise.
47966         * math/s_catanhl.c (__catanhl): Likewise.
47967         * math/s_catanl.c (__catanl): Likewise.
47968         * math/libm-test.inc (catan_test): Add more tests.
47969         (catanh_test): Likewise.
47970         * sysdeps/i386/fpu/libm-test-ulps: Update.
47971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47973 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47975         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47977         * benchtests/Makefile (bench): Remove slow benchmarks.
47978         * benchtests/atan-inputs: Add slow benchmark inputs.
47979         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47980         (BENCH_FUNC): Accept variant offset.
47981         (VARIANT): Define.
47982         * benchtests/bench-skeleton.c (main): Run benchmark for each
47983         variant.
47984         * benchtests/cos-inputs: Add slow benchmark inputs.
47985         * benchtests/exp-inputs: Likewise.
47986         * benchtests/pow-inputs: Likewise.
47987         * benchtests/sin-inputs: Likewise.
47988         * benchtests/slowatan-inputs: Remove.
47989         * benchtests/slowatan.c: Remove.
47990         * benchtests/slowcos-inputs: Remove.
47991         * benchtests/slowcos.c: Remove.
47992         * benchtests/slowexp-inputs: Remove.
47993         * benchtests/slowexp.c: Remove.
47994         * benchtests/slowpow-inputs: Remove.
47995         * benchtests/slowpow.c: Remove.
47996         * benchtests/slowsin-inputs: Remove.
47997         * benchtests/slowsin.c: Remove.
47998         * benchtests/slowtan-inputs: Remove.
47999         * benchtests/slowtan.c: Remove.
48000         * benchtests/tan-inputs: Add slow benchmark inputs.
48001         * scripts/bench.pl: Parse comments and directives.
48003         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48004         in CPPFLAGS.
48005         ($(objpfx)bench-%.c): Remove *-ITER.
48006         * benchtests/bench-modf.c: Remove definition of ITER.
48007         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48008         (main): Loop for DURATION seconds instead of fixed number of
48009         iterations.
48010         * scripts/bench.pl: Don't expect iterations in parameters.
48012 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48014         * io/fchdir.c (__fchdir): Renamed from fchdir.
48015         (fchdir): Define as weak alias.
48017 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48019         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48020         (ERRNO_EDOM): Likewise.
48021         (ERRNO_ERANGE): Likewise.
48022         (noErrnoTests): New variable.
48023         (init_max_error): Set errno to 0.
48024         (test_single_errno): New function.
48025         (test_errno): Likewise.
48026         (check_float_internal): Call test_errno.  Set errno to 0.
48027         (check_complex): Refer to errno tests in comment.
48028         (check_int): Call test_errno.  Set errno to 0.
48029         (check_long): Likewise.
48030         (check_bool): Likewise.
48031         (check_longlong): Likewise.
48032         (cos_test): Use ERRNO_* flags for errno tests instead of
48033         check_int.
48034         (expm1_test): Likewise.
48035         (fmod_test): Likewise.
48036         (ilogb_test): Likewise.
48037         (lgamma_test): Likewise.
48038         (pow_test): Likewise.
48039         (remainder_test): Likewise.
48040         (sin_test): Likewise.
48041         (tan_test): Likewise.
48042         (yn_test): Likewise.
48043         (initialize): Set errno to 0.
48044         (main): Print number of errno tests.
48045         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48047 2013-04-29  Andreas Jaeger  <aj@suse.de>
48049         [BZ #15084]
48050         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48051         and RES_USEVC.
48053         [BZ #15085]
48054         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48055         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48056         unimplemented.
48058         [BZ #15380]
48059         * stdlib/random.c (__initstate): Return NULL if
48060         __initstate fails.
48062         [BZ #15086]
48063         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48064         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48065         RES_SNGLKUPREOP.
48067 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48071 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48073         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48074         of individual tests.
48075         (casin_test): Likewise.
48076         (casinh_test): Likewise.
48078 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48080         [BZ #15409]
48081         * math/s_catan.c (__catan): Handle arguments with large real or
48082         imaginary part separately without squaring.
48083         * math/s_catanf.c (__catanf): Likewise.
48084         * math/s_catanh.c (__catanh): Likewise.
48085         * math/s_catanhf.c (__catanhf): Likewise.
48086         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48087         and redefine.
48088         (__catanhl): Handle arguments with large real or imaginary part
48089         separately without squaring.
48090         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48091         and redefine.
48092         (__catanl): Handle arguments with large real or imaginary part
48093         separately without squaring.
48094         * math/libm-test.inc (catan_test): Add more tests.
48095         (catanh_test): Likewise.
48096         * sysdeps/i386/fpu/libm-test-ulps: Update.
48097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48099 2013-04-27  Andreas Jaeger  <aj@suse.de>
48101         [BZ #15007]
48102         * stdlib/stdlib.h: Update guards for qecvt.
48103         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48104         <stdlib.h>.
48106 2013-04-27  Allan McRae  <allan@archlinux.org>
48108         * sysdeps/i386/fpu/libm-test-ulps: Update.
48110 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48112         [BZ #15406]
48113         * math/s_catan.c: Include <float.h>.
48114         (__catan): Ensure underflow exception occurs for underflowed
48115         result.
48116         * math/s_catanf.c: Include <float.h>.
48117         (__catanf): Ensure underflow exception occurs for underflowed
48118         result.
48119         * math/s_catanh.c: Include <float.h>.
48120         (__catanh): Ensure underflow exception occurs for underflowed
48121         result.
48122         * math/s_catanhf.c: Include <float.h>.
48123         (__catanhf): Ensure underflow exception occurs for underflowed
48124         result.
48125         * math/s_catanhl.c: Include <float.h>.
48126         (__catanhl): Ensure underflow exception occurs for underflowed
48127         result.
48128         * math/s_catanl.c: Include <float.h>.
48129         (__catanl): Ensure underflow exception occurs for underflowed
48130         result.
48131         * math/libm-test.inc (catan_test): Add more tests.
48132         (catanh_test): Likewise.
48134         [BZ #15405]
48135         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48136         underflowed result.
48137         * math/s_ccoshf.c (__ccoshf): Likewise.
48138         * math/s_ccoshl.c (__ccoshl): Likewise.
48139         * math/s_csin.c (__csin): Likewise.
48140         * math/s_csinf.c (__csinf): Likewise.
48141         * math/s_csinh.c (__csinh): Likewise.
48142         * math/s_csinhf.c (__csinhf): Likewise.
48143         * math/s_csinhl.c (__csinhl): Likewise.
48144         * math/s_csinl.c (__csinl): Likewise.
48145         * math/libm-test.inc (ccos_test): Add more tests.
48146         (ccosh_test): Likewise.
48147         (csin_test): Likewise.
48148         (csinh_test): Likewise.
48150 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48152         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48153         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48154         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48155         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48156         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48157         powerpc/power5+/fpu folders.
48158         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48161 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48165 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48167         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48168         additions to variable.
48169         [$(config-machine) = x86_64] (modules-names): Likewise.
48170         ($(objpfx)tst-audit3): Remove dependency.
48171         ($(objpfx)tst-audit3.out): Likewise.
48172         ($(objpfx)tst-audit4): Likewise.
48173         ($(objpfx)tst-audit4.out): Likewise.
48174         ($(objpfx)tst-audit5): Likewise.
48175         ($(objpfx)tst-audit5.out): Likewise.
48176         ($(objpfx)tst-audit6): Likewise.
48177         ($(objpfx)tst-audit6.out): Likewise.
48178         ($(objpfx)tst-audit7): Likewise.
48179         ($(objpfx)tst-audit7.out): Likewise.
48180         (tst-audit3-ENV): Remove variable.
48181         (tst-audit4-ENV): Likewise.
48182         (tst-audit5-ENV): Likewise.
48183         (tst-audit6-ENV): Likewise.
48184         (tst-audit7-ENV): Likewise.
48185         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48186         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48187         addition to variable.
48188         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48189         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48193         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48194         tst-audit3, tst-audit4 and tst-audit5.
48195         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48196         tst-audit6 and tst-audit7.
48197         [$(subdir) = elf] (modules-names): Add audit modules for those
48198         tests.
48199         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48200         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48201         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48202         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48203         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48204         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48205         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48206         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48207         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48208         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48209         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48210         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48211         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48212         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48213         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48214         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48215         Likewise.
48216         [$(subdir) = elf && $(config-cflags-avx) = yes]
48217         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48218         [$(subdir) = elf && $(config-cflags-avx) = yes]
48219         (CFLAGS-tst-auditmod4a.c): Likewise.
48220         [$(subdir) = elf && $(config-cflags-avx) = yes]
48221         (CFLAGS-tst-auditmod4b.c): Likewise.
48222         [$(subdir) = elf && $(config-cflags-avx) = yes]
48223         (CFLAGS-tst-auditmod6b.c): Likewise.
48224         [$(subdir) = elf && $(config-cflags-avx) = yes]
48225         (CFLAGS-tst-auditmod6c.c): Likewise.
48226         [$(subdir) = elf && $(config-cflags-avx) = yes]
48227         (CFLAGS-tst-auditmod7b.c): Likewise.
48228         * elf/tst-audit3.c: Move to ...
48229         * sysdeps/x86_64/tst-audit3.c: ... here.
48230         * elf/tst-audit4.c: Move to ...
48231         * sysdeps/x86_64/tst-audit4.c: ... here.
48232         * elf/tst-audit5.c: Move to ...
48233         * sysdeps/x86_64/tst-audit5.c: ... here.
48234         * elf/tst-audit6.c: Move to ...
48235         * sysdeps/x86_64/tst-audit6.c: ... here.
48236         * elf/tst-audit7.c: Move to ...
48237         * sysdeps/x86_64/tst-audit7.c: ... here.
48238         * elf/tst-auditmod3a.c: Move to ...
48239         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48240         * elf/tst-auditmod3b.c: Move to ...
48241         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48242         * elf/tst-auditmod4a.c: Move to ...
48243         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48244         * elf/tst-auditmod4b.c: Move to ...
48245         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48246         * elf/tst-auditmod5a.c: Move to ...
48247         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48248         * elf/tst-auditmod5b.c: Move to ...
48249         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48250         * elf/tst-auditmod6a.c: Move to ...
48251         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48252         * elf/tst-auditmod6b.c: Move to ...
48253         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48254         * elf/tst-auditmod6c.c: Move to ...
48255         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48256         * elf/tst-auditmod7a.c: Move to ...
48257         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48258         * elf/tst-auditmod7b.c: Move to ...
48259         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48261 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48263         [BZ #15366]
48264         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48265         define unconditionally.
48266         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48267         define unconditionally.
48268         (INT8_C, INT16_C, etc.): Likewise.
48270 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48272         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48273         __ehdr_start with hidden visibility.
48275         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48277 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48279         * math/libm-test.inc (cos_test): Use accurate hex constants.
48280         (sincost_test): Likewise.
48282 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48284         * math/libm-test.inc (catan_test): Add more tests.
48285         (catanh_test): Likewise.
48287         * math/s_catanf.c (__catanf): Use suffixed floating-point
48288         constants.
48289         * math/s_catanhf.c (__catanhf): Likewise.
48290         * math/s_catanhl.c (__catanhl): Likewise.
48291         * math/s_catanl.c (__catanl): Likewise.
48293         [BZ #15394]
48294         * math/s_catan.c (__catan): Calculate imaginary part of result
48295         with log1p not log unless computing log of number close to 0.
48296         * math/s_catanf.c (__catanf): Likewise.
48297         * math/s_catanl.c (__catanl): Likewise.
48298         * math/s_catanh.c (__catanh): Calculate real part of result with
48299         log1p not log unless computing log of number close to 0.
48300         * math/s_catanhf.c (__catanhf): Likewise.
48301         * math/s_catanhl.c (__catanhl): Likewise.
48302         * math/libm-test.inc (catan_test): Add more tests.
48303         (catanh_test): Likewise.
48304         * sysdeps/i386/fpu/libm-test-ulps: Update.
48305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48307 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48309         * benchtests/Makefile: Mention files in which fast and slow
48310         paths of math functions are implemented.
48312 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48314         * sysdeps/posix/timespec_get.c: New file.
48316 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48318         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48319         POWER.
48320         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48321         for POWER.
48322         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48323         powerpc/power5/fpu folders.
48324         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48325         * benchtests/Makefile: Add modf testcase.
48326         * benchtests/bench-modf.c: New file: Benchmark test for mo
48328 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48330         [BZ #14888]
48331         * time/Makefile (tests): Add tst-strptime-whitespace.
48332         * time/strptime_l.c (get_number): Use ISSPACE.
48333         (__strptime_internal): Likewise.
48334         * time/tst-strptime-whitespace.c: New test case.
48336 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48338         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48339         member.
48340         (_nss_files_init): Set it here.
48342 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48344         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48345         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48346         unsigned.
48348 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48350         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48352 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48355         size just once.
48357 2013-04-21  David S. Miller  <davem@davemloft.net>
48359         * po/ru.po: Update Russion translation from translation project.
48361 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48363         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48364         and setfsgid.
48366 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48368         * configure.in: Remove i386 configure warning. Remove i386 case.
48369         * configure: Regenerate.
48370         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48371         Add example to error message.
48372         * sysdeps/i386/configure: Regenerate.
48374 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48376         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48377         slowtan.
48378         * benchtests/cos-inputs: New file.
48379         * benchtests/slowcos-inputs: New file.
48380         * benchtests/slowcos.c: New file.
48381         * benchtests/slowtan-inputs: New file.
48382         * benchtests/slowtan.c: New file.
48383         * benchtests/tan-inputs: New file.
48385 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48387         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48388         considered kosher.
48390 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48392         * benchtests/Makefile: Include cppflags-iterator.mk to add
48393         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48395         * Makefile.in (bench-clean): New target.
48396         * benchtests/Makefile (bench-clean): Likewise.
48398 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48400         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48402 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48404         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48406 2013-04-15  Andreas Schwab  <schwab@suse.de>
48408         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48410         * nscd/pwdcache.c (cache_addpw): Likewise.
48411         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48412         more than recsize.
48414 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48416         * benchtests/Makefile (bench): Write all output to
48417         bench-out.tmp together.
48419 2013-04-15  Andreas Schwab  <schwab@suse.de>
48421         * nscd/nscd.c (main): Don't fork again after closing files.
48423 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48425         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48427         * benchtests/Rules (bench-deps): Collect dependencies into a
48428         single variable.  Add Makefile to dependencies.
48429         ($(objpfx)bench-%.c): Depend on bench-deps.
48431 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48432             Xavier Roche  <roche+kml2@exalead.com>
48434         [BZ #15361]
48435         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48436         just that it's a file descriptor.
48437         * manual/llio.texi (Synchronizing AIO Operations): Update description
48438         for EBADF error from aio_fsync.
48440 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48442         * Rules (bench): Move target definition...
48443         * benchtests/Makefile: ... here.
48445 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48447         * math/libm-test.inc (cos_test): Fix PI/2 test.
48448         (sincos_test): Likewise.
48449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48450         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48452 2013-04-11  Andreas Schwab  <schwab@suse.de>
48454         [BZ #13988]
48455         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48456         accept exponent character only when digits were seen.
48457         * stdio-common/Makefile (tests): Add bug26.
48458         * stdio-common/bug26.c: New file.
48460         [BZ #14293]
48461         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48462         non-freeable.
48464 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48466         * Makeconfig (rtld-prefix): Define built linker prefix.
48467         * Rules (run-bench): Use it.
48468         * math/Makefile (run-regen-ulps): Likewise.
48470         * Rules (bench): Remove eval.
48472 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48473             Roland McGrath  <roland@hack.frob.com>
48474             Ondrej Bilka  <neleai@seznam.cz>
48476         [BZ #15346]
48477         * time/getdate.c: Include ctype.h and alloca.h.
48478         (__getdate_r): Trim leading and trailing spaces of input.
48479         * time/tst-getdate.c (tests): Add tests with leading and
48480         trailing spaces.
48482 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48484         [BZ #14280]
48485         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48486         when computing value.
48488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48490         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48491         Use testrun.sh to run libm tests.
48493         [BZ #15309]
48494         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48496 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48498         [BZ #15264]
48499         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48501 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48503         * Makefile.in (regen-ulps): New target.
48504         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48505         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48506         [ifneq (no,$(PERL)] (regen-ulps): New target.
48507         [ifeq (no,$(PERL)] (regen-ulps): New target.
48508         * math/libm-test.inc (ulps_file_name): Define.
48509         (output_dir): New variable.
48510         (options): Add "output-dir" option.
48511         (parse_opt): Handle 'o' case.
48512         (main): If output_dir is non-NULL use it as a prefix
48513         otherwise use "".
48514         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48516 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48518         [BZ #10060, #10062]
48519         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48520         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48521         fail configure if __sync_val_compare_and_swap is not inlined.
48522         * sysdeps/i386/configure: Regenerate.
48523         * configure.in: Build for i686 when configured for i386.
48524         * configure: Regenerate.
48525         * README: Remove i386 reference.
48527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48529         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48530         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48532 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48534         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48535         (lmsnanval): New variables.
48536         (F): Add conversion tests.
48537         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48538         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48540         * stdio-common/tstdiomisc.c (F): Properly collect individual
48541         tests' results.
48543         [BZ #14686, #15336]
48544         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48545         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48546         Instead, use input NaN values or generate a qNaN by arithmetic
48547         operation.  Also fix bugs to comply with the standard.
48548         * math/libm-test.inc (remainder_test): Add more tests.
48550         [BZ #15335, #15342]
48551         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48553         input NaN values or generate a qNaN by arithmetic operation.
48555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48556         unreachable code.
48558         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48559         definitions.
48561 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #14478]
48564         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48565         underflowed result.
48566         * math/s_cexpf.c (__cexpf): Likewise.
48567         * math/s_cexpl.c (__cexpl): Likewise.
48568         * math/libm-test.inc (cexp_test): Add more tests.
48570 2013-04-03  Andreas Schwab  <schwab@suse.de>
48572         [BZ #15330]
48573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48574         order arrays from heap if bigger than alloca cutoff.
48576 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48578         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48579         (SNAN_TESTS_double): Refer to GCC PR56831.
48580         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48581         GCC PR56828.
48583 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48585         * Rules (bench): Move bench.out after the run is complete.
48587         * Rules (bench): Echo currently running benchmark.
48589         * benchtests/Makefile (bench): Add atan and slowatan.
48590         * benchtests/atan-inputs: New file.
48591         * benchtests/slowatan-inputs: New file.
48592         * benchtests/slowatan.c: New file.
48594         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48596         its value.
48598         [BZ #15305]
48599         * sysdeps/unix/sysv/linux/kernel-features.h
48600         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48601         __ASSUME_XFS_RESTRICTED_CHOWN.
48602         * sysdeps/unix/sysv/linux/pathconf.c
48603         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48604         Save and restore errno.
48606 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48608         [BZ #15327]
48609         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48610         arguments using __kernel_casinh.
48611         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48612         arguments using __kernel_casinhf.
48613         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48614         arguments using __kernel_casinhl.
48615         * math/libm-test.inc (cacosh_test): Add more tests.
48616         * sysdeps/i386/fpu/libm-test-ulps: Update.
48617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48619 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48621         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48624         * bench/Makefile (bench): Add sin and slowsin.
48625         * benchtests/sin-inputs: New file.
48626         * benchtests/slowsin-inputs: New file.
48627         * benchtests/slowsin.c: New file.
48629         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48630         (bench): Add slowexp and slowpow.
48631         (exp-ITER): Increase iterations.
48632         (pow-ITER): Likewise.
48633         * benchtests/exp-inputs: Change input.
48634         * benchtests/pow-inputs: Likewise.
48635         * benchtests/slowexp-inputs: New file.
48636         * benchtests/slowexp.c: New file.
48637         * benchtests/slowpow-inputs: New file.
48638         * benchtests/slowpow.c: New file.
48640 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48642         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48643         instructions.
48644         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48645         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48646         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48647         * benchtests/Makefile: Add rint benchtest.
48648         * benchtests/rint-inputs: Input for rint benchtest.
48650 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48652         * Versions.def (libm): Add GLIBC_2.18.
48653         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48654         hidden libm prototypes.
48655         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48656         * math/Makefile (libm-calls): Add s_issignaling.
48657         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48658         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48659         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48660         declaration.
48661         * math/math.h [__USE_GNU] (issignaling): New macro.
48662         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48663         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48664         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48665         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48668         * manual/arith.texi (issignaling): New section.
48669         * manual/libm-err-tab.pl (@all_functions): Update comment.
48670         * math/gen-libm-test.pl (parse_args): Apply special handling for
48671         issignaling.
48672         * math/libm-test.inc (print_float, issignaling_test): New
48673         functions.
48674         (check_float_internal): Add issignaling checks.
48675         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48676         default definition.
48677         * sysdeps/powerpc/math-tests.h: New file.
48678         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48679         tests.
48680         * math/test-snan.c (TEST_FUNC): Likewise.
48682 2013-03-30  David S. Miller  <davem@davemloft.net>
48684         * po/de.po: Update from translation team.
48686 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48688         [BZ #10357]
48689         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48690         imaginary part less than 1.0 and real part less than 0.5
48691         specially.
48692         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48693         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48694         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48695         (cacos_test): Add more tests.
48696         (casin_test): Likewise.
48697         (casinh_test): Likewise.
48698         * sysdeps/i386/fpu/libm-test-ulps: Update.
48699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48701 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48703         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48704         ONE with its value.
48706         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48707         (__pow_mp): Replace ONE and MONE with their values.
48708         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48710         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48711         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48713         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48715         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48717         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48718         (__pow_mp): Replace ZERO and MZERO with their values.
48719         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48720         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48723         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48724         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48725         (__sqr): Likewise.
48727         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48729         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48731 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48733         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48734         Declare with __attribute__ ((weak)).
48735         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48736         Call __call_tls_dtors only if it's not NULL.
48738 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48740         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48741         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48742         magic __ehdr_start linker symbol if it's defined.
48743         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48744         them up here if it was already done.
48746         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48747         (_dl_aux_init): Use const in cast when setting it.
48748         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48749         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48750         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48752         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48753         Declare them here.
48754         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48755         * csu/libc-tls.c: Nor here.
48756         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48758         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48759         (__libc_message): Never call vsyslog.
48761 2013-03-28  Alan Modra  <amodra@gmail.com>
48763         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48764         Define as empty.
48765         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48766         Likewise.
48768 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48770         [BZ #15214]
48771         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48772         underflow.
48773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48775 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48777         [BZ #15304]
48778         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48779         Don't add gid passed as argument.
48781         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48783 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48785         [BZ #15307]
48786         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48787         imaginary part between 1.0 and 1.5 and real part less than 0.5
48788         specially.
48789         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48790         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48791         * math/libm-test.inc (cacos_test): Add more tests.
48792         (casin_test): Likewise.
48793         (casinh_test): Likewise.
48794         * sysdeps/i386/fpu/libm-test-ulps: Update.
48795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48797 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48799         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48800         constants.
48801         (norm): Likewise.
48802         (denorm): Likewise.
48803         (__dbl_mp): Likewise.
48804         (add_magnitudes): Likewise.
48805         (sub_magnitudes): Likewise.
48806         (__add): Likewise.
48807         (__sub): Likewise.
48808         (__mul): Likewise.
48809         (__sqr): Likewise.
48810         (__inv): Likewise.
48811         (__dvd): Likewise.
48813         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48814         commented code.
48815         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48816         (__dubcos): Likewise.
48817         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48818         (__ieee754_acos): Likewise.
48819         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48820         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48821         (__exp1): Likewise.
48822         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48824         (log1): Likewise.
48825         (my_log2): Likewise.
48826         (checkint): Likewise.
48827         * sysdeps/ieee754/dbl-64/e_remainder.c
48828         (__ieee754_remainder): Likewise.
48829         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48830         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48831         (bsloww): Likewise.
48832         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48834         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48835         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48836         MANTISSA_STORE_T to store computations on mantissa.  Use
48837         macros for rounding and division.
48838         (denorm): Likewise.
48839         (__dbl_mp): Likewise.
48840         (add_magnitudes): Likewise.
48841         (sub_magnitudes): Likewise.
48842         (__mul): Likewise.
48843         (__sqr): Likewise.
48844         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48845         powers of two in terms of TWOPOW macro.
48846         (mp_no): Make type of mantissa as MANTISSA_T.
48847         [!RADIXI]: Define RADIXI.
48848         [!TWO52]: Define TWO52.
48849         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48851 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48853         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48854         llroundl symbol when building for PPC32.
48856 2013-03-24  Mark H Weaver  <mhw@netris.org>
48858         * manual/arith.texi (Normalization Functions): Fix prototypes for
48859         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48861 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48863         [BZ #13889]
48864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48865         high value to check if expl overflow.
48866         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48867         to check for underflow and overflow.
48868         * math/libm-test.inc: Add exp test.
48870 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48872         [BZ #11120]
48873         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48874         with NOT_IN_libc.
48876 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48878         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48879         symbol.
48881 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48883         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48884         wrap blocks consisting of several statements.
48886         * sysdeps/generic/math-tests.h: New file.
48887         * sysdeps/i386/fpu/math-tests.h: Likewise.
48888         * math/test-snan.c: Include it.
48889         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48891 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48893         [BZ #15285]
48894         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48895         (__ieee754_j0l): Do not improve calculations using cos of twice
48896         input for inputs above LDBL_MAX / 2.0L.
48897         (__ieee754_y0l): Likewise.
48898         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48899         (__ieee754_j1l): Do not improve calculations using cos of twice
48900         input for inputs above LDBL_MAX / 2.0L.
48901         (__ieee754_y1l): Likewise.
48902         * math/libm-test.inc (j0_test): Add another test.
48903         (j1_test): Likewise.
48904         (y0_test): Likewise.
48905         (y1_test): Likewise.
48906         * sysdeps/i386/fpu/libm-test-ulps: Update.
48908 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48910         * Rules ($(objpfx)bench-%.c): Include code from a C source
48911         file.
48913 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48915         [BZ #15287]
48916         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48917         imaginary part 1.0 and real part less than 0.5 specially.
48918         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48919         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48920         * math/libm-test.inc (cacos_test): Add more tests.
48921         (casin_test): Likewise.
48922         (casinh_test): Likewise.
48923         * sysdeps/i386/fpu/libm-test-ulps: Update.
48924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48926 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48928         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48929         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48931 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48933         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48934         * config.make.in (config-cflags-sse4): Remove variable.
48935         (config-cflags-avx): Likewise.
48936         (config-cflags-sse2avx): Likewise.
48937         (config-cflags-novzeroupper): Likewise.
48938         (config-asflags-i686): Likewise.
48939         (have-mfma4): Likewise.
48940         (have-as-vis3): Likewise.
48941         (MIG): Likewise.
48942         * configure.in (MIG): Do not AC_SUBST.
48943         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48944         (libc_cv_cc_sse4): Do not AC_SUBST.
48945         (libc_cv_cc_avx): Likewise.
48946         (libc_cv_cc_sse2avx): Likewise.
48947         (libc_cv_cc_novzeroupper): Likewise.
48948         (libc_cv_cc_fma4): Likewise.
48949         (libc_cv_as_i686): Likewise.
48950         (libc_cv_sparc_as_vis3): Likewise.
48951         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48952         LIBC_CONFIG_VAR.
48953         (config-asflags-i686): Likewise.
48954         (config-cflags-avx): Likewise.
48955         (config-cflags-sse2avx): Likewise.
48956         (have-mfma4): Likewise.
48957         (config-cflags-novzeroupper): Likewise.
48958         * sysdeps/mach/configure.in (MIG): Likewise.
48959         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48960         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48961         LIBC_CONFIG_VAR.
48962         (config-cflags-avx): Likewise.
48963         (config-cflags-sse2avx): Likewise.
48964         (have-mfma4): Likewise.
48965         (config-cflags-novzeroupper): Likewise.
48966         * configure: Regenerated.
48967         * sysdeps/i386/configure: Likewise.
48968         * sysdeps/mach/configure: Likewise.
48969         * sysdeps/sparc/configure: Likewise.
48970         * sysdeps/x86_64/configure: Likewise.
48972 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48974         [BZ #14812]
48975         * locale/programs/localedef.c (options): Put N_ translation marker
48976         on argument names, not just descriptions.
48978 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48980         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48982 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48984         [BZ #14176]
48985         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48987 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48989         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48990         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48991         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48992         [!BEFORE_ABORT] (before_abort): New function.
48993         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48994         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48995         (writev_for_fatal): New function.
48996         (WRITEV_FOR_FATAL): New macro; call that.
48997         (backtrace_and_maps): New function.
48998         (BEFORE_ABORT): New macro; call that.
48999         (struct str_list): Type removed.
49000         (__libc_message, __libc_fatal): Functions removed.
49001         Include <sysdeps/posix/libc_fatal.c> instead.
49003 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49005         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49006         constants.
49007         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49008         double constants.
49010 2013-03-19  Andreas Schwab  <schwab@suse.de>
49012         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49013         * sysdeps/gnu/configure: Regenerate.
49015         * configure.in: Substitute libc_cv_rtlddir.
49016         * configure: Regenerate.
49017         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49018         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49019         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49020         * elf/Makefile (install-others, CFLAGS-interp.c)
49021         (ldso_install, common-ldd-rewrite): Likewise.
49022         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49023         $(inst_slibdir)/$(rtld-installed-name).
49024         * scripts/rellns-sh: Add -p option.
49025         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49026         for source.
49028 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49030         * manual/nptl.texi: Renamed to ...
49031         * manual/threads.texi: ... this.
49032         * manual/Makefile (chapters): Update.
49034 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49036         [BZ #14812]
49037         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49038         on argument names, not just descriptions.
49039         * malloc/memusagestat.c (options): Likewise.
49040         * nss/getent.c (options): Likewise.
49042 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49044         [BZ #14812]
49045         * iconv/iconv_prog.c (options): Put N_ translation marker
49046         on argument names, not just descriptions.
49047         * iconv/iconvconfig.c (options): Likewise.
49049 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49051         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49052         implementation which is faster on all x86_64 architectures.
49053         Tested on AMD, Intel Nehalem, SNB, IVB.
49054         * sysdeps/x86_64/strnlen.S: Likewise.
49056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49057         Remove all multiarch strlen and strnlen versions.
49058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49059         Remove strlen and strnlen related parts.
49061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49062         Inline strlen part.
49063         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49065         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49066         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49067         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49068         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49069         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49070         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49072 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49074         * manual/memory.texi (Malloc Tunable Parameters):
49075         Sort parameters alphabetically. Add comments for missing entries.
49077 2013-03-17  David S. Miller  <davem@davemloft.net>
49079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49081 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49083         [BZ #15283]
49084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49085         for arguments at most half maximum finite value.
49086         * math/libm-test.inc (j0_test): Add more tests.
49087         (j1_test): Likewise.
49088         (y0_test): Likewise.
49089         (y1_test): Likewise.
49090         * sysdeps/i386/fpu/libm-test-ulps: Update.
49091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49093         [BZ #14155]
49094         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49095         1 / x and functions P and Q for arguments above 0x1p256L.
49096         (__ieee754_y0l): Likewise.
49097         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49098         (__ieee754_y1l): Likewise.
49099         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49100         (j1_test): Likewise.
49101         (y0_test): Likewise.
49102         (y1_test): Likewise.
49104 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49106         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49107         variable.
49109 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49111         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49112         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49113         zero since it's initialized to EXEC_PAGESIZE.
49115         * sysdeps/unix/sysv/linux/ldsodefs.h
49116         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49117         * sysdeps/generic/ldsodefs.h: ... here.
49119 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49121         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49123         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49124         math/test-snan.c.
49125         * math/test-snan.c: Renamed from
49126         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49127         * math/Makefile (tests): Add test-snan.
49128         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49129         test-powerpc-snan.
49131         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49132         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49133         functions.
49134         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49135         __builtin_nan family of functions.
49136         * math/libm-test.inc (initialize): Initialize qnan_value with
49137         __builtin_nan family of functions.
49138         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49139         Remove variables.
49140         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49141         Remove functions.
49142         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49143         storage class.  Initialize qNaN_var and sNaN_var with
49144         __builtin_nan and __builtin_nans families of functions,
49145         respectively.
49147         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49148         (sqrt_test): Remove duplicate test with qNaN input.
49149         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49150         (round_test, signbit_test, significand_test): Note missing +/-Inf
49151         as well as qNaN tests.
49153         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49154         qNaN_var.  Fix a few strings, too.
49155         * math/libm-test.inc (nan_value): Rename to qnan_value.
49156         * math/gen-libm-test.pl (%beautify): Adjust to that.
49157         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49158         * math/test-misc.c (main): Likewise.
49159         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49160         to __qnan_bytes, and __qnan_union, respectively.
49161         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49162         Likewise.
49163         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49164         and lqnanval, respectively.
49165         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49166         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49167         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49168         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49170         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49171         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49172         doubles.
49174         * math/test-misc.c (main): Fix copy'n'pastos.
49175         * misc/tst-efgcvt.c (special): Likewise.
49177         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49178         Remove declarations.
49180 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49182         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49183         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49184         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49185         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49187 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49189         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49190         macro to return vdso values correctly in IFUNC implementations.
49191         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49192         Optimization by using IFUNC.
49194 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49195             Richard Henderson  <rth@redhat.com>
49196             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49198         * Makefile.in (bench): New target.
49199         * NEWS: Mention the benchmark framework.
49200         * Rules (bench): Likewise.
49201         (binaries-bench): Generate binaries for functions to
49202         benchmark.
49203         * benchtests/Makefile: New makefile for benchmark tests.
49204         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49205         programs.
49206         * benchtests/exp-inputs: New input file for EXP function.
49207         * benchtests/pow-inputs: New input file for POW function.
49208         * scripts/bench.pl: New script to generate source files for
49209         benchmark programs.
49211 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49213         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49214         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49215         computations on mantissa.  Use macros for rounding and
49216         division.
49217         (denorm): Likewise.
49218         (__dbl_mp): Likewise.
49219         (add_magnitudes): Likewise.
49220         (sub_magnitudes): Likewise.
49221         (__mul): Likewise.
49222         (__sqr): Likewise.
49223         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49224         powers of two in terms of TWOPOW macro.
49225         (mp_no): Make type of mantissa as MANTISSA_T.
49226         [!RADIXI]: Define RADIXI.
49227         [!TWO52]: Define TWO52.
49228         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49230         * manual/nptl.texi (cindex): Modify threads to pthreads.
49232 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49234         * sysdeps/x86_64/preconfigure: Regenerated.
49236 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49238         [BZ #14155]
49239         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49240         0x1p28 and above.
49241         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49242         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49243         0x1p28 and above.
49244         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49245         * math/libm-test.inc (j0_test): Do not allow one spurious
49246         underflow exception.
49247         (y1_test): Likewise.
49249 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49251         * manual/Makefile (chapters): Add nptl.
49252         * manual/debug.texi (Debugging Support): Add link to Threads
49253         chapter.
49254         * manual/nptl.texi: New file.
49256         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49258 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49260         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49261         for non-NULL pointer before the memory validity test. Pointed
49262         out by Holger Brunck <holger.brunck@keymile.com>.
49264 2013-03-13  Andreas Schwab  <schwab@suse.de>
49266         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49267         instead of .os.
49269 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49271         * timezone/zic.c: Update from tzcode 2013b.
49273 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49275         * manual/install.texi (Configuring and compiling):
49276         Mention i686 and i586.
49277         * INSTALL: Regenerate.
49279 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49281         * sysdeps/init_array/elf-init.c: New file.
49282         * csu/elf-init.c
49283         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49284         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49286         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49287         __gmon_start__ as global, but as static with a .preinit_array pointer.
49288         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49289         * sysdeps/init_array/crti.S: New file, empty except for comments.
49290         * sysdeps/init_array/crtn.S: Likewise.
49292 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49294         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49295         definining bcopy.
49296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49297         Remove Prefer_SSE_for_memop.
49298         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49299         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49300         HAS_PREFER_SSE_FOR_MEMOP.
49301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49302         memset-x86-64.
49303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49304         Remove bzero, memset ifunc support.
49305         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49306         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49307         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49308         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49310 2013-03-11  Andreas Schwab  <schwab@suse.de>
49312         [BZ #15234]
49313         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49314         by SHLIB_COMPAT.
49315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49316         (GLIBC_2.16): Remove pthread_atfork.
49318 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49320         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49321         (ptestcases.h): Likewise.
49323 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49325         * Makeconfig ($(common-objpfx)config.status): Depend on
49326         sysdeps/*/preconfigure{,.in} too.
49328 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49330         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49331         (__free_hook): Use void * instead of __malloc_ptr_t.
49332         (__malloc_hook): Likewise.
49333         (__realloc_hook): Likewise.
49334         (__memalign_hook): Likewise.
49335         (__after_morecore_hook): Likewise.
49336         * malloc/arena.c (save_malloc_hook): Likewise.
49337         (save_free_hook): Likewise.
49338         * malloc/hooks.c (malloc_hook_ini): Likewise.
49339         (realloc_hook_ini): Likewise.
49340         (memalign_hook_ini): Likewise.
49341         * malloc/malloc.c (malloc_hook_ini): Likewise.
49342         (realloc_hook_ini): Likewise.
49343         (memalign_hook_ini): Likewise.
49344         (__free_hook): Likewise.
49345         (__malloc_hook): Likewise.
49346         (__realloc_hook): Likewise.
49347         (__memalign_hook): Likewise.
49348         (__libc_malloc): Likewise.
49349         (__libc_free): Likewise.
49350         (__libc_realloc): Likewise.
49351         (__libc_memalign): Likewise.
49352         (__libc_valloc): Likewise.
49353         (__libc_pvalloc): Likewise.
49354         (__libc_calloc): Likewise.
49355         (__posix_memalign): Likewise.
49356         * malloc/morecore.c (__sbrk): Likewise.
49357         (__default_morecore): Likewise.
49359         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49361         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49362         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49363         __malloc_ptrdiff_t.
49365         * malloc/malloc.h (__malloc_size_t): Remove macro.
49366         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49367         __malloc_size_t.
49368         (old_memalign_hook): Likewise.
49369         (old_realloc_hook): Likewise.
49370         (struct hdr): Likewise.
49371         (flood): Likewise.
49372         (mallochook): Likewise.
49373         (memalignhook): Likewise.
49374         (reallochook): Likewise.
49375         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49376         (tr_old_realloc_hook): Likewise.
49377         (tr_old_memalign_hook): Likewise.
49378         (tr_mallochook): Likewise.
49379         (tr_reallochook): Likewise.
49380         (tr_memalignhook): Likewise.
49382 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49385         default_ldbl_pack and using as default implementation.
49386         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49387         implementation.
49388         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49389         redundant definition.
49390         (ldbl_insert_mantissa): Likewise.
49391         (ldbl_canonicalize): Likewise.
49392         (ldbl_nearbyint): Likewise.
49393         (ldbl_pack): Rename to ldbl_pack_ppc.
49394         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49395         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49396         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49398 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49401         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49402         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49403         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49406         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49407         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49409 2013-03-07  Andreas Jaeger  <aj@suse.de>
49411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49412         bits/mman-linux.h.
49414 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49416         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49417         Include mpa.h and declare __MPEXP.
49418         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49419         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49420         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49421         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49422         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49423         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49424         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49426         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49427         (__slowpow): Use long double EXPL and LOGL functions to
49428         compute POW.
49429         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49430         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49431         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49432         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49433         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49437         intermediate variable to calculate exponent.
49438         (__sqr): Likewise.
49439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49440         Likewise.
49441         (__sqr): Likewise.
49443         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49444         [!NO__SQR]: Define __sqr.
49445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49446         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49447         sysdeps/ieee754/dbl-64/mpa.c.
49448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49450         [BZ #12723]
49451         * posix/Makefile (tests): Add tst-pathconf.
49452         * posix/tst-pathconf.c: New test case.
49453         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49454         _PC_PIPE_BUF.
49455         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49457 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49459         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49461 2013-03-06  Andreas Jaeger  <aj@suse.de>
49463         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49464         definition via __MAP_ANONYMOUS.
49466         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49467         it's not part of Linux headers.
49469         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49470         (MAP_HUGE_MASK): Define.
49472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49473         Define.
49474         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49476         Define.
49477         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49478         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49479         Define.
49480         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49482         Define.
49483         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49485         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49486         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49487         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49488         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49489         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49490         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49492         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49493         Handle f2fs.
49495         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49496         Handle f2fs and efivarfs.
49498         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49499         f2fs.
49501         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49502         (EFIVARFS_MAGIC): Add.
49503         (F2FS_LINK_MAX): Add.
49505 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49507         * stdio-common/vfprintf.c: Replace __builtin_expect with
49508         __glibc_unlikely.
49510 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49512         [BZ #13550]
49513         * sysdeps/generic/bp-sym.h: Remove file.
49514         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49515         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49516         <bp-sym.h> and <bp-asm.h>.
49517         (__longjmp): Don't use BP_SYM.
49518         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49519         and <bp-asm.h>.
49520         (memcpy): Don't use BP_SYM.
49521         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49522         <bp-sym.h> and <bp-asm.h>.
49523         (memcpy): Don't use BP_SYM.
49524         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49525         <bp-asm.h>.
49526         (memcpy): Don't use BP_SYM.
49527         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49528         <bp-asm.h>.
49529         (memset): Don't use BP_SYM.
49530         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49531         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49532         (__bzero): Don't use BP_SYM.
49533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49535         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49536         <bp-sym.h> and <bp-asm.h>.
49537         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49538         pointers.
49539         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49540         <bp-sym.h> and <bp-asm.h>.
49541         (memcpy): Don't use BP_SYM.
49542         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49543         <bp-sym.h> and <bp-asm.h>.
49544         (memset): Don't use BP_SYM.
49545         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49546         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49547         (__bzero): Don't use BP_SYM.
49548         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49549         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49551         <bp-sym.h> and <bp-asm.h>.
49552         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49553         pointers.
49554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49555         <bp-sym.h> and <bp-asm.h>.
49556         (memcpy): Don't use BP_SYM.
49557         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49558         <bp-sym.h> and <bp-asm.h>.
49559         (memset): Don't use BP_SYM.
49560         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49561         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49562         (__bzero): Don't use BP_SYM.
49563         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49564         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49565         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49566         <bp-sym.h> and <bp-asm.h>.
49567         (__memchr): Don't use BP_SYM.
49568         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49569         <bp-sym.h> and <bp-asm.h>.
49570         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49571         pointers.
49572         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49573         <bp-sym.h> and <bp-asm.h>.
49574         (memcpy): Don't use BP_SYM.
49575         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49576         <bp-sym.h> and <bp-asm.h>.
49577         (__mempcpy): Don't use BP_SYM.
49578         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49579         <bp-sym.h> and <bp-asm.h>.
49580         (__memrchr): Don't use BP_SYM.
49581         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49582         <bp-sym.h> and <bp-asm.h>.
49583         (memset): Don't use BP_SYM.
49584         (__bzero): Likewise.
49585         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49586         <bp-sym.h> and <bp-asm.h>.
49587         (__rawmemchr): Don't use BP_SYM.
49588         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49589         <bp-sym.h> and <bp-asm.h>.
49590         (__STRCMP): Don't use BP_SYM.
49591         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49592         <bp-sym.h> and <bp-asm.h>.
49593         (strchr): Don't use BP_SYM.
49594         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49595         <bp-sym.h> and <bp-asm.h>.
49596         (__strchrnul): Don't use BP_SYM.
49597         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49598         <bp-sym.h> and <bp-asm.h>.
49599         (strlen): Don't use BP_SYM.
49600         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49601         <bp-sym.h> and <bp-asm.h>.
49602         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49603         pointers.
49604         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49605         <bp-sym.h> and <bp-asm.h>.
49606         (__strnlen): Don't use BP_SYM.
49607         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49608         <bp-sym.h> and <bp-asm.h>.
49609         (__GI__setjmp): Don't use BP_SYM.
49610         (_setjmp): Likewise.
49611         (__sigsetjmp): Likewise.
49612         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49613         (L(start_addresses)): Don't use BP_SYM.
49614         (_start): Likewise.
49615         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49616         <bp-asm.h>.
49617         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49618         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49619         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49620         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49621         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49622         <bp-asm.h>.
49623         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49624         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49625         about bounded pointers.
49626         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49627         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49628         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49629         <bp-asm.h>.
49630         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49631         about bounded pointers.  Remove GKM FIXME comments.
49632         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49633         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49634         <bp-asm.h>.
49635         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49636         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49637         Remove GKM FIXME comments.
49638         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49639         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49640         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49641         <bp-asm.h>.
49642         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49643         about bounded pointers.  Remove GKM FIXME comment.
49644         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49645         and <bp-asm.h>.
49646         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49647         pointers.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49649         <bp-sym.h> and <bp-asm.h>.
49650         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49652         <bp-sym.h> and <bp-asm.h>.
49653         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49654         comment.
49656 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49658         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49659         call free(NULL).
49661 2013-03-05  David S. Miller  <davem@davemloft.net>
49663         * po/es.po: Update from translation team.
49665 2013-03-05  Andreas Jaeger  <aj@suse.de>
49667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49668         <bits/mman-linux.h>.
49669         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49670         is fine.
49671         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49672         <bits/mman-linux.h> to end of file.
49673         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49674         is fine.
49675         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49676         <bits/mman-linux.h> to end of file.
49677         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49678         is fine.
49679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49680         <bits/mman-linux.h> to end of file.
49682         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49683         (MCL_CURRENT, MCL_FUTURE): Define here.
49685 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49687         [BZ #15232]
49688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49689         attribute_hidden.
49690         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49692 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49694         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49695         fourth parameter needed for rt_sigprocmask syscall.
49696         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49697         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49698         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49699         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49700         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49701         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49703 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49705         [BZ #13550]
49706         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49707         comment about bounded pointers.
49708         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49709         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49711 2013-03-04  Andreas Jaeger  <aj@suse.de>
49713         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49714         common definitions.
49716         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49717         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49718         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49719         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49720         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49723 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49725         [BZ #15055]
49726         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49727         __ieee754_sqrl instead of __sqrl.
49729 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49731         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49732         * sysdeps/powerpc/fpu_control.h: ... here.
49733         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49734         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49735         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49736         * sysdeps/powerpc/bits/mathinline.h: ... here.
49738 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49740         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49741         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49742         to just [NEED_DL_SYSINFO_DSO].
49743         * elf/dl-support.c: Likewise.
49744         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49745         * elf/rtld.c (dl_main): Likewise.
49746         * elf/setup-vdso.h (setup_vdso): Likewise.
49747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49748         * sysdeps/unix/sysv/linux/dl-sysdep.c
49749         (_dl_discover_osversion): Likewise.
49751 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49753         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49754         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49756 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49758         * NEWS: Mention libm performance improvements and non-x86 PI
49759         futex support.
49761         * csu/libc-start.c (__pthread_initialize_minimal): Change
49762         function arguments.
49763         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49765 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49767         [BZ #13550]
49768         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49769         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49770         <bp-sym.h> and <bp-asm.h>.
49771         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49772         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49773         and <bp-asm.h>.
49774         (memcpy): Don't use BP_SYM.
49775         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49776         <bp-asm.h>.
49777         (__mpn_add_n): Don't use BP_SYM.
49778         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49779         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49780         and <bp-asm.h>.
49781         (__mpn_addmul_1): Don't use BP_SYM.
49782         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49783         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49784         <bp-sym.h>.
49785         (_setjmp): Don't use BP_SYM.
49786         (__novmx_setjmp): Likewise.
49787         (__GI__setjmp): Likewise.
49788         (__vmx_setjmp): Likewise.
49789         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49790         <bp-sym.h>.
49791         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49792         (__bzero): Don't use BP_SYM.
49793         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49794         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49795         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49796         <bp-sym.h> and <bp-asm.h>.
49797         (memcpy): Don't use BP_SYM.
49798         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49799         <bp-sym.h> and <bp-asm.h>.
49800         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49801         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49802         <bp-sym.h> and <bp-asm.h>.
49803         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49804         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49805         <bp-asm.h>.
49806         (__mpn_lshift): Don't use BP_SYM.
49807         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49808         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49809         <bp-asm.h>.
49810         (memset): Don't use BP_SYM.
49811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49813         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49814         <bp-asm.h>.
49815         (__mpn_mul_1): Don't use BP_SYM.
49816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49818         <bp-sym.h> and <bp-asm.h>.
49819         (memcmp): Don't use BP_SYM.
49820         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49821         <bp-sym.h> and <bp-asm.h>.
49822         (memcpy): Don't use BP_SYM.
49823         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49824         <bp-sym.h> and <bp-asm.h>.
49825         (memset): Don't use BP_SYM.
49826         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49827         <bp-sym.h> and <bp-asm.h>.
49828         (strncmp): Don't use BP_SYM.
49829         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49830         <bp-sym.h> and <bp-asm.h>.
49831         (memcpy): Don't use BP_SYM.
49832         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49833         <bp-sym.h> and <bp-asm.h>.
49834         (memset): Don't use BP_SYM.
49835         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49836         <bp-sym.h> and <bp-asm.h>.
49837         (__memchr): Don't use BP_SYM.
49838         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49839         <bp-sym.h> and <bp-asm.h>.
49840         (memcmp): Don't use BP_SYM.
49841         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49842         <bp-sym.h> and <bp-asm.h>.
49843         (memcpy): Don't use BP_SYM.
49844         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49845         <bp-sym.h> and <bp-asm.h>.
49846         (__mempcpy): Don't use BP_SYM.
49847         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49848         <bp-sym.h> and <bp-asm.h>.
49849         (__memrchr): Don't use BP_SYM.
49850         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49851         <bp-sym.h> and <bp-asm.h>.
49852         (memset): Don't use BP_SYM.
49853         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49854         <bp-sym.h> and <bp-asm.h>.
49855         (__rawmemchr): Don't use BP_SYM.
49856         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49857         <bp-sym.h> and <bp-asm.h>.
49858         (__STRCMP): Don't use BP_SYM.
49859         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49860         <bp-sym.h> and <bp-asm.h>.
49861         (strchr): Don't use BP_SYM.
49862         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49863         <bp-sym.h> and <bp-asm.h>.
49864         (__strchrnul): Don't use BP_SYM.
49865         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49866         <bp-sym.h> and <bp-asm.h>.
49867         (strlen): Don't use BP_SYM.
49868         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49869         <bp-sym.h> and <bp-asm.h>.
49870         (strncmp): Don't use BP_SYM.
49871         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49872         <bp-sym.h> and <bp-asm.h>.
49873         (__strnlen): Don't use BP_SYM.
49874         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49875         <bp-asm.h>.
49876         (__mpn_rshift): Don't use BP_SYM.
49877         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49879         <bp-sym.h> and <bp-asm.h>.
49880         (__sigsetjmp): Don't use BP_SYM.
49881         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49882         (L(start_addresses)): Don't use BP_SYM.
49883         (_start): Likewise.
49884         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49885         <bp-asm.h>.
49886         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49887         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49888         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49889         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49890         <bp-asm.h>.
49891         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49892         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49893         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49894         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49895         <bp-asm.h>.
49896         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49897         comments.
49898         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49899         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49900         <bp-asm.h>.
49901         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49902         FIXME comments.
49903         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49904         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49905         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49906         <bp-asm.h>.
49907         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49908         comment.
49909         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49910         and <bp-asm.h>.
49911         (strncmp): Don't use BP_SYM,
49912         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49913         <bp-asm.h>.
49914         (__mpn_sub_n): Don't use BP_SYM.
49915         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49916         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49917         and <bp-asm.h>.
49918         (__mpn_submul_1): Don't use BP_SYM.
49919         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49921         <bp-sym.h> and <bp-asm.h>.
49922         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49924         <bp-sym.h> and <bp-asm.h>.
49925         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49926         comment.
49928 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49931         Use ZK to minimize writes to Z.
49932         (sub_magnitudes): Simplify code a bit.
49933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49934         Use ZK to minimize writes to Z.
49935         (sub_magnitudes): Simplify code a bit.
49937 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49939         * csu/gmon-start.c: Add special exception to license text.
49941 2013-02-27  Richard Henderson  <rth@redhat.com>
49943         * scripts/config.guess: Update from config.git.
49944         * scripts/config.sub: Likewise.
49946 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49950         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49952         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49954         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49956         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49958 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49960         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49961         [$(build-shared = yes].
49963 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49965         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49966         (__mul): Reduce iterations for calculating mantissa.
49968         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49969         MPTWO.
49970         (__mpranred): Likewise.
49972         [BZ #15160]
49973         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49974         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49976 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49978         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49979         Define __attribute__.
49981 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49983         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49984         unused.
49985         * posix/regex_internal.h (__attribute): Remove.
49986         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49987         (re_string_context_at): Likewise.
49988         (bitset_not): Use __attribute__ and mark function as possibly
49989         unused.
49990         (bitset_merge): Likewise.
49991         (bitset_mask): Likewise.
49992         (re_string_char_size_at): Likewise.
49993         (re_string_wchar_at): Likewise.
49994         (re_string_elem_size_at): Likewise.
49996 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49998         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49999         code.
50000         (cc32): Likewise.
50002         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50003         (__acr): Likewise.
50004         (__cpy): Likewise.
50005         (norm): Likewise.
50006         (denorm): Likewise.
50007         (__dbl_mp): Likewise.
50008         (add_magnitudes): Likewise.
50009         (sub_magnitudes): Likewise.
50010         (__mul): Likewise.
50011         (__inv): Likewise.
50013         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50014         style.
50016         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50017         style.
50019         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50020         code.
50022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50023         up changes with default code.
50024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50025         Likewise.
50027 2013-02-24  Allan McRae  <allan@archlinux.org>
50029         * manual/socket.texi (The Internet Namespace): Order menu items
50030         to match that in the file.
50032         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50033         node listing of the info page menu.
50035 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50037         [BZ #13550]
50038         * sysdeps/i386/bp-asm.h: Remove file.
50039         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50040         (PARMS): Do not use macros from bp-asm.h.
50041         (S1): Likewise.
50042         (S2): Likewise.
50043         (SIZE): Likewise.
50044         (__mpn_add_n): Do not use BP_SYM
50045         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50046         "bp-asm.h".
50047         (PARMS): Do not use macros from bp-asm.h.
50048         (S1): Likewise.
50049         (SIZE): Likewise.
50050         (__mpn_addmul_1): Do not use BP_SYM
50051         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50052         "bp-asm.h".
50053         (PARMS): Do not use macros from bp-asm.h.
50054         (SIGMSK): Likewise.
50055         (_setjmp): Likewise.  Do not use BP_SYM.
50056         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50057         "bp-asm.h".
50058         (PARMS): Do not use macros from bp-asm.h.
50059         (SIGMSK): Likewise.
50060         (setjmp): Likewise.  Do not use BP_SYM.
50061         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50062         "bp-asm.h".
50063         (PARMS): Do not use macros from bp-asm.h.
50064         (__frexp): Do not use BP_SYM.
50065         (frexp): Likewise.
50066         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50067         "bp-asm.h".
50068         (PARMS): Do not use macros from bp-asm.h.
50069         (__frexpf): Do not use BP_SYM.
50070         (frexpf): Likewise.
50071         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50072         "bp-asm.h".
50073         (PARMS): Do not use macros from bp-asm.h.
50074         (__frexpl): Do not use BP_SYM.
50075         (frexpl): Likewise.
50076         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50077         "bp-asm.h".
50078         (PARMS): Do not use macros from bp-asm.h.
50079         (__remquo): Do not use BP_SYM.
50080         (remquo): Likewise.
50081         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50082         "bp-asm.h".
50083         (PARMS): Do not use macros from bp-asm.h.
50084         (__remquof): Do not use BP_SYM.
50085         (remquof): Likewise.
50086         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50087         "bp-asm.h".
50088         (PARMS): Do not use macros from bp-asm.h.
50089         (__remquol): Do not use BP_SYM.
50090         (remquol): Likewise.
50091         * sysdeps/i386/i486/strcat.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         (SRC): Likewise.
50096         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50097         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50098         "bp-asm.h".
50099         (PARMS): Do not use macros from bp-asm.h.
50100         (strlen): Do not use BP_SYM.
50101         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50102         "bp-asm.h".
50103         (PARMS): Do not use macros from bp-asm.h.
50104         (S1): Likewise.
50105         (S2): Likewise.
50106         (SIZE): Likewise.
50107         (__mpn_add_n): Do not use BP_SYM.
50108         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50109         "bp-asm.h".
50110         (PARMS): Do not use macros from bp-asm.h.
50111         (S1): Likewise.
50112         (SIZE): Likewise.
50113         (__mpn_addmul_1): Do not use BP_SYM.
50114         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50115         weak_alias.
50116         (bzero): Likewise.
50117         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50118         "bp-asm.h".
50119         (PARMS): Do not use macros from bp-asm.h.
50120         (S): Likewise.
50121         (SIZE): Likewise.
50122         (__mpn_lshift): Do not use BP_SYM.
50123         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50124         "bp-asm.h".
50125         (PARMS): Do not use macros from bp-asm.h.
50126         (DEST): Likewise.
50127         (SRC): Likewise.
50128         (LEN): Likewise.
50129         (memcpy): Likewise.  Do not use BP_SYM.
50130         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50131         libc_hidden_def and weak_alias.
50132         (mempcpy): Do not use BP_SYM in weak_alias.
50133         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50134         "bp-asm.h".
50135         (PARMS): Do not use macros from bp-asm.h.
50136         (DEST): Likewise.
50137         (LEN): Likewise.
50138         [!BZERO_P] (CHR): Likewise.
50139         (memset): Likewise.  Do not use BP_SYM.
50140         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
50145         (__mpn_mul_1): Do not use BP_SYM.
50146         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50147         "bp-asm.h".
50148         (PARMS): Do not use macros from bp-asm.h.
50149         (S): Likewise.
50150         (SIZE): Likewise.
50151         (__mpn_rshift): Do not use BP_SYM.
50152         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50153         "bp-asm.h".
50154         (PARMS): Do not use macros from bp-asm.h.
50155         (STR): Likewise.
50156         (CHR): Likewise.
50157         (strchr): Likewise.  Do not use BP_SYM.
50158         (index): Do not use BP_SYM in weak_alias.
50159         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50160         "bp-asm.h".
50161         (PARMS): Do not use macros from bp-asm.h.
50162         (DEST): Likewise.
50163         (SRC): Likewise.
50164         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50165         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50166         "bp-asm.h".
50167         (PARMS): Do not use macros from bp-asm.h.
50168         (strlen): Do not use BP_SYM.
50169         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50170         "bp-asm.h".
50171         (PARMS): Do not use macros from bp-asm.h.
50172         (S1): Likewise.
50173         (S2): Likewise.
50174         (SIZE): Likewise.
50175         (__mpn_sub_n): Do not use BP_SYM.
50176         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50177         "bp-asm.h".
50178         (PARMS): Do not use macros from bp-asm.h.
50179         (S1): Likewise.
50180         (SIZE): Likewise.
50181         (__mpn_submul_1): Do not use BP_SYM.
50182         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50183         "bp-asm.h".
50184         (PARMS): Do not use macros from bp-asm.h.
50185         (S1): Likewise.
50186         (S2): Likewise.
50187         (SIZE): Likewise.
50188         (__mpn_add_n): Do not use BP_SYM.
50189         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50190         weak_alias.
50191         (bzero): Likewise.
50192         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50193         "bp-asm.h".
50194         (PARMS): Do not use macros from bp-asm.h.
50195         (BLK2): Likewise.
50196         (LEN): Likewise.
50197         (memcmp): Do not use BP_SYM.
50198         (bcmp): Do not use BP_SYM in weak_alias.
50199         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50200         "bp-asm.h".
50201         (PARMS): Do not use macros from bp-asm.h.
50202         (DEST): Likewise.
50203         (SRC): Likewise.
50204         (LEN): Likewise.
50205         (memcpy): Likewise.  Do not use BP_SYM.
50206         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50207         "bp-asm.h".
50208         (PARMS): Do not use macros from bp-asm.h.
50209         (DEST): Likewise.
50210         (SRC): Likewise.
50211         (LEN): Likewise.
50212         (memmove): Likewise.  Do not use BP_SYM.
50213         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50214         "bp-asm.h".
50215         (PARMS): Do not use macros from bp-asm.h.
50216         (DEST): Likewise.
50217         (SRC): Likewise.
50218         (LEN): Likewise.
50219         (__mempcpy): Likewise.  Do not use BP_SYM.
50220         (mempcpy): Do not use BP_SYM in weak_alias.
50221         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50222         "bp-asm.h".
50223         (PARMS): Do not use macros from bp-asm.h.
50224         (DEST): Likewise.
50225         (LEN): Likewise.
50226         [!BZERO_P] (CHR): Likewise.
50227         (memset): Likewise.  Do not use BP_SYM.
50228         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50229         "bp-asm.h".
50230         (PARMS): Do not use macros from bp-asm.h.
50231         (STR2): Likewise.
50232         (strcmp): Do not use BP_SYM.
50233         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50234         "bp-asm.h".
50235         (PARMS): Do not use macros from bp-asm.h.
50236         (STR): Likewise.
50237         (DELIM): Likewise.
50238         [USE_AS_STRTOK_R] (SAVE): Likewise.
50239         (FUNCTION): Likewise.  Do not use BP_SYM.
50240         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50241         aliases.
50242         (strtok_r): Likewise.
50243         (__GI___strtok_r): Likewise.
50244         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50245         (PARMS): Do not use macros from bp-asm.h.
50246         (S): Likewise.
50247         (SIZE): Likewise.
50248         (__mpn_lshift): Do not use BP_SYM.
50249         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50250         (PARMS): Do not use macros from bp-asm.h.
50251         (STR): Likewise.
50252         (CHR): Likewise.
50253         (__memchr): Do not use BP_SYM.
50254         (memchr): Do not use BP_SYM in weak_alias.
50255         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50256         (PARMS): Do not use macros from bp-asm.h.
50257         (BLK2): Likewise.
50258         (LEN): Likewise.
50259         (memcmp): Do not use BP_SYM.
50260         (bcmp): Do not use BP_SYM in weak_alias.
50261         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50262         (PARMS): Do not use macros from bp-asm.h.
50263         (S1): Likewise.
50264         (SIZE): Likewise.
50265         (__mpn_mul_1): Do not use BP_SYM.
50266         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50267         "bp-asm.h".
50268         (PARMS): Do not use macros from bp-asm.h.
50269         (STR): Likewise.
50270         (CHR): Likewise.
50271         (__rawmemchr): Do not use BP_SYM.
50272         (rawmemchr): Do not use BP_SYM in weak_alias.
50273         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50274         (PARMS): Do not use macros from bp-asm.h.
50275         (S): Likewise.
50276         (SIZE): Likewise.
50277         (__mpn_rshift): Do not use BP_SYM.
50278         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50279         (PARMS): Do not use macros from bp-asm.h.
50280         (SIGMSK): Likewise.
50281         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50282         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50283         (_start): Do not use BP_SYM.
50284         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50285         (PARMS): Do not use macros from bp-asm.h.
50286         (DEST): Likewise.
50287         (SRC): Likewise.
50288         (__stpcpy): Likewise.  Do not use BP_SYM.
50289         (stpcpy): Do not use BP_SYM in weak_alias.
50290         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50291         "bp-asm.h".
50292         (PARMS): Do not use macros from bp-asm.h.
50293         (DEST): Likewise.
50294         (SRC): Likewise.
50295         (LEN): Likewise.
50296         (__stpncpy): Likewise.  Do not use BP_SYM.
50297         (stpncpy): Do not use BP_SYM in weak_alias.
50298         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50299         (PARMS): Do not use macros from bp-asm.h.
50300         (STR): Likewise.
50301         (CHR): Likewise.
50302         (strchr): Likewise.  Do not use BP_SYM.
50303         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50304         "bp-asm.h".
50305         (PARMS): Do not use macros from bp-asm.h.
50306         (STR): Likewise.
50307         (CHR): Likewise.
50308         (__strchrnul): Likewise.  Do not use BP_SYM.
50309         (strchrnul): Do not use BP_SYM in weak_alias.
50310         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50311         "bp-asm.h".
50312         (PARMS): Do not use macros from bp-asm.h.
50313         (STOP): Likewise.
50314         (strcspn): Do not use BP_SYM.
50315         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50316         "bp-asm.h".
50317         (PARMS): Do not use macros from bp-asm.h.
50318         (STR): Likewise.
50319         (STOP): Likewise.
50320         (strpbrk): Likewise.  Do not use BP_SYM.
50321         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50322         "bp-asm.h".
50323         (PARMS): Do not use macros from bp-asm.h.
50324         (STR): Likewise.
50325         (CHR): Likewise.
50326         (strrchr): Likewise.  Do not use BP_SYM.
50327         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50328         (PARMS): Do not use macros from bp-asm.h.
50329         (SKIP): Likewise.
50330         (strspn): Do not use BP_SYM.
50331         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50332         (PARMS): Do not use macros from bp-asm.h.
50333         (STR): Likewise.
50334         (DELIM): Likewise.
50335         (SAVE): Likewise.
50336         (FUNCTION): Likewise.  Do not use BP_SYM.
50337         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50338         aliases.
50339         (strtok_r): Likewise.
50340         (__GI___strtok_r): Likewise.
50341         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50342         (PARMS): Do not use macros from bp-asm.h.
50343         (S1): Likewise.
50344         (S2): Likewise.
50345         (SIZE): Likewise.
50346         (__mpn_sub_n): Do not use BP_SYM.
50347         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50348         "bp-asm.h".
50349         (PARMS): Do not use macros from bp-asm.h.
50350         (S1): Likewise.
50351         (SIZE): Likewise.
50352         (__mpn_submul_1): Do not use BP_SYM.
50353         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50354         <bp-sym.h>.
50355         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50356         and <bp-asm.h>.
50357         (PARMS): Do not use macros from bp-asm.h.
50358         (FLAGS): Likewise.
50359         (PTID): Likewise.
50360         (TLS): Likewise.
50361         (CTID): Likewise.
50362         (__clone): Do not use BP_SYM.
50363         (clone): Do not use BP_SYM in weak_alias.
50364         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50365         and <bp-asm.h>.
50366         (PARMS): Do not use macros from bp-asm.h.
50367         (LEN): Likewise.
50368         (__mmap64): Do not use BP_SYM.
50369         (mmap64): Do not use BP_SYM in weak_alias.
50370         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50371         <bp-sym.h> and <bp-asm.h>.
50372         (PARMS): Do not use macros from bp-asm.h.
50373         (__posix_fadvise64_l64): Do not use BP_SYM.
50374         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50375         (PARMS): Do not use macros from bp-asm.h.
50376         (NSOPS): Likewise.
50377         (semtimedop): Do not use BP_SYM.
50378         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50379         and <bp-asm.h>.
50381 2013-02-21  Allan McRae  <allan@archlinux.org>
50383         * manual/message.texi (Charset conversion in gettext):
50384         Move @end statement to beginning of line.
50386 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50389         static.
50390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50391         Likewise.
50393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50394         (denorm): Likewise.
50395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50398 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50400         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50401         tail-call to the resolved function if pltexit isn't needed.
50403 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50406         or Y being zero as being unlikely.
50407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50408         Likewise.
50410 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50412         * manual/nss.texi (System Databases and Name Service Switch):
50413         Remove frobnicate @pxref.
50415 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50417         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50418         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50420 2013-02-20  Petr Machata  <pmachata@redhat.com>
50422         * elf/elf.h (R_ARM_TARGET1): New macro.
50423         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50424         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50425         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50426         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50427         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50428         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50429         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50430         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50431         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50432         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50433         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50434         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50435         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50436         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50437         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50438         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50439         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50440         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50441         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50442         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50443         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50444         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50445         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50446         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50447         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50448         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50449         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50450         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50451         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50452         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50453         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50454         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50455         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50456         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50457         (R_ARM_THM_GOT_BREL12): Likewise.
50458         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50459         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50460         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50461         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50462         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50463         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50464         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50465         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50466         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50468 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50470         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50471         __attribute_used__ to __attribute__ ((unused)).
50473 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50475         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50476         powerpc mpa.c.
50477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50478         comment formatting.
50479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50481 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50483         [BZ #13550]
50484         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50485         Remove macro.
50486         (ENTER): Remove both macro definitions.
50487         (LEAVE): Likewise.
50488         (CHECK_BOUNDS_LOW): Likewise.
50489         (CHECK_BOUNDS_HIGH): Likewise.
50490         (CHECK_BOUNDS_BOTH): Likewise.
50491         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50492         (RETURN_BOUNDED_POINTER): Likewise.
50493         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50494         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50495         (POP_ERRNO_LOCATION_RETURN): Likewise.
50496         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50497         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50498         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50499         macros.
50500         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50501         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50502         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50503         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50504         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50505         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50506         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50507         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50508         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50509         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50510         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50511         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50512         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50513         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50514         removed macros.
50515         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50516         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50517         macros.
50518         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50519         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50520         * sysdeps/i386/i586/memset.S (memset): Likewise.
50521         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50522         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50523         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50524         macros.
50525         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50526         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50527         Change uses of L(2) to L(out).
50528         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50529         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50530         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50531         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50532         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50533         removed macros.
50534         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50535         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50536         macros.
50537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50538         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50539         (RETURN): Do not use macro LEAVE.
50540         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50541         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50542         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50543         * sysdeps/i386/i686/memset.S (memset): Likewise.
50544         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50545         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50546         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50547         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50548         Likewise.
50549         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50550         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50551         L(1_2) and L(1_3) into L(1).
50552         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50553         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50554         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50555         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50556         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50557         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50558         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50559         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50560         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50561         macros.
50562         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50563         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50564         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50565         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50566         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50567         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50568         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50569         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50570         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50571         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50572         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50573         * sysdeps/i386/strspn.S (strspn): Likewise.
50574         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50575         conditional code.
50576         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50577         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50578         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50579         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50580         L(1_3) into L(1_1).
50581         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50582         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50583         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50584         macros.
50585         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50587 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50589         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50590         macro.
50592 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50594         * math/atest-exp.c (exp_mpn): Remove ROUND.
50595         * math/atest-exp2.c (exp_mpn): Likewise.
50596         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50598         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50599         * stdlib/tst-tls-atexit-lib.c: Likewise.
50600         * stdlib/tst-tls-atexit.c: Likewise.
50602 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50604         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50605         and __attribute_alloc_size__.
50607 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50609         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50610         __attribute_alloc_size__.
50611         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50612         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50614 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50616         * include/programs/xmalloc.h: New file.
50617         * catgets/gencat.c: Include it.
50618         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50619         * elf/pldd.c: Likewise.
50620         * iconv/iconv_charmap.c: Likewise.
50621         * iconv/iconvconfig.c: Likewise.
50622         * iconv/strtab.c: Likewise.
50623         * locale/programs/locale.c: Likewise.
50624         * locale/programs/localedef.h: Likewise.
50625         * locale/programs/simple-hash.c: Likewise.
50626         * nscd/nscd.h: Likewise.
50627         * nss/makedb.c: Likewise.
50628         * sysdeps/generic/ldconfig.h: Likewise.
50630 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50632         * Versions.def: Add GLIBC_2.18.
50633         * include/link.h (struct link_map): New member l_tls_dtor_count.
50634         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50635         (__call_tls_dtors): Likewise.
50636         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50637         __cxa_thread_atexit_impl.
50638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50639         Likewise.
50640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50641         Likewise.
50642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50643         Likewise.
50644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50645         Likewise.
50646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50648         Likewise.
50649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50650         Likewise.
50651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50653         Likewise.
50654         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50655         (tests): Add test case tst-tls-atexit.
50656         (modules-names): Add shared library for tst-tls-atexit.
50657         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50658         (GLIBC_PRIVATE): Add __call_tls_dtors.
50659         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50660         for libstdc++.
50661         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50662         * stdlib/tst-tls-atexit.c: New test case.
50663         * stdlib/tst-tls-atexit-lib.c: New test case.
50665         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50667         * elf/Versions (ld): Add _dl_find_dso_for_object.
50668         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50669         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50670         (dl_open_worker): Use _dl_find_dso_for_object.
50671         * elf/dl-sym.c (do_sym): Likewise.
50672         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50674 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50676         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50677         Syntactic changes only.
50678         (_dl_runtime_profile): Do a tail-call to the resolved function.
50680 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50682         [BZ #13550]
50683         * sysdeps/x86_64/bp-asm.h: Remove file.
50684         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50685         <bp-sym.h> and <bp-asm.h>.
50686         (__clone): Do not use BP_SYM.
50687         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50688         <bp-sym.h> and <bp-asm.h>.
50689         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50690         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50691         "bp-asm.h".
50692         (_setjmp): Do not use BP_SYM.
50693         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50694         "bp-asm.h".
50695         (setjmp): Do not use BP_SYM.
50696         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50697         libc_hidden_def.
50698         (mempcpy): Do not use BP_SYM in weak_alias.
50699         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50700         "bp-asm.h".
50701         (strchr): Do not use BP_SYM.
50702         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50703         "bp-asm.h".
50704         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50705         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50706         (_start): Do not use BP_SYM.
50707         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50708         "bp-asm.h".
50709         (strcat): Do not use BP_SYM.
50710         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50711         "bp-asm.h".
50712         (STRCMP): Do not use BP_SYM.
50713         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50714         "bp-asm.h".
50715         (STRCPY): Do not use BP_SYM.
50716         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50717         "bp-asm.h".
50718         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50719         "bp-asm.h".
50720         (FUNCTION): Do not use BP_SYM.
50721         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50722         weak_alias.
50723         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50725 2013-02-17  Andreas Jaeger  <aj@suse.de>
50727         * time/Versions: Sort entries.
50728         * string/Versions: Likewise.
50729         * resolv/Versions: Likewise.
50730         * posix/Versions: Likewise.
50731         * iconv/Versions: Likewise.
50732         * elf/Versions: Likewise.
50733         * wcsmbs/Versions: Likewise.
50735 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50737         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50738         loop termination condition.
50740         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50741         variable to calculate EZ.
50742         (__sqr): Likewise.
50744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50745         the lower precision input.
50747 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50749         [BZ #13550]
50750         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50751         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50752         (run-via-rtld-prefix): Do not handle %-bp tests.
50753         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50754         (all-object-suffixes): Remove .ob.
50755         (bppfx): Remove variable.
50756         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50757         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50758         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50759         [$(build-bounded) = yes] (libtype.ob): Likewise.
50760         * Makerules (elide-routines.ob): Remove variable.
50761         (do-tests-clean): Do not handle *-bp.out.
50762         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50763         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50764         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50765         (tests): Do not include $(tests-bp.out).
50766         (xtests): Do not include $(xtests-bp.out).
50767         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50768         [$(build-bounded) = yes] ($(addprefix
50769         $(objpfx),$(binaries-bounded))): Remove rule.
50770         ($(objpfx)%-bp.out): Remove rule.
50771         * config.make.in (build-bounded): Remove variable.
50772         * crypt/Makefile [$(build-bounded) = yes]
50773         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50774         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50775         append to variable.
50776         [$(build-bounded) = yes] (install-lib): Likewise.
50777         [$(build-bounded) = yes] (generated): Likewise.
50778         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50779         Remove rule.
50780         * intl/Makefile [$(build-bounded) = yes]
50781         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50782         * math/Makefile [$(build-bounded) = yes]
50783         ($(tests:%=$(objpfx)%-bp): Likewise.
50784         * misc/Makefile [$(build-bounded) = yes]
50785         ($(objpfx)tst-tsearch-bp): Likewise.
50786         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50787         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50788         Remove dependency.
50789         * string/Makefile (o-objects.ob): Remove variable.
50790         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50791         (CFLAGS-.ob): Remove variable.
50792         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50793         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50794         both definitions of variable.
50795         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50796         (ASFLAGS-.ob): Remove variable.
50798 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50800         [BZ #13550]
50801         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50802         Remove __BOUNDED_POINTERS__ from condition.
50803         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50804         * string/bits/string2.h [!__NO_STRING_INLINES &&
50805         !__BOUNDED_POINTERS__]: Likewise.
50806         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50807         Likewise.
50808         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50809         Remove conditional code.
50810         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50811         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50812         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50813         condition.
50815         [BZ #13550]
50816         * csu/libc-start.c: Do not include <bp-sym.h>.
50817         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50818         * elf/dl-open.c: Do not include <bp-sym.h>.
50819         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50820         * math/fegetenv.c: Do not include <bp-sym.h>.
50821         (fegetenv): Do not use BP_SYM in versioned symbols.
50822         * nptl/sysdeps/pthread/bits/libc-lockP.h
50823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50824         <bp-sym.h>.
50825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50826         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50828         (__pthread_mutex_destroy): Likewise.
50829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50830         (__pthread_mutex_lock): Likewise.
50831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50832         (__pthread_mutex_trylock): Likewise.
50833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50834         (__pthread_mutex_unlock): Likewise.
50835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50836         (__pthread_mutexattr_init): Likewise.
50837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50838         (__pthread_mutexattr_destroy): Likewise.
50839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50840         (__pthread_mutexattr_settype): Likewise.
50841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50842         (__pthread_rwlock_init): Likewise.
50843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50844         (__pthread_rwlock_destroy): Likewise.
50845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50846         (__pthread_rwlock_rdlock): Likewise.
50847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50848         (__pthread_rwlock_tryrdlock): Likewise.
50849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50850         (__pthread_rwlock_wrlock): Likewise.
50851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50852         (__pthread_rwlock_trywrlock): Likewise.
50853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50854         (__pthread_rwlock_unlock): Likewise.
50855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50856         (__pthread_key_create): Likewise.
50857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50858         (__pthread_setspecific): Likewise.
50859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50860         (__pthread_getspecific): Likewise.
50861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50862         Likewise.
50863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50864         (_pthread_cleanup_push_defer): Likewise.
50865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50866         (_pthread_cleanup_pop_restore): Likewise.
50867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50868         (pthread_setcancelstate): Likewise.
50869         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50870         <bp-sym.h>.
50871         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50872         (memchr): Do not use BP_SYM in weak_alias.
50873         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50874         (fegetenv): Do not use BP_SYM in versioned symbols.
50875         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50876         (fesetenv): Do not use BP_SYM in versioned symbols.
50877         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50878         (feupdateenv): Do not use BP_SYM in versioned symbols.
50879         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50880         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50881         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50882         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50883         (open64): Do not use BP_SYM in weak_alias.
50884         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50885         (fegetenv): Do not use BP_SYM in versioned symbols.
50886         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50887         (fesetenv): Do not use BP_SYM in versioned symbols.
50888         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50889         (feupdateenv): Do not use BP_SYM in versioned symbols.
50890         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50891         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50892         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50893         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50894         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50895         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50896         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50897         <bp-sym.h>.
50898         (__libc_start_main): Do not use BP_SYM.
50900 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50903         redundant return line.
50904         (norm): Likewise.
50905         (denorm): Likewise.
50906         (dbl_mp): Likewise.
50907         (sub_magnitudes): Likewise.
50908         (__add): Likewise.
50909         (__sub): Likewise.
50910         (__mul): Likewise.
50911         (__inv): Likewise.
50912         (__dvd): Likewise.
50913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50914         (norm): Likewise.
50915         (denorm): Likewise.
50916         (dbl_mp): Likewise.
50917         (sub_magnitudes): Likewise.
50918         (__add): Likewise.
50919         (__sub): Likewise.
50920         (__mul): Likewise.
50921         (__inv): Likewise.
50922         (__dvd): Likewise.
50924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50925         instead of __mul.
50926         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50927         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50928         (cc32): Likewise.
50930         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50931         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50933         of __mul for squares.
50934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50935         function
50936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50937         Likewise.
50938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50939         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50941 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50943         [BZ #13550]
50944         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50945         code.
50946         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50947         prototype or function definition.  Rename ubp_* variables and
50948         parameters.  Remove argv definitions conditional on
50949         [__BOUNDED_POINTERS__].
50950         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50951         * elf/dl-runtime.c (_dl_fixup): Likewise.
50952         * include/set-hooks.h (RUN_HOOK): Likewise.
50953         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50954         definition.
50955         * string/strcpy.c (strcpy): Do not use __unbounded.
50956         * sysdeps/generic/frame.h (struct layout): Likewise.
50957         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50958         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50959         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50960         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50961         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50962         (__backtrace): Likewise.
50963         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50964         use __ptrvalue.
50965         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50966         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50967         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50968         Likewise.
50969         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50970         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50971         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50972         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50973         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50974         Do not use __unbounded.
50975         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50976         Rename __unboundedrlimits parameter to rlimits in prototype.
50977         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50978         Do not use __unbounded.
50979         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50980         not use __ptrvalue.
50981         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50982         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50983         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50985         __ptrvalue or __unbounded.
50986         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50987         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50988         use __unbounded.
50989         (__new_msgctl): Do not use __ptrvalue.
50990         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50991         __unbounded.
50992         (__libc_msgrcv): Do not use __ptrvalue.
50993         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50994         startup_info): Do not use __unbounded.
50995         (__libc_start_main): Likewise.  Rename ubp_* variables and
50996         parameters.  Remove argv definitions conditional on
50997         [__BOUNDED_POINTERS__].
50998         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50999         __ptrvalue.
51000         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51001         use __unbounded.
51002         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51003         or __ptrvalue.
51004         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51005         use __unbounded.
51006         (__new_shmctl): Do not use __ptrvalue.
51007         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51008         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51009         Likewise.
51010         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51012         (__libc_sigaction): Likewise.
51013         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51014         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51015         Likewise.
51016         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51018 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51020         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51022         * string/mempcpy.c: Implement by calling memcpy.
51024 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51029         evaluation.
51031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51032         values in the mantissa.
51034         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51035         minimize writes to Z.
51036         (sub_magnitudes): Simplify code a bit.
51038 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51040         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51041         from the message.  The linker prefixes all warnings with that already.
51043 2013-02-12  Andreas Schwab  <schwab@suse.de>
51045         [BZ #15078]
51046         * posix/regexec.c (extend_buffers): Add parameter min_len.
51047         (check_matching): Pass minimum needed length.
51048         (clean_state_log_if_needed): Likewise.
51049         (get_subexp): Likewise.
51050         * posix/Makefile (tests): Add bug-regex34.
51051         (bug-regex34-ENV): Define.
51052         * posix/bug-regex34.c: New file.
51054         [BZ #11561]
51055         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51056         elements compare against the byte sequence of it, not its name.
51057         * posix/Makefile (tests): Add bug-regex35.
51058         (bug-regex35-ENV): Define.
51059         * posix/bug-regex35.c: New file.
51061 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51063         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51064         comment.
51065         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51066         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51067         (CHECK_EOL): Add undef.
51069 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51071         * bits/stdlib-bsearch.h: New file.
51072         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51073         * stdlib/stdlib.h: Likewise.
51075 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51077         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51078         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51079         declaration.
51080         * manual/search.texi (Array Search Function): Add missing const in
51081         lfind prototype.
51082         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51083         declaration to use rlim_t.
51084         (Basic Scheduling Functions): Remove erroneous const from
51085         sched_getparam prototype.  Remove erroneous * from
51086         sched_get_priority_max and sched_get_priority_min prototypes.
51087         (Resource Usage): Fix summary @comment on vtimes to refer to
51088         sys/vtimes.h rather than vtimes.h.
51089         Add missing *s in vtimes prototype.
51090         (Limits on Resources): Fix ulimit prototype to return long int.
51091         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51092         prototypes to use long int rather than double.
51093         (BSD Random): Fix initstate and setstate to use char *, not void *.
51094         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51095         prototype to make second argument 'struct aiocb64 *const[]'.
51096         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51097         (Status of AIO Operations): Remove erroneous const in aio_return and
51098         aio_return64 prototypes.
51099         (Synchronizing I/O): Fix sync prototype to return void.
51100         * manual/startup.texi (Suboptions): Remove an erroneous const in
51101         getsubopt prototype.
51102         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51103         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51104         use size_t rather than int.
51105         (Scanning All Users): Likewise for getpwent_r.
51106         (Setting Groups): Add missing const to setgroups prototype.
51107         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51108         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51109         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51110         'const void *' rather than 'const char *'.
51111         (Host Address Functions): Likewise for inet_ntop.
51112         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51113         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51114         ssize_t for return value.
51115         (Sending Data): Likewise for send, sendto, sendmsg.
51116         (Socket Option Functions): Add a missing const in setsockopt prototype.
51117         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51118         use wchar_t for the argument.
51119         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51120         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51121         take no arguments.
51122         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51123         double/float/long double for second argument.
51124         Fix return types of significand, significandf, significandl.
51125         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51126         argument in fchmod prototype.
51127         (File Owner): Use uid_t and gid_t in fchown prototype.
51128         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51129         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51130         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51131         use 'const struct dirent **' as argument types to CMP function pointer
51132         argument.
51133         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51134         (File Times): Fix summary magic @comment for struct utimbuf and utime
51135         to refer to utime.h, not time.h.
51136         * manual/string.texi (Argz Functions): Add missing const in
51137         argz_extract and argz_next prototypes.
51138         (Finding Tokens in a String): Likewise for basename.
51139         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51140         (Copying and Concatenation): Fix typo in wmemmove prototype.
51141         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51142         (Signal Stack): Remove erroneous const in sigstack prototype.
51143         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51144         prototype.
51145         (Simple Calendar Time): Likewise for stime.
51146         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51147         prototype.
51148         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51149         say sys/sysctl.h instead.
51150         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51151         and vsyslog prototypes.
51153 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51155         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51156         Remove.
51158 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51160         * misc/sys/mman.h: Fix typo in mremap comment.
51162 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51164         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51165         the '\0' terminator.
51167 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51169         [BZ #13550]
51170         * debug/segfault.c: Don't include <bp-checks.h>.
51171         * sysdeps/generic/bp-checks.h: Remove file.
51172         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51173         (__GETDENTS): Don't use CHECK_N.
51174         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51175         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51176         (__getgroups): Don't use CHECK_N.
51177         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51178         (setgroups): Don't use CHECK_N.
51179         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51180         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51181         (__libc_msgrcv): Don't use CHECK_N.
51182         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51183         (__libc_msgsnd): Don't use CHECK_N.
51184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51185         <bp-checks.h>.
51186         (__libc_pread): Don't use CHECK_N.
51187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51188         include <bp-checks.h>.
51189         (__libc_pread64): Don't use CHECK_N.
51190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51191         include <bp-checks.h>.
51192         (__libc_pwrite): Don't use CHECK_N.
51193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51194         include <bp-checks.h>.
51195         (__libc_pwrite64): Don't use CHECK_N.
51196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51197         <bp-checks.h>.
51198         (__libc_pread): Don't use CHECK_N.
51199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51200         include <bp-checks.h>.
51201         (__libc_pread64): Don't use CHECK_N.
51202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51203         include <bp-checks.h>.
51204         (__libc_pwrite): Don't use CHECK_N.
51205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51206         include <bp-checks.h>.
51207         (__libc_pwrite64): Don't use CHECK_N.
51208         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51209         (do_pread): Don't use CHECK_N.
51210         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51211         (do_pread64): Don't use CHECK_N.
51212         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51213         (do_pwrite): Don't use CHECK_N.
51214         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51215         (do_pwrite64): Don't use CHECK_N.
51216         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51217         (__libc_readv): Don't use CHECK_N.
51218         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51219         (semop): Don't use CHECK_N.
51220         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51221         <bp-checks.h>.
51222         (semtimedop): Don't use CHECK_N.
51223         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51224         (__libc_pread): Don't use CHECK_N.
51225         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51226         <bp-checks.h>.
51227         (__libc_pread64): Don't use CHECK_N.
51228         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51229         <bp-checks.h>.
51230         (__libc_pwrite): Don't use CHECK_N.
51231         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51232         <bp-checks.h>.
51233         (__libc_pwrite64): Don't use CHECK_N.
51234         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51235         <bp-checks.h>.
51236         (__libc_msgrcv): Don't use CHECK_N.
51237         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51238         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51239         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51240         (__libc_writev): Don't use CHECK_N.
51242 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51244         * string/strcpy.c: Removed unused variable.
51246         * Makeconfig (+sysdep-includes): Define with := rather than =.
51247         Use an existing include/ subdir of each sysdeps dir before it.
51249 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51251         * nscd/connection.c (register_traced_file): Comment function.
51252         [HAVE_INOTIFY] (union __inev): Define.
51253         [HAVE_INOTIFY] (inotify_check_files): New function.
51254         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51255         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51256         clear_db_cache.
51257         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51259 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51261         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51262         loaded if not already and that a failure is permanent.
51264 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51266         [BZ #15006]
51267         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51268         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51270 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51272         [BZ #13550]
51273         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51274         (CHECK_1_NULL_OK): Likewise.
51275         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51276         (__fxstat): Do not use CHECK_1.
51277         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51278         <bp-checks.h>.
51279         (___fxstat64): Do not use CHECK_1.
51280         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51281         <bp-checks.h>.
51282         (__fxstatat): Do not use CHECK_1.
51283         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51284         <bp-checks.h>.
51285         (__fxstatat64): Do not use CHECK_1.
51286         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51287         <bp-checks.h>.
51288         (__fxstat): Do not use CHECK_1.
51289         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51290         <bp-checks.h>.
51291         (__fxstatat): Do not use CHECK_1.
51292         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51293         <bp-checks.h>.
51294         (__getresgid): Do not use CHECK_1.
51295         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51296         <bp-checks.h>.
51297         (__getresuid): Do not use CHECK_1.
51298         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51299         <bp-checks.h>.
51300         (__lxstat): Do not use CHECK_1.
51301         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51302         <bp-checks.h>.
51303         (__old_msgctl): Do not use CHECK_1.
51304         (__new_msgctl): Likewise.
51305         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51306         <bp-checks.h>.
51307         (__new_setrlimit): Do not use CHECK_1.
51308         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51309         <bp-checks.h>.
51310         (__old_shmctl): Do not use CHECK_1.
51311         (__new_shmctl): Likewise.
51312         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51313         <bp-checks.h>.
51314         (__xstat): Do not use CHECK_1.
51315         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51316         (__lxstat): Do not use CHECK_1.
51317         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51318         <bp-checks.h>.
51319         (___lxstat64): Do not use CHECK_1.
51320         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51321         (__old_msgctl): Do not use CHECK_1.
51322         (__new_msgctl): Likewise.
51323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51324         <bp-checks.h>.
51325         (__gettimeofday): Do not use CHECK_1.
51326         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51327         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51328         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51329         <bp-checks.h>.
51330         (__gettimeofday): Do not use CHECK_1.
51331         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51332         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51333         (__new_shmctl): Do not use CHECK_1.
51334         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51335         <bp-checks.h>.
51336         (do_sigtimedwait): Do not use CHECK_1.
51337         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51338         <bp-checks.h>.
51339         (do_sigwaitinfo): Do not use CHECK_1.
51340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51341         <bp-checks.h>.
51342         (msgctl): Do not use CHECK_1.
51343         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51344         <bp-checks.h>.
51345         (shmctl): Do not use CHECK_1.
51346         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51347         (ustat): Do not use CHECK_1.
51348         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51349         <bp-checks.h>.
51350         (__fxstat): Do not use CHECK_1.
51351         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51352         <bp-checks.h>.
51353         (__fxstatat): Do not use CHECK_1.
51354         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51355         <bp-checks.h>.
51356         (__lxstat): Do not use CHECK_1.
51357         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51358         <bp-checks.h>.
51359         (__xstat): Do not use CHECK_1.
51360         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51361         (__xstat): Do not use CHECK_1.
51362         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51363         (___xstat64): Do not use CHECK_1.
51365         [BZ #13550]
51366         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51367         definitions.
51368         (CHECK_BOUNDS_HIGH): Likewise.
51369         * string/strcpy.c: Do not include <bp-checks.h>.
51370         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51372 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51374         * nscd/nscd-client.h (__nscd_drop_map_ref):
51375         Add __attribute__ ((unused)).
51376         * nis/nss-nisplus.h (niserr2nss): Likewise.
51378         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51379         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51381         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51382         Remove inline keyword.
51383         * include/rounding-mode.h (round_away): Likewise.
51384         * libio/wfileops.c (adjust_wide_data): Likewise.
51385         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51386         (__m128i_strloadu_tolower): Likewise.
51387         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51388         (__m128i_strloadu_tolower): Likewise.
51389         * time/mktime.c (ydhms_diff): Likewise.
51390         * locale/elem-hash.h (elem_hash): Likewise.
51391         * locale/setlocale.c (setdata): Likewise.
51392         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51393         (re_string_wchar_at): Likewise.
51394         (bitset_not, bitset_merge, bitset_mask): Likewise.
51395         [!(__GNUC__ > 3)] (inline): Remove macro.
51396         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51397         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51398         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51399         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51400         * string/memcmp.c (memcmp_bytes): Likewise.
51401         * locale/programs/locarchive.c (compute_hashval): Likewise.
51402         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51403         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51404         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51405         * nss/getent.c (print_rpc, print_protocols): Likewise.
51406         (print_passwd, print_group, print_aliases): Likewise.
51407         * nis/nss-nisplus.h (niserr2nss): Likewise.
51408         * nscd/connections.c (restart_p): Likewise.
51409         Change return type to bool.
51411 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51413         * Makeconfig (all-Depend-files): Add existing
51414         $(sorted-subdirs:=/Depend) files.
51415         (all-subdirs): Remove nss.
51416         * sysdeps/unix/inet/Subdirs: Add it here instead.
51417         * hesiod/Depend: New file.
51419         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51420         instead of calling alloca.
51422         * io/lseek.c (__lseek): Rename to __libc_lseek.
51423         Define __lseek as an alias.
51425         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51427 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51429         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51430         else clause and remove check for non-standard endianness.
51432 2013-02-04  David S. Miller  <davem@davemloft.net>
51434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51436 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51438         [BZ #13550]
51439         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51440         (__ubp_memchr): Remove prototype.
51441         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51442         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51443         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51444         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51445         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51446         Remove alias.
51447         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51448         (__ubp_memchr): Likewise.
51449         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51450         (__ubp_memchr): Likewise.
51451         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51452         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51453         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51455         CHECK_STRING.
51456         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51457         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51458         (__getcwd): Do not use CHECK_STRING.
51459         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51460         <bp-checks.h>.
51461         (__real_chown): Do not use CHECK_STRING.
51462         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51463         <bp-checks.h>.
51464         (fchownat): Do not use CHECK_STRING.
51465         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51466         CHECK_STRING.
51467         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51468         <bp-checks.h>.
51469         (__lchown): Do not use CHECK_STRING.
51470         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51471         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51472         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51473         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51475         include <bp-checks.h>.
51476         (truncate64): Do not use CHECK_STRING.
51477         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51478         <bp-checks.h>.
51479         (__real_chown): Do not use CHECK_STRING.
51480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51481         <bp-checks.h>.
51482         (__lchown): Do not use CHECK_STRING.
51483         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51484         <bp-checks.h>.
51485         (__chown): Do not use CHECK_STRING.
51486         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51487         <bp-checks.h>.
51488         (truncate64): Do not use CHECK_STRING.
51489         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51490         Likewise.
51491         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51492         (__xmknod): Do not use CHECK_STRING.
51493         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51494         <bp-checks.h>.
51495         (__xmknodat): Do not use CHECK_STRING.
51496         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51497         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51499 2013-02-04  Andreas Schwab  <schwab@suse.de>
51501         [BZ #14142]
51502         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51503         * include/netdb.h: Likewise for h_errno.
51504         * elf/tst-stackguard1.c: Include <tls.h>.
51506 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51508         * elf/link.h (struct link_map): Extend the l_addr comment.
51509         * include/link.h (struct link_map): Likewise.
51511 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51513         [BZ #13550]
51514         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51515         (BOUNDED_1): Remove macro.
51516         * debug/backtrace.c: Don't include <bp-checks.h>.
51517         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51518         (__backtrace): Likewise.
51519         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51520         <bp-checks.h>.
51521         (__backtrace): Don't use BOUNDED_1.
51522         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51523         <bp-checks.h>.
51524         (__backtrace): Don't use BOUNDED_1.
51525         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51526         (__backtrace): Don't use BOUNDED_1.
51527         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51528         (shmat): Don't use BOUNDED_N.
51530 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51532         [BZ #13550]
51533         * sysdeps/generic/bp-start.h: Remove file.
51534         * csu/libc-start.c: Don't include <bp-start.h>.
51535         (LIBC_START_MAIN): Set up __environ directly instead of using
51536         INIT_ARGV_and_ENVIRON.
51537         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51538         <bp-start.h>.
51540         [BZ #13550]
51541         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51542         definitions.
51543         (CHECK_FCNTL): Likewise.
51544         (CHECK_N_PAGES): Likewise.
51546         [BZ #13550]
51547         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51548         definitions.
51549         (CHECK_SIGSET_NULL_OK): Likewise.
51550         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51551         <bp-checks.h>.
51552         (sigpending): Don't use CHECK_SIGSET.
51553         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51554         <bp-checks.h>.
51555         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51556         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51557         <bp-checks.h>.
51558         (do_sigsuspend): Don't use CHECK_SIGSET.
51559         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51560         use CHECK_SIGSET.
51561         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51562         (do_sigwait): Don't use CHECK_SIGSET.
51563         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51564         use CHECK_SIGSET.
51565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51566         include <bp-checks.h>.
51567         (sigpending): Don't use CHECK_SIGSET.
51568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51569         include <bp-checks.h>.
51570         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51571         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51572         <bp-checks.h>.
51573         (sigpending): Don't use CHECK_SIGSET.
51574         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51575         <bp-checks.h>.
51576         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51578         [BZ #13550]
51579         * sysdeps/generic/bp-semctl.h: Remove file.
51580         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51581         <bp-checks.h> and <bp-semctl.h>.
51582         (__old_semctl): Don't use CHECK_SEMCTL.
51583         (__new_semctl): Likewise.
51584         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51585         and <bp-semctl.h>.
51586         (__old_semctl): Don't use CHECK_SEMCTL.
51587         (__new_semctl): Likewise.
51588         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51589         <bp-checks.h> and <bp-semctl.h>.
51590         (__old_semctl): Don't use CHECK_SEMCTL.
51591         (__new_semctl): Likewise.
51592         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51593         <bp-checks.h> and <bp-semctl.h>.
51594         (semctl): Don't use CHECK_SEMCTL.
51596         [BZ #13550]
51597         * Makerules (elide-bp-thunks): Remove variable.
51598         (elide-routines.oS): Don't use $(elide-bp-thunks).
51599         (elide-routines.os): Likewise.
51600         (elide-routines.o): Likewise.
51601         (elide-routines.op): Likewise.
51602         (elide-routines.og): Likewise.
51603         (objects): Don't use $(bp-thunks).
51604         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51605         include.
51606         (common-generated): Do not add s-proto-bp.d.
51607         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51608         (int): Likewise.
51609         (typ): Likewise.
51610         Do not generate makefile rules for bounded-pointer thunks.
51611         * sysdeps/generic/bp-thunks.h: Remove file.
51612         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51613         * sysdeps/unix/s-proto-bp.S: Likewise.
51615         [BZ #15062]
51616         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51617         parts of result separately when argument is not close to line from
51618         -i to i and one part of argument is small.
51619         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51620         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51621         * math/libm-test.inc (cacos_test): Add more tests.
51622         (casin_test): Likewise.
51623         (casinh_test): Likewise.
51624         * sysdeps/i386/fpu/libm-test-ulps: Update.
51625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51627 2013-01-31  David S. Miller  <davem@davemloft.net>
51629         * po/de.po: Update from translation team.
51631 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51633         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51635 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51637         * configure.in (_AC_PROG_CC_C89): New definition.
51638         * configure: Regenerate.
51640         * configure.in (AC_PROG_CPP): New definition.
51641         * configure: Regenerate.
51643 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51645         * debug/tst-backtrace.h: New file.
51646         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51647         (ret): Remove variable.
51648         (x): Likewise.
51649         (FAIL): Remove macro.
51650         (NO_INLINE): Likewise.
51651         (fn1): Use match function instead of strstr.
51652         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51653         (ret): Remove variable.
51654         (x): Likewise.
51655         (FAIL): Remove macro.
51656         (NO_INLINE): Likewise.
51657         (fn): Use match function instead of strstr.
51658         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51659         (ret): Remove variable.
51660         (x): Likewise.
51661         (FAIL): Remove macro.
51662         (NO_INLINE): Likewise.
51663         (handle_signal): Use match function instead of strstr.
51664         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51665         (ret): Remove variable.
51666         (x): Likewise.
51667         (FAIL): Remove macro.
51668         (NO_INLINE): Likewise.
51669         (handle_signal): Use match function instead of strstr.
51671 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51673         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51675 2013-01-23  David S. Miller  <davem@davemloft.net>
51677         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51678         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51679         argument of CAS if possible.
51680         * sysdeps/sparc/sparc64/bits/atomic.h
51681         (__arch_compare_and_exchange_val_32_acq): Likewise.
51682         (__arch_compare_and_exchange_val_64_acq): Likewise.
51684 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51686         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51687         * sysdeps/posix/ulimit.c: ... this.
51688         Include <limits.h>.
51689         * sysdeps/unix/bsd/ulimit.c: Remove file.
51691 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51693         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51694         (LDFLAGS-tst-array5): Likewise.
51696 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51698         [BZ #15036]
51699         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51700         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51701         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51702         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51704 2013-01-21  David S. Miller  <davem@davemloft.net>
51706         * sysdeps/sparc/backtrace.c: New file.
51707         * sysdeps/sparc/sparc32/backtrace.h: New file.
51708         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51709         * sysdeps/sparc/sparc64/backtrace.h: New file.
51710         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51711         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51712         -funwind-tables.
51714 2013-01-21  Andreas Schwab  <schwab@suse.de>
51716         [BZ #15020]
51717         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51718         closed its stdout.
51720 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51723         "mpa2.h".
51724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51726 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51727             Mark Mitchell  <mark@codesourcery.com>
51728             Tom de Vries  <tom@codesourcery.com>
51729             Paul Pluzhnikov  <ppluzhnikov@google.com>
51731         * debug/tst-backtrace2.c: New file.
51732         * debug/tst-backtrace3.c: Likewise.
51733         * debug/tst-backtrace4.c: Likewise.
51734         * debug/tst-backtrace5.c: Likewise.
51735         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51736         (CFLAGS-tst-backtrace3.c): Likewise.
51737         (CFLAGS-tst-backtrace4.c): Likewise.
51738         (CFLAGS-tst-backtrace5.c): Likewise.
51739         (LDFLAGS-tst-backtrace2): Likewise.
51740         (LDFLAGS-tst-backtrace3): Likewise.
51741         (LDFLAGS-tst-backtrace4): Likewise.
51742         (LDFLAGS-tst-backtrace5): Likewise.
51743         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51744         tst-backtrace4 and tst-backtrace5.
51746 2013-01-18  Anton Blanchard  <anton@samba.org>
51747             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51749         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51750         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51751         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51752         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51754         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51755         "+r" and remove output regs list as redundant.  Add explicit inline
51756         asm to specify register of return val to work around compiler codegen
51757         bug.  Remove (int) cast on return value.  Add return type parameter to
51758         use in macro so that this macro does not truncate return value for
51759         64-bit values.
51760         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51761         pass to INTERNAL_VSYSCALL_NCS.
51762         (INLINE_VSYSCALL): Add 'long int' as return type to
51763         INTERNAL_VSYSCALL_NCS macro invocation.
51764         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51765         INTERNAL_VSYSCALL_NCS macro invocation.
51766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51768 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         [BZ #14496]
51771         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51772         Fix application of SIMD FP exception mask.
51774         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51775         mp_no from a power of two.
51776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51777         __mpexp_twomm1.  Use __pow_mp.
51779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51780         multiplication.
51782 2013-01-17  David S. Miller  <davem@davemloft.net>
51784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51786 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51788         [BZ #15023]
51789         * include/complex.h: Condition contents on [!_COMPLEX_H].
51790         (__kernel_casinhf): New prototype.
51791         (__kernel_casinh): Likewise.
51792         (__kernel_casinhl): Likewise.
51793         * math/Makefile (libm_calls): Add k_casinh.
51794         * math/k_casinh.c: New file.
51795         * math/k_casinhf.c: Likewise.
51796         * math/k_casinhl.c: Likewise.
51797         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51798         finite nonzero arguments.
51799         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51800         finite nonzero arguments.
51801         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51802         finite nonzero arguments.
51803         * math/s_casinh.c: Do not include <float.h>.
51804         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51805         * math/s_casinhf.c: Do not include <float.h>.
51806         (__casinhf): Move code for finite nonzero arguments to
51807         k_casinhf.c.
51808         * math/s_casinhl.c: Do not include <float.h>.
51809         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51810         redefine.
51811         (__casinhl): Move code for finite nonzero arguments to
51812         k_casinhl.c.
51813         * math/libm-test.inc (cacos_test): Add more tests.
51814         * sysdeps/i386/fpu/libm-test-ulps: Update.
51815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51817 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51819         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51820         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51821         [!HAVE_MREMAP]: Remove [defined linux] case.
51822         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51824 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51826         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51828 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51830         * elf/elf.h (R_386_SIZE32): New relocation.
51831         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51832         R_386_SIZE32.
51833         (elf_machine_rela): Likewise.
51834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51835         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51837 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51839         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51840         (FP_FAST_FMA): Do not define.
51841         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51842         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51843         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51844         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51845         !_SOFT_FLOAT]: Likewise.
51846         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51847         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51848         value.
51849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51850         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51852         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51853         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51854         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51855         file.
51857 2013-01-16  Andreas Schwab  <schwab@suse.de>
51859         [BZ #14327]
51860         * include/stdlib.h (__mktemp): Add declaration.
51861         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51862         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51864 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51866         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51867         definitions.
51868         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51869         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51870         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51871         definitions here.
51872         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51873         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51874         definitions.
51875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51876         and ONE.
51877         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51878         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51879         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51880         definitions.
51881         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51882         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51883         definitions.
51884         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51886         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51888 2013-01-15  David S. Miller  <davem@davemloft.net>
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51891         trunc{,f} to libm-sysdep_routes.
51892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51894         file.
51895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51897         file.
51898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51899         file.
51900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51902         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51903         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51904         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51905         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51906         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51907         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51910         nearbyint{,f} to libm-sysdep_routes.
51911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51913         New file.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51915         file.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51917         New file.
51918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51919         file.
51920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51923         file.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51925         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51926         file.
51927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51928         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51929         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51931         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51932         libc_feholdexcept and libc_fesetenv.
51934 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51936         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51938 2013-01-14  David S. Miller  <davem@davemloft.net>
51940         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51941         (SPARC_ASM_VIS2_IFUNC): Likewise.
51942         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51944         use of 'siam' instruction.
51945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51946         Likewise.
51947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51948         Likewise.
51949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51950         Likewise.
51951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51956         file.
51957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51958         file.
51959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51960         file.
51961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51962         file.
51963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51968         new VIS2 routines.
51969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51972         Likewise.
51973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51978         routines to libm-sysdep_routines.
51979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51982         fdim/fdimf to libm-sysdep_routines.
51983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51984         file.
51985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51987         file.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51991         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51992         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51993         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51994         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51996 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51998         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51999         to optimize copies.
52001         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52006         local variable MPTWO.
52007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52008         Likewise.
52010 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52012         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52013         GLOB_NOESCAPE.
52015 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52017         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52019 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52021         * manual/pattern.texi (glob_t): Document gl_flags.
52022         (glob64_t): Likewise.
52024 2013-01-11  David S. Miller  <davem@davemloft.net>
52026         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52027         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52028         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52029         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52030         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52031         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52032         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52033         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52034         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52035         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52036         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52037         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52038         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52040         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52041         sparc V9 rather than using V8 code.
52042         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52043         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52045         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52046         Move to...
52047         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52048         Here.
52050 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52052         [BZ #14941]
52053         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52054         not in the main loop.
52055         * configure: Regenerated.
52057 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52059         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52060         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52061         to just #else.
52062         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52063         [!__GLIBC_HAVE_LONG_LONG] case.
52064         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52065         condition to just #else.
52066         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52067         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52068         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52069         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52070         unconditional.
52071         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52072         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52073         #elif condition to just #else.
52074         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52075         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52076         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52077         #elif condition to just #else.
52079 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52081         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52082         (EF_MIPS_ARCH_64): Fix value.
52083         (EF_MIPS_ARCH_32R2): New.
52084         (EF_MIPS_ARCH_64R2): New.
52086 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52088         * Makeconfig (+link-pie-before-libc): New.
52089         (+link-pie-after-libc): Likewise.
52090         (+link-pie-tests): Likewise.
52091         (+link-pie): Rewritten.
52092         (link-before-libc): Remove $(config-LDFLAGS).
52093         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52094         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52095         (config-LDFLAGS): Renamed to ...
52096         (rtld-LDFLAGS): This.
52097         (rtld-tests-LDFLAGS): New macro.
52098         (link-libc-rpath-link): Likewise.
52099         (link-libc-tests-rpath-link): Likewise.
52100         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52101         (link-libc): Prepand $(link-libc-rpath-link).
52102         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52103         (test-program-prefix): New macro.
52104         (test-via-rtld-prefix): Likewise.
52105         (test-program-cmd): Likewise.
52106         (host-test-program-cmd): Likewise.
52107         * Makefile ($(common-objpfx)testrun.sh): Replace
52108         $(run-program-prefix) with $(test-program-prefix).
52109         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52110         $(rtld-LDFLAGS).
52111         ($(common-objpfx)shlib.lds): Likewise.
52112         (build-module-helper): Likewise.
52113         ($(common-objpfx)format.lds): Likewise.
52114         * Rules (binaries-pie-tests): New.
52115         (binaries-pie-notests): Likewise.
52116         (binaries-pie): Rewritten.
52117         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52118         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52119         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52120         (make-test-out): Replace $(host-built-program-cmd) with
52121         $(host-test-program-cmd).
52122         * config.make.in (build-hardcoded-path-in-tests): New variable.
52123         * configure.in (--enable-hardcoded-path-in-tests): New configure
52124         option.
52125         (hardcoded_path_in_tests): New AC_SUBST.
52126         * configure: Regenerated.
52127         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52128         $(built-program-cmd) with $(test-program-cmd).
52129         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52130         (test_program_cmd): This.
52131         * elf/Makefile ($(objpfx)order.out): Run test with
52132         $(test-program-prefix).
52133         ($(objpfx)order2.out): Likewise.
52134         ($(objpfx)tst-initorder.out): Likewise.
52135         ($(objpfx)tst-initorder2.out): Likewise.
52136         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52137         $(test-program-cmd).
52138         ($(objpfx)tst-array1-static.out): Likewise.
52139         ($(objpfx)tst-array2.out): Likewise.
52140         ($(objpfx)tst-array3.out): Likewise.
52141         ($(objpfx)tst-array4.out): Likewise.
52142         ($(objpfx)tst-array5.out): Likewise.
52143         ($(objpfx)tst-array5-static.out): Likewise.
52144         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52145         $(test-program-cmd).
52146         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52147         $(run-program-prefix) with $(test-program-prefix).
52148         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52149         (test_program_prefix): This.
52150         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52151         $(run-program-prefix) with $(test-program-prefix).
52152         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52153         (test_program_prefix): This.
52154         * iconvdata/tst-tables.sh: Likewise.
52155         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52156         $(run-program-prefix) with $(test-program-prefix).
52157         ($(objpfx)tst-translit.out): Likewise.
52158         ($(objpfx)tst-gettext2.out): Likewise.
52159         ($(objpfx)tst-gettext4.out): Likewise.
52160         ($(objpfx)tst-gettext6.out): Likewise.
52161         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52162         (test_program_prefix): This.
52163         * intl/tst-gettext2.sh: Likewise.
52164         * intl/tst-gettext4.sh  Likewise.
52165         * intl/tst-gettext6.sh: Likewise.
52166         * intl/tst-translit.sh: Likewise.
52167         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52168         with $(test-program-cmd).
52169         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52170         $(run-program-prefix) with $(test-program-prefix).
52171         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52172         (test_program_prefix): This.
52173         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52174         $(run-program-prefix) with $(test-program-prefix).
52175         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52176         (test_program_prefix): This.
52177         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52178         * posix/Makefile ($(objpfx)globtest.out): Replace
52179         $(run-via-rtld-prefix) and $(test-wrapper) with
52180         $(test-program-prefix) and $(test-via-rtld-prefix).
52181         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52182         $(test-program-prefix).
52183         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52184         $(host-test-program-cmd).
52185         (tst-spawn-ARGS): Likewise.
52186         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52187         $(test-program-prefix).
52188         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52189         (test_via_rtld_prefix): This.
52190         (test_wrapper): Renamed to ...
52191         (test_program_prefix): This.
52192         (run_program_prefix): Replaced by test_program_prefix.
52193         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52194         (test_program_prefix): This.
52195         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52196         with $(host-test-program-cmd).
52197         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52198         $(run-program-prefix) with $(test-program-prefix).
52199         ($(objpfx)tst-printf.out): Likewise.
52200         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52201         $(test-program-cmd).
52202         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52203         (test_program_prefix): This.
52204         * stdio-common/tst-unbputc.sh: Likewise.
52205         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52206         $(run-program-prefix) with $(test-program-prefix).
52207         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52208         (test_program_prefix): This.
52209         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52210         $(built-program-cmd) with $(test-program-cmd).
52212 2013-01-11  Andreas Jaeger  <aj@suse.de>
52214         [BZ #15003]
52215         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52216         value. Sync with Linux 3.7.
52218 2013-01-10  David S. Miller  <davem@davemloft.net>
52220         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52221         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52222         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52224 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52226         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52227         never set.
52228         * configure: Regenerated.
52230 2013-01-10  David S. Miller  <davem@davemloft.net>
52232         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52233         sparc V9 rather than using V8 code.
52234         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52235         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52237 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52239         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52240         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52241         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52242         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52243         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52244         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52245         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52246         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52247         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52248         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52249         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52250         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52251         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52252         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52253         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52254         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52255         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52256         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52257         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52258         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52259         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52260         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52261         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52262         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52263         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52264         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52265         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52267 2013-01-10  David S. Miller  <davem@davemloft.net>
52269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52271 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52273         * posix/Makefile (tests-static): New variable.
52274         (tests): Add $(tests-static).
52275         (tst-exec-static-ARGS): New variable.
52276         (tst-spawn-static-ARGS): Likewise.
52277         * posix/tst-exec-static.c: New file.
52278         * posix/tst-spawn-static.c: Likewise.
52279         * posix/tst-exec.c: Support run directly.
52280         * posix/tst-spawn.c: Likewise.
52282 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52284         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52285         long.
52286         * math/bits/mathcalls.h (llrint): Likewise.
52287         (llround): Likewise.
52288         * stdlib/stdlib.h (struct drand48_data): Likewise.
52289         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52290         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52291         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52292         Likewise.
52293         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52294         Likewise.
52295         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52296         (elf_greg_t): Likewise.
52297         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52298         (__jmp_buf): Likewise.
52299         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52300         definitions.
52301         (llrint): Likewise, for all definitions.
52302         (llrintl): Likewise.
52304         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52305         Remove [__GNUC__] condition.
52306         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52307         condition to just [__USE_ISOC99].
52308         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52310 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52312         [BZ #14200]
52313         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52314         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52315         defined.
52316         (_POSIX_V6_ILP32_OFF32): Likewise.
52317         (_XBS5_ILP32_OFF32): Likewise.
52318         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52319         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52321 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52323         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52326         doubles __mpexp_twomm1.  Adjust usage.
52327         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52328         Remove.
52330 2013-01-10  Andreas Schwab  <schwab@suse.de>
52332         [BZ #14964]
52333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52334         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52336 2013-01-09  David S. Miller  <davem@davemloft.net>
52338         [BZ #15003]
52339         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52340         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52341         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52342         (TCP_FASTOPEN): Define.
52343         (tcp_repair_opt): New structure.
52344         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52345         enum values.
52346         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52347         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52348         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52349         (tcp_cookie_transactions): New structure.
52351 2013-01-09  Anton Blanchard  <anton@samba.org>
52353         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52354         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52355         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52356         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52358 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52360         * include/features.h (__USE_ANSI): Remove.
52362 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52364         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52366         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52368 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52370         * sysdeps/s390/fpu/libm-test-ulps: Update.
52372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52374         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52375         (__acr): Likewise.
52376         (__cpy): Likewise.
52377         (norm): Likewise.
52378         (denorm): Likewise.
52379         (__mp_dbl): Likewise.
52380         (__dbl_mp): Likewise.
52381         (add_magnitudes): Likewise.
52382         (sub_magnitudes): Likewise.
52383         (__add): Likewise.
52384         (__sub): Likewise.
52385         (__mul): Likewise.
52386         (__inv): Likewise.
52387         (__dvd): Likewise.
52388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52389         (__acr): Likewise.
52390         (__cpy): Likewise.
52391         (norm): Likewise.
52392         (denorm): Likewise.
52393         (__mp_dbl): Likewise.
52394         (__dbl_mp): Likewise.
52395         (add_magnitudes): Likewise.
52396         (sub_magnitudes): Likewise.
52397         (__add): Likewise.
52398         (__sub): Likewise.
52399         (__mul): Likewise.
52400         (__inv): Likewise.
52401         (__dvd): Likewise.
52402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52403         (__acr): Likewise.
52404         (__cpy): Likewise.
52405         (norm): Likewise.
52406         (denorm): Likewise.
52407         (__mp_dbl): Likewise.
52408         (__dbl_mp): Likewise.
52409         (add_magnitudes): Likewise.
52410         (sub_magnitudes): Likewise.
52411         (__add): Likewise.
52412         (__sub): Likewise.
52413         (__mul): Likewise.
52414         (__inv): Likewise.
52415         (__dvd): Likewise.
52417 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52419         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52420         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52421         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52422         2 && __USE_EXTERN_INLINES]: Likewise.
52424 2013-01-08  Andreas Jaeger  <aj@suse.de>
52426         [BZ# 14985]
52427         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52428         Remove.
52429         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52430         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52432 2013-01-07  Anton Blanchard  <anton@samba.org>
52434         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52435         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52436         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52437         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52438         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52439         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52440         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52441         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52443         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52444         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52445         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52446         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52447         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52448         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52449         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52450         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52451         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52452         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52453         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52454         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52455         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52456         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52457         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52458         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52459         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52460         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52461         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52463         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52464         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52466         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52467         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52468         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52469         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52470         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52472         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52474         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52476         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52478 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52480         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52481         (__MALLOC_PMT): Likewise.
52482         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52483         [__GNUC__], only on [_LIBC].
52484         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52485         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52486         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52487         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52488         forward declaration.
52489         (realloc_hook_ini): Likewise.
52490         (memalign_hook_ini): Likewise.
52491         (__libc_memalign): Do not use __MALLOC_PMT in variable
52492         declaration.
52493         (__libc_valloc): Likewise.
52494         (__libc_pvalloc): Likewise.
52495         (__libc_calloc): Likewise.
52496         (__posix_memalign): Likewise.
52498         [BZ #14996]
52499         * math/s_casinh.c: Include <float.h>.
52500         (__casinh): Do not do computation with squaring and square root
52501         for large arguments.
52502         * math/s_casinhf.c: Include <float.h>.
52503         (__casinhf): Do not do computation with squaring and square root
52504         for large arguments.
52505         * math/s_casinhl.c: Include <float.h>.
52506         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52507         (__casinhl): Do not do computation with squaring and square root
52508         for large arguments.
52509         * math/libm-test.inc (casin_test): Add more tests.
52510         (casinh_test): Likewise.
52511         * sysdeps/i386/fpu/libm-test-ulps: Update.
52512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52514 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52516         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52517         (__x86_64_raw_data_cache_size): Likewise.
52518         (__x86_64_data_cache_size_half): Likewise.
52519         (__x86_64_raw_data_cache_size_half): Likewise.
52520         (__x86_64_shared_cache_size): Likewise.
52521         (__x86_64_raw_shared_cache_size): Likewise.
52522         (__x86_64_shared_cache_size_half): Likewise.
52523         (__x86_64_raw_shared_cache_size_half): Likewise.
52524         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52525         to ...
52526         (__x86_data_cache_size): This.
52527         (__x86_64_raw_data_cache_size): Renamed to ...
52528         (__x86_raw_data_cache_size): This.
52529         (__x86_64_data_cache_size_half): Renamed to ...
52530         (__x86_data_cache_size_half): This.
52531         (__x86_64_raw_data_cache_size_half): Renamed to ...
52532         (__x86_raw_data_cache_size_half): This.
52533         (__x86_64_shared_cache_size): Renamed to ...
52534         (__x86_shared_cache_size): This.
52535         (__x86_64_raw_shared_cache_size): Renamed to ...
52536         (__x86_raw_shared_cache_size): This.
52537         (__x86_64_shared_cache_size_half): Renamed to ...
52538         (__x86_shared_cache_size_half): This.
52539         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52540         (__x86_raw_shared_cache_size_half): This.
52541         * sysdeps/x86_64/memcpy.S: Updated.
52542         * sysdeps/x86_64/memset.S: Likewise.
52543         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52547 2013-01-04  David S. Miller  <davem@davemloft.net>
52549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52551 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52553         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52554         1 to avoid redefinition warning.
52555         (__USE_GNU): Don't define.
52556         (init_signaling_nan): Protoize.
52558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52560 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52562         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52564         (__cpymn): Likewise.
52565         (norm): Remove commented code.
52566         (denorm): Likewise.
52567         (__mp_dbl): Likewise.
52568         (__inv): Likewise.
52569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52570         (__cpymn): Likewise.
52571         (norm): Remove commented code.
52572         (denorm): Likewise.
52573         (__mp_dbl): Likewise.
52574         (__inv): Likewise.
52576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52577         mp_no value for 1.0 and 2.0.
52578         (norm): Use RADIXI instead of radixi.d.
52579         (denorm): Likewise.
52580         (__mul): Use 0.0 instead of zero.d.
52581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52582         mp_no value for 1.0 and 2.0.
52583         (norm): Use RADIXI instead of radixi.d.
52584         (denorm): Likewise.
52585         (__mul): Use 0.0 instead of zero.d.
52587 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52589         [BZ #14994]
52590         * math/s_casinh.c (__casinh): Reduce finite argument to first
52591         quadrant then set signs of results at the end.
52592         * math/s_casinhf.c (__casinhf): Likewise.
52593         * math/s_casinhl.c (__casinhl): Likewise.
52594         * math/libm-test.inc (casin_test): Add more tests.
52595         (casinh_test): Likewise.
52596         * sysdeps/i386/fpu/libm-test-ulps: Update.
52597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52599 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52601         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52603         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52605         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52606         declarations.
52607         (denorm): Likewise.
52608         (__mp_dbl): Likewise.
52609         (__inv): Likewise.
52611         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52612         and adjust the header comment.
52614         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52615         variable name from declaration.
52617 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52620         Initialize COMMON_CPUID_INDEX_7 element.
52621         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52622         (CPUID_RTM): Likewise.
52623         (HAS_RTM): Likewise.
52624         (COMMON_CPUID_INDEX_7): New enum.
52626 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52628         [BZ #14981]
52629         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52630         size is zero, record memory as freed.
52632 2013-01-03  Andreas Jaeger  <aj@suse.de>
52634         * po/ia.po: Add new Interlingua translation.
52636 2012-01-03  Allan McRae  <allan@archlinux.org>
52638         * locale/programs/localedef.c: Fix description of '--posix' flag.
52640 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52642         * NEWS: Update dates in second copyright notice.
52643         * README: Update copyright dates in example.
52644         * manual/libc.texinfo: Update copyright dates.
52645         * scripts/test-installation.pl: Update copyright date in --version
52646         output.
52648         * hurd/ctty-input.c: Fix copyright notice formatting.
52649         * hurd/ctty-output.c: Likewise.
52650         * hurd/dtable.c: Likewise.
52651         * hurd/hurd-raise.c: Likewise.
52652         * hurd/hurdprio.c: Likewise.
52653         * hurd/msgportdemux.c: Likewise.
52654         * misc/sys/file.h: Likewise.
52655         * misc/sys/ioctl.h: Likewise.
52656         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52657         * sysdeps/mach/hurd/chdir.c: Likewise.
52658         * sysdeps/mach/hurd/fchdir.c: Likewise.
52659         * sysdeps/mach/hurd/rename.c: Likewise.
52660         * sysdeps/mach/hurd/rmdir.c: Likewise.
52661         * sysdeps/mach/hurd/seekdir.c: Likewise.
52662         * sysdeps/mach/hurd/setsid.c: Likewise.
52663         * sysdeps/posix/wait3.c: Likewise.
52665         * All files with FSF copyright notices: Update copyright dates
52666         using scripts/update-copyrights.
52667         * intl/plural.c: Regenerated.
52668         * locale/programs/charmap-kw.h: Likewise.
52669         * locale/programs/locfile-kw.h: Likewise.
52671 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52673         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52674         four values.
52676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52677         calculation loop and add branch prediction.
52679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52680         check access beyond bounds of m1np.
52682         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52683         MPTWO.
52684         (__inv): Remove local variable MPTWO to use the global
52685         constant.
52686         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52687         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52688         variable MPTWO.
52689         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52690         MP3HALFS static const.
52692 2013-01-01  David S. Miller  <davem@davemloft.net>
52694         * po/ca.po: Update from translation team.
52696 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52698         * scripts/update-copyrights: New file.
52699         * Makeconfig: Reformat copyright notice.
52700         * ctype/ctype.h: Likewise.
52701         * debug/swprintf_chk.c: Likewise.
52702         * elf/dl-cache.c: Likewise.
52703         * elf/dl-debug.c: Likewise.
52704         * elf/dl-object.c: Likewise.
52705         * grp/initgroups.c: Likewise.
52706         * hurd/Makefile: Likewise.
52707         * hurd/hurd/signal.h: Likewise.
52708         * hurd/hurdfault.c: Likewise.
52709         * hurd/hurdioctl.c: Likewise.
52710         * hurd/hurdlookup.c: Likewise.
52711         * hurd/intr-msg.c: Likewise.
52712         * iconv/gconv_open.c: Likewise.
52713         * libio/swprintf.c: Likewise.
52714         * locale/lc-ctype.c: Likewise.
52715         * locale/nl_langinfo.c: Likewise.
52716         * mach/Machrules: Likewise.
52717         * mach/Makefile: Likewise.
52718         * malloc/obstack.h: Likewise.
52719         * manual/Makefile: Likewise.
52720         * manual/tsort.awk: Likewise.
52721         * misc/bits/stab.def: Likewise.
52722         * nis/nis_print_group_entry.c: Likewise.
52723         * nis/nis_table.c: Likewise.
52724         * nis/nss_compat/compat-pwd.c: Likewise.
52725         * nis/nss_compat/compat-spwd.c: Likewise.
52726         * po/Makefile: Likewise.
52727         * posix/fnmatch.c: Likewise.
52728         * posix/regex.h: Likewise.
52729         * resolv/Makefile: Likewise.
52730         * resolv/nss_dns/dns-network.c: Likewise.
52731         * resolv/res_hconf.c: Likewise.
52732         * scripts/gen-sorted.awk: Likewise.
52733         * soft-fp/soft-fp.h: Likewise.
52734         * stdio-common/printf.h: Likewise.
52735         * stdlib/monetary.h: Likewise.
52736         * stdlib/random.c: Likewise.
52737         * stdlib/random_r.c: Likewise.
52738         * sysdeps/generic/Makefile: Likewise.
52739         * sysdeps/gnu/Makefile: Likewise.
52740         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52742         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52745         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52747         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52748         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52749         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52750         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52751         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52752         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52753         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52754         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52755         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52756         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52758         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52759         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52760         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52761         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52762         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52763         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52764         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52765         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52766         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52767         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52768         * sysdeps/mach/hurd/errnos.awk: Likewise.
52769         * sysdeps/mach/hurd/fork.c: Likewise.
52770         * sysdeps/mach/hurd/getcwd.c: Likewise.
52771         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52772         * sysdeps/mach/hurd/mmap.c: Likewise.
52773         * sysdeps/mach/hurd/utimes.c: Likewise.
52774         * sysdeps/mach/hurd/xmknod.c: Likewise.
52775         * sysdeps/posix/profil.c: Likewise.
52776         * sysdeps/posix/readdir_r.c: Likewise.
52777         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52778         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52779         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52780         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52782         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52783         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52784         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52786         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52787         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52788         * sysdeps/pthread/lio_listio.c: Likewise.
52789         * sysdeps/sparc/dl-procinfo.h: Likewise.
52790         * sysdeps/unix/i386/sysdep.S: Likewise.
52791         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52792         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52793         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52794         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52796         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52797         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52798         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52799         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52800         * sysdeps/wordsize-32/divdi3.c: Likewise.
52801         * time/sys/time.h: Likewise.
52802         * wcsmbs/Makefile: Likewise.
52804 2013-01-01  David S. Miller  <davem@davemloft.net>
52806         * po/fr.po: Update from translation team.
52808         * catgets/gencat.c: Update copyright year.
52809         * csu/version.c: Likewise.
52810         * debug/catchsegv.sh: Likewise.
52811         * debug/pcprofiledump.c: Likewise.
52812         * debug/xtrace.sh: Likewise.
52813         * elf/ldconfig.c: Likewise.
52814         * elf/ldd.bash.in: Likewise.
52815         * elf/pldd.c: Likewise.
52816         * elf/sotruss.ksh: Likewise.
52817         * elf/sprof.c: Likewise.
52818         * iconv/iconv_prog.c: Likewise.
52819         * iconv/iconvconfig.c: Likewise.
52820         * locale/programs/locale.c: Likewise.
52821         * locale/programs/localedef.c: Likewise.
52822         * login/programs/pt_chown.c: Likewise.
52823         * malloc/memusage.sh: Likewise.
52824         * malloc/memusagestat.c: Likewise.
52825         * malloc/mtrace.pl: Likewise.
52826         * nscd/nscd.c: Likewise.
52827         * nss/getent.c: Likewise.
52828         * nss/makedb.c: Likewise.
52829         * posix/getconf.c: Likewise.
52831 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52833         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52834         numbers.
52836 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52838         * math/bits/mathcalls.h (modf): Use __nonnull.
52840 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52842         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52843         (split): Use macro CN instead of the bare value.
52844         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52845         could be used.
52846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52847         instead of the bare value.
52848         (power1): Likewise.
52850 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52853         __ATAN_TWOM.
52854         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52856         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52857         their values.
52858         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52859         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52860         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52861         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52863 2012-12-28  Andreas Jaeger  <aj@suse.de>
52865         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52866         values are from Linux 3.7.
52868         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52869         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52871 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52873         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52874         TRUE case.
52876         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52877         (norm): Likewise.
52878         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52879         variables with preprocessor constants.
52880         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52881         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52882         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52884 2012-12-27  Bruno Haible  <bruno@clisp.org>
52886         [BZ #14317]
52887         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52888         only if needed.
52890 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52893         and use variable directly.
52894         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52896         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52897         MPONE.
52898         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52899         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52900         variable MPONE.
52901         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52903         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52904         include directive.  Remove local variable MPONE.
52905         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52906         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52907         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52909 2012-12-25  David S. Miller  <davem@davemloft.net>
52911         * version.h (RELEASE): Set to "development".
52912         (VERSION): Set to "2.17.90".
52913         * NEWS: Add 2.18 section.
52915 2012-12-21  David S. Miller  <davem@davemloft.net>
52917         * po/hr.po: Update from translation team.
52919 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52921         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52923 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52925         * NEWS:  Mention new memcpy for MIPS.
52927 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52929         * manual/contrib.texi (Contributors): Spelling correction.
52931 2012-12-15  David S. Miller  <davem@davemloft.net>
52933         * po/ru.po: Update from translation team.
52935 2012-12-13  David S. Miller  <davem@davemloft.net>
52937         * NEWS: Mention IFUNC testsuite enhancements.
52939         * po/pl.po: Update from translation team.
52940         * po/bg.po: Likewise.
52942         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52943         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52945 2012-12-11  David S. Miller  <davem@davemloft.net>
52947         * po/sv.po: Update from translation team.
52949         * po/vi.po: Update from translation team.
52951         * po/cs.po: Update from translation team.
52953         * po/de.po: Update from translation team.
52954         * po/eo.po: Likewise.
52955         * po/nl.po: Likewise.
52957 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52959         [BZ #14246]
52960         * manual/argp.texi (Argp Helper Functions): Move node to follow
52961         Argp Parsing State.
52963         [BZ #14872]
52964         * manual/conf.texi (Limits on File System Capacity): Mention if
52965         terminating null is included in the max size.
52967 2012-12-10  Andreas Jaeger  <aj@suse.de>
52969         * po/cs.po: Update from translation team.
52971 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52973         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52974         void pointer and cast to uintptr_t.
52975         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52976         path.
52977         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52978         * sysdeps/s390/s390-64/memset.S: Likewise.
52980 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52982         [BZ #14833]
52983         * menual/message.texi (Message Translation): Fix typos.
52984         (Helper programs for gettext): Likewise.
52986 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52988         [BZ #14898]
52989         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52990         Change to -1.
52992 2012-12-07  David S. Miller  <davem@davemloft.net>
52994         * po/libc.pot: Update.
52996 2012-12-07  Richard Henderson  <rth@redhat.com>
52998         [BZ #10114]
52999         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53000         normal/normal case to before the switch.
53001         (_FP_DIV): Likewise.
53003 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53004             Mike Frysinger  <vapier@gentoo.org>
53006         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53007         check for __NR_fadvise64_64.
53009 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53011         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53012         0, not just to plain "0" as a statement.
53013         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53014         with cw.
53016 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53018         * NEWS: Use sourceware.org in Bugzilla URL.
53020 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53023         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53025         * stdio-common/tst-put-error.c (do_test): Add newline to the
53026         padded test to ensure flush.
53028 2012-12-05  Jeff Law  <law@redhat.com>
53030         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53032 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53034         * README: Don't refer to ports add-on as distributed separately.
53035         Mention AArch64 in list of systems supported in the ports add-on.
53037         * LICENSES: Add more non-FSF copyright and license notices.
53039         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53040         ((unused)).
53042         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53044         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53045         10000 as width of padded output.
53047 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53049         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53051         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53052         variable LX with __attribute__ ((unused)).
53053         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53054         Likewise.
53055         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53058         with __attribute__ ((unused)).
53060 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53062         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53064 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53066         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53067         (CFLAGS-nldbl-acos.c): New variable.
53068         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53069         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53070         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53071         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53072         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53073         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53074         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53075         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53076         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53077         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53078         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53079         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53080         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53081         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53082         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53083         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53084         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53085         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53086         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53087         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53088         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53089         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53090         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53091         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53092         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53093         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53094         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53095         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53096         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53097         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53098         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53099         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53100         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53101         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53102         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53107         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53108         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53109         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53110         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53111         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53112         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53113         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53114         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53115         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53116         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53117         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53118         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53119         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53120         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53121         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53122         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53123         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53124         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53125         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53126         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53127         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53128         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53129         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53130         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53131         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53132         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53133         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53134         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53135         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53136         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53137         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53138         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53139         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53140         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53141         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53142         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53143         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53144         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53145         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53146         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53147         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53148         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53149         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53150         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53151         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53152         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53153         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53154         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53155         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53156         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53157         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53158         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53159         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53160         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53161         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53162         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53163         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53164         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53167         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53169         [BZ #14914]
53170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53171         whole low double instead of just low 47 bits when splitting values
53172         into two parts.
53174 2012-12-03  Allan McRae  <allan@archlinux.org>
53176         * manual/stdio.texi (Predefined Printf Handlers): Remove
53177         @hsep and @vsep usage.
53179 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53181         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53182         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53184 2012-12-03  Jeff Law  <law@redhat.com>
53186         * time/sys/time.h (settimeofday): Do not mark TV argument
53187         as __nonnull.
53189 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53191         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53192         when currently writing and seek to current position when not.
53193         * libio/Makefile (tests): Remove bug-fclose1.
53194         * libio/bug-fclose1.c: Delete.
53196 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53198         * manual/arith.texi (feenableexcept): Fix typo.
53199         (fedisableexcept): Likewise.
53201 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53203         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53204         second, differently-typed declaration, rather than a cast.
53206 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53208         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53209         * include/rpc/svc.h: ... here.
53211 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53213         [BZ #13013]
53214         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53215         depending n and resplen2 to catch cases where answer
53216         equals answerp2.
53218 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53220         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53221         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53223 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53225         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53227 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53229         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53231 2012-11-28  Jeff Law  <law@redhat.com>
53233         [BZ #13761]
53234         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53235         dataset_temporary.  Track alloca usage into alloca_used.
53236         If dataset is large allocate and release it via malloc/free.
53238 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53240         [BZ #14197]
53241         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53243 2012-11-28  David S. Miller  <davem@davemloft.net>
53245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53247 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53249         [BZ #14803]
53250         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53251         of pi/2 rounded to nearest to 64 bits.
53252         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53253         nearest to 64 bits.
53254         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53255         bits.
53257 2012-11-28  Jeff Law <law@redhat.com>
53258             Martin Osvald <mosvald@redhat.com>
53260         [BZ #14889]
53261         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53262         * sunrpc/svc.c: Include time.h.
53263         (__svc_accept_failed): New function.
53264         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53265         any reason other than EINTR, call __svc_accept_failed.
53266         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53267         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53269 2012-11-28  Andreas Schwab  <schwab@suse.de>
53271         * scripts/abilist.awk: Also handle indirect functions in .opd
53272         section.
53274 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53276         [BZ #13881]
53277         * sysdeps/x86/fpu/powl_helper.c: New file.
53278         * sysdeps/x86/fpu/Makefile: Likewise.
53279         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53280         (p3): New object.
53281         (__ieee754_powl): Use __powl_helper for finite arguments except
53282         integer exponents below 8.
53283         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53284         (p3): New object.
53285         (__ieee754_powl): Use __powl_helper for finite arguments except
53286         integer exponents below 8.
53287         * math/libm-test.inc (pow_test): Add more tests and enable some
53288         previously disabled tests.
53289         * sysdeps/i386/fpu/libm-test-ulps: Update.
53290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53292 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53293             Carlos O'Donell  <carlos_odonell@mentor.com>
53295         * nss/makedb.c (is_prime): Assert that input is odd and greater
53296         than 4.  Note that fact in a comment too.
53297         (next_prime): Add 4 to input.
53299 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53301         [BZ #11741]
53302         * libio/Makefile (tests): Add test case tst-fwrite-error.
53303         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53304         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53305         * libio/tst-fwrite-error.c: New test case.
53307 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53309         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53310         before casting to void *.
53311         * include/libc-internal.h (__pointer_type): New macro.
53312         (__integer_if_pointer_type_sub): Likewise.
53313         (__integer_if_pointer_type): Likewise.
53314         (cast_to_integer): Likewise.
53315         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53316         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53317         before casting to atomic64_t.
53318         (atomic_exchange_acq): Likewise.
53319         (__arch_exchange_and_add_body): Likewise.
53320         (__arch_add_body): Likewise.
53321         (atomic_add_negative): Likewise.
53322         (atomic_add_zero): Likewise.
53324 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53326         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53327         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53328         (add_fdes): Likewise.
53329         (linear_search_fdes): Likewise.
53330         (binary_search_unencoded_fdes): Likewise.
53332 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53334         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53336 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53338         * configure.in: Autodetect C++ header directories.
53339         * configure: Regenerated.
53341 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53343         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53345 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53349 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53351         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53352         LDBL_MANT_DIG == 106]: Disable some tests.
53353         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53354         Likewise.
53355         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53356         Likewise.
53358         [BZ #14871]
53359         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53360         input for small inputs.  Return +/- pi/2 for large inputs.
53361         * math/libm-test.inc (atan_test): Add more tests.
53363         * sysdeps/generic/unwind-dw2-fde-glibc.c
53364         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53365         __attribute__ ((unused)).
53367         [BZ #14645]
53368         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53369         x * y if x and y are nonzero and z is zero.
53371         [BZ #14811]
53372         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53373         nonzero exponents with absolute value below 0x1p-117 to +/-
53374         0x1p-117.
53376         [BZ #14869]
53377         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53378         up arguments below 2**-450, not just those below 2**-500.
53379         * math/libm-test.inc (hypot_test): Add another test.
53381         [BZ #14868]
53382         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53383         Return a+b for ratio over 2**120, not 2**60.
53384         * math/libm-test.inc (hypot_test): Add another test.
53386         * math/libm-test.inc (clog_test): Use
53387         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53388         (clog10_test): Likewise.
53390         [BZ #6778]
53391         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53393 2012-11-22  Andreas Schwab  <schwab@suse.de>
53395         * sysdeps/i386/fpu/libm-test-ulps: Update.
53397 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53399         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53400         printf output with newline.
53402 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53404         [BZ #14865]
53405         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53406         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53407         -z nodlopen, -z initfirst and -z execstack support.
53408         * configure: Regenerated.
53410         * elf/elf.h (DF_1_NODIRECT): New macro.
53411         (DF_1_IGNMULDEF): Likewise.
53412         (DF_1_NOKSYMS): Likewise.
53413         (DF_1_NOHDR): Likewise.
53414         (DF_1_EDITED): Likewise.
53415         (DF_1_NORELOC): Likewise.
53416         (DF_1_SYMINTPOSE): Likewise.
53417         (DF_1_GLOBAUDIT): Likewise.
53418         (DF_1_SINGLETON): Likewise.
53419         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53420         DT_1_SUPPORTED_MASK bits.
53421         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53423 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53425         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53427 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53429         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53430         macro.
53432         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53433         (sendmmsg): Move declarations...
53434         * socket/sys/socket.h: ... here.
53435         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53436         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53437         include it from...
53438         * socket/recvmmsg.c: ... this new file.
53439         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53440         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53441         definition of __sendmmsg hidden.
53442         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53443         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53444         Move ENOSYS stub into and include it from...
53445         * socket/sendmmsg.c: ... this new file.
53446         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53447         (sysdep_routines): Move recvmmsg and sendmmsg...
53448         * socket/Makefile (routines): ... here.
53449         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53450         (GLIBC_PRIVATE): Add __sendmmsg.
53451         * include/sys/socket.h (__sendmmsg): Add declarations.
53452         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53453         sendmmsg.
53455 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53458         variable I1 with __attribute__ ((unused)).
53459         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53461 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53463         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53464         DUMMY variables with __attribute__ ((unused)).
53466         * bits/byteswap.h: Include <bits/types.h>.
53467         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53469 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53471         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53472         string_t.  Do not manually set errno.
53473         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53474         length with __strnlen.  Make sure to both set errno and return it on
53475         failure.
53477 2012-11-19  David S. Miller  <davem@davemloft.net>
53479         With help from Joseph Myers.
53480         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53481         very large arguments properly.
53482         * math/libm-test.inc (atan_test): New tests.
53483         (atan2_test): New tests.
53484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53487 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53489         [BZ #14856]
53490         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53491         Define to 3.
53493         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53494         [POSIX] (EADDRNOTAVAIL): Likewise.
53495         [POSIX] (EAFNOSUPPORT): Likewise.
53496         [POSIX] (EALREADY): Likewise.
53497         [POSIX] (ECONNABORTED): Likewise.
53498         [POSIX] (ECONNREFUSED): Likewise.
53499         [POSIX] (ECONNRESET): Likewise.
53500         [POSIX] (EDESTADDRREQ): Likewise.
53501         [POSIX] (EDQUOT): Likewise.
53502         [POSIX] (EHOSTUNREACH): Likewise.
53503         [POSIX] (EIDRM): Likewise.
53504         [POSIX] (EISCONN): Likewise.
53505         [POSIX] (ELOOP): Likewise.
53506         [POSIX] (EMULTIHOP): Likewise.
53507         [POSIX] (ENETDOWN): Likewise.
53508         [POSIX] (ENETUNREACH): Likewise.
53509         [POSIX] (ENOBUFS): Likewise.
53510         [POSIX] (ENODATA): Likewise.
53511         [POSIX] (ENOLINK): Likewise.
53512         [POSIX] (ENOMSG): Likewise.
53513         [POSIX] (ENOPROTOOPT): Likewise.
53514         [POSIX] (ENOSR): Likewise.
53515         [POSIX] (ENOSTR): Likewise.
53516         [POSIX] (ENOTCONN): Likewise.
53517         [POSIX] (ENOTSOCK): Likewise.
53518         [POSIX] (EOPNOTSUPP): Likewise.
53519         [POSIX] (EOVERFLOW): Likewise.
53520         [POSIX] (EPROTO): Likewise.
53521         [POSIX] (EPROTONOSUPPORT): Likewise.
53522         [POSIX] (EPROTOTYPE): Likewise.
53523         [POSIX] (ESTALE): Likewise.
53524         [POSIX] (ETIME): Likewise.
53525         [POSIX] (ETXTBSY): Likewise.
53526         [POSIX] (EWOULDBLOCK): Likewise.
53527         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53528         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53529         [POSIX] (SEEK_CUR): Likewise.
53530         [POSIX] (SEEK_END): Likewise.
53531         [POSIX || UNIX98] (mode_t): Do not require.
53532         [POSIX] (off_t): Likewise.
53533         [POSIX] (pid_t): Likewise.
53534         [POSIX] (sys/stat.h): Do not allow header.
53535         [POSIX] (unistd.h): Likewise.
53536         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53537         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53538         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53539         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53540         require.
53541         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53542         sigevent): Specify elements.
53543         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53544         entry.
53545         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53546         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53548         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53549         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53550         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53551         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53552         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53553         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53554         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53555         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53556         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53557         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53558         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53559         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53560         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53561         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53562         Likewise.
53563         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53564         Likewise.
53565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53566         Likewise.
53567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53568         Likewise.
53569         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53570         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53571         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53572         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53573         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53574         Specify lower bound on value.
53575         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53576         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53577         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53578         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53579         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53580         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53581         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53582         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53583         value.
53584         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53585         as optional.
53586         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53587         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53588         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53589         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53590         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53591         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53592         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53593         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53594         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53595         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53596         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53597         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53598         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53599         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53600         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53601         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53602         entry.
53603         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53604         optional.
53605         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53606         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53607         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53608         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53609         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53610         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53611         Likewise.
53612         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53613         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53614         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53615         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53616         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53617         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53618         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53619         as optional.
53620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53621         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53623         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53624         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53625         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53626         specify as optional.
53627         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53628         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53629         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53630         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53631         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53632         [XPG3] (NL_LANGMAX): Likewise.
53633         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53634         [POSIX || XPG3] (NL_NMAX): Likewise.
53635         [POSIX || XPG3] (NL_SETMAX): Likewise.
53636         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53637         [XPG3] (NZERO): Likewise.
53638         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53639         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53640         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53641         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53642         (REG_ERANGE): Expect.
53643         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53644         optional-constant.
53645         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53646         Use (void) in prototype.
53647         [POSIX] (*_t): Allow.
53648         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53649         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53650         (WRDE_BADVAL): Expect.
53652         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53653         expect.
53654         [XPG3 || XPG4] (O_RSYNC): Likewise.
53655         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53656         Likewise.
53657         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53658         [XPG3 || XPG4] (sigqueue): Likewise.
53659         [XPG3 || XPG4] (sigtimedwait): Likewise.
53660         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53661         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53662         [XPG3 || XPG4] (vsnprintf): Likewise.
53663         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53664         Likewise.
53665         [XPG3 || XPG4] (blksize_t): Likewise.
53666         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53667         Likewise.
53668         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53669         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53670         [XPG3 || XPG4] (struct itimerspec): Likewise.
53671         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53672         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53673         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53674         [XPG3 || XPG4] (clockid_t): Likewise.
53675         [XPG3 || XPG4] (timer_t): Likewise.
53676         [XPG3 || XPG4] (clock_getres): Likewise.
53677         [XPG3 || XPG4] (clock_gettime): Likewise.
53678         [XPG3 || XPG4] (clock_settime): Likewise.
53679         [XPG3 || XPG4] (nanosleep): Likewise.
53680         [XPG3 || XPG4] (timer_create): Likewise.
53681         [XPG3 || XPG4] (timer_delete): Likewise.
53682         [XPG3 || XPG4] (timer_gettime): Likewise.
53683         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53684         [XPG3 || XPG4] (timer_settime): Likewise.
53685         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53686         [XPG3 || XPG4] (getlogin_r): Likewise.
53687         [XPG3 || XPG4] (pread): Likewise.
53688         [XPG3 || XPG4] (pthread_atfork): Likewise.
53689         [XPG3 || XPG4] (pwrite): Likewise.
53691         [BZ #14835]
53692         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53693         <bits/siginfo.h>.
53695 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53697         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53698         finalizing MALLSTREAM.
53700         * sysdeps/mach/hurd/syncfs.c: New file.
53702 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53704         [BZ #14719]
53705         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53706         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53707         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53708         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53709         (_nss_dns_gethostbyname4_r): Likewise.
53710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53711         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53713 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53715         [BZ #13763]
53716         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53718 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53720         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53721         * elf/cache.c (print_entry): Print ",AArch64" for
53722         FLAG_AARCH64_LIB64
53724         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53725         * elf/cache.c (print_entry): Print ",hard-float" for
53726         FLAG_ARM_LIBHF.
53728 2012-11-18  David S. Miller  <davem@davemloft.net>
53730         With help from Joseph Myers.
53731         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53732         cutoff to 2**-13.
53733         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53734         cutoff to 2**-25.
53735         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53736         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53737         small.
53738         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53739         * math/libm-test.inc (y0_test): New tests.
53740         (y1_test): New tests.
53741         * sysdeps/i386/fpu/libm-test-ulps: Update.
53742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53745 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53747         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53748         64-bit targets.
53749         * configure: Regenerated.
53751 2012-11-17  David S. Miller  <davem@davemloft.net>
53753         [BZ #14811]
53754         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53755         nonzero exponents with absolute value below 0x1p-128 to +/-
53756         0x1p-128.
53758 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53760         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53762         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53764         * posix/getconf-speclist.c: New file.
53765         * posix/posix-envs.def: Likewise.
53766         * posix/confstr.c (START_ENV_GROUP): New macro.
53767         (END_ENV_GROUP): Likewise.
53768         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53769         (KNOWN_PRESENT_ENV_STRING): Likewise.
53770         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53771         (UNKNOWN_ENVIRONMENT): Likewise.
53772         (confstr): Include posix-envs.def instead of handling
53773         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53774         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53775         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53776         (END_ENV_GROUP): Likewise.
53777         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53778         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53779         (UNKNOWN_ENVIRONMENT): Likewise.
53780         (__sysconf): Include posix-envs.def instead of handling associated
53781         cases directly here.
53782         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53783         preprocessing getconf-speclist.c rather than running getconf or
53784         generating empty file.
53786 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53788         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53790 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53792         [BZ #14672]
53793         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53795 2012-11-16  David S. Miller  <davem@davemloft.net>
53797         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53798         smaller than LDBL_EPSILON/2.0L, just return xm1.
53800 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53802         * elf/tst-array1.c (init): Set constructor priority to 1000.
53803         (fini): Set destructor priority to 1000.
53804         * elf/tst-array2dep.c: Likewise.
53806 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53808         [BZ #11741]
53809         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53810         (_IO_new_file_xsputn): Also return EOF if none of the input
53811         data was written when overflow failed.
53812         * libio/iopadn.c (_IO_padn): Likewise.
53813         * libio/iowpadn.c (_IO_wpadn): Likewise.
53814         * stdio-common/tst-put-error.c: Add copyright notice.
53815         (do_test): Add case for printing padded string.
53816         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53817         _IO_padn returned error.
53818         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53819         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53820         return EOF.
53822 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53824         * libio/libioP.h: Add comment note that the references to C++
53825         bits are now obsolete.
53827 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53829         * math/libm-test.inc (check_complex): Use asprintf.
53831 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53833         * debug/pcprofiledump.c (print_version): Update copyright year.
53834         * malloc/memusagestat.c (print_version): Likewise.
53836 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53838         [BZ #14831]
53839         * elf/Makefile (tests): Add tst-audit8.
53840         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53841         ($(objpfx)tst-audit8.out): New target.
53842         (tst-audit8-ENV): New variable.
53843         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53844         audit if l_reloc_result is NULL.
53845         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53846         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53847         * elf/tst-audit8.c: New file.
53849 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53851         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53852         * misc/Makefile (CFLAGS-select.c): Define.
53853         * posix/Makefile (CFLAGS-pause.c): Define.
53855 2012-11-13  David S. Miller  <davem@davemloft.net>
53857         * crypt/Makefile: Move test targets after toplevel Rules
53858         inclusion.  Grab any necessary sysdep routines when linking.
53859         * crypt/md5.c (md5_process_block): Remove define, we will always
53860         name it __md5_process_block.
53861         (md5_finish_ctx): Update md5_process_block call.
53862         (md5_stream): Likewise.
53863         (md5_process_bytes): Likewise.
53864         (md5_process_block): Rename to __md5_process_block and move to ...
53865         * crypt/md5-block.c: ... here.
53866         * crypt/sha256.c (sha256_process_block): Move to ...
53867         * crypt/sha256-block.c: ... here.
53868         * crypt/sha512.c (sha512_process_block): Move to ...
53869         * crypt/sha512-block.c: ... here.
53870         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53871         path.
53872         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53873         * sysdeps/sparc/sparc64/multiarch/Makefile
53874         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53875         crypt subdir.
53876         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53877         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53878         multiarch changes.
53879         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53880         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53881         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53882         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53883         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53884         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53885         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53886         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53887         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53888         file.
53889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53890         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53891         file.
53892         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53894 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53896         * timezone/tzselect.ksh: Update from tzcode git revision
53897         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53898         * timezone/zdump.c: Likewise.
53899         * timezone/zic.c: Likewise.
53900         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53901         in TZVERSION setting, not $(PKGVERSION).
53902         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53903         REPORT_BUGS_TO settings.
53905         [BZ #14838]
53906         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53907         macro.
53909 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53911         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53912         detection to immediately after _FP_ROUND().
53913         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53914         bits are 0.
53916 2012-11-11  David S. Miller  <davem@davemloft.net>
53918         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53919         inttypes.h
53920         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53921         __close rather than their public counterparts.
53923 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53925         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53926         file.
53927         [UNIX98] (sem_timedwait): Do not expect.
53928         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53929         [XPG4 || UNIX98] (sockatmark): Do not expect.
53930         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53931         (clock_getcpuclockid): Do not expect.
53932         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53933         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53934         Do not expect.
53935         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53936         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53937         [UNIX98] (vwscanf): Likewise.
53938         [UNIX98] (vswscanf): Likewise.
53940 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53942         * timezone/version.h: Remove file.
53943         * timezone/README: Do not refer to version.h.
53944         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53945         $(objpfx)version.h.
53946         ($(objpfx)zdump.o): Likewise.
53947         ($(objpfx)version.h): New target.
53949         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53950         2012i.
53951         * timezone/README: Don't mention modification to tzselect.ksh.
53952         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53953         work on unmodified tzselect.ksh.  Substitute version numbers in
53954         tzselect.ksh.
53956         * Makefile (format-me): Remove.
53957         (INSTALL): Adjust indentation.  Use commands directly instead of
53958         using $(format-me).
53960         * aclocal.m4 (ACX_PKGVERSION): New macro.
53961         (ACX_BUGURL): Likewise.
53962         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53963         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53964         (REPORT_BUGS_TO): Likewise.
53965         * configure: Regenerated.
53966         * config.h.in (PKGVERSION): New macro.
53967         (REPORT_BUGS_TO): Likewise.
53968         * config.make.in (PKGVERSION): New variable.
53969         (PKGVERSION_TEXI): Likewise.
53970         (REPORT_BUGS_TO): Likewise.
53971         (REPORT_BUGS_TEXI): Likewise.
53972         * Makefile (format-me): Use -I$(common-objpfx)manual.
53973         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53974         ($(common-objpfx)manual/%): New target.
53975         (manual/%): Remove target.
53976         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53977         (print_version): Use PKGVERSION.
53978         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53979         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53980         and REPORT_BUGS_TO.
53981         ($(objpfx)xtrace): Likewise.
53982         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53983         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53984         (print_version): Use PKGVERSION.
53985         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53986         (do_version): Use PKGVERSION.
53987         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53988         REPORT_BUGS_TO.
53989         (common-ldd-rewrite): Likewise.
53990         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53991         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53992         (print_version): Use PKGVERSION.
53993         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53994         * elf/pldd.c (argp_program_bug_address): Remove variable.
53995         (more_help): New function.
53996         (argp): Use more_help.
53997         (print_version): Use PKGVERSION.
53998         * elf/sln.c (main): Use PKGVERSION.
53999         (usage): Use REPORT_BUGS_TO.
54000         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54001         (top level): Use PKGVERSION.
54002         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54003         (print_version): Use PKGVERSION.
54004         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54005         (print_version): Use PKGVERSION.
54006         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54007         (print_version): Use PKGVERSION.
54008         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54009         (print_version): Use PKGVERSION.
54010         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54011         (print_version): Use PKGVERSION.
54012         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54013         (print_version): Use PKGVERSION.
54014         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54015         and BUGURL.
54016         ($(objpfx)memusage): Likewise.
54017         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54018         (do_version): Use PKGVERSION.
54019         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54020         (print_version): Use PKGVERSION.
54021         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54022         ($PKGVERSION): New variable.
54023         ($REPORT_BUGS_TO): Likewise.
54024         (usage): Use $REPORT_BUGS_TO.
54025         (top level): Use $PKGVERSION.
54026         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54027         ($(objpfx)pkgvers.texi): New rule.
54028         ($(objpfx)stamp-pkgvers): Likewise.
54029         * manual/install.texi: Include pkgvers.texi.
54030         (--with-pkgversion): Document new configure option.
54031         (--with-bugurl): Likewise.
54032         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54033         than necessarily for this particular distribution.  Use
54034         REPORT_BUGS_TO for where to report bugs.
54035         * INSTALL: Regenerated.
54036         * manual/libc.texinfo: Include pkgvers.texi.
54037         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54038         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54039         (print_version): Use PKGVERSION.
54040         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54041         (print_version): Use PKGVERSION.
54042         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54043         (print_version): Use PKGVERSION.
54044         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54045         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54046         macro.
54047         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54048         (print_version): Use PKGVERSION.
54049         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54050         (print_version): Use PKGVERSION.
54051         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54052         and PKGVERSION.
54054         * timezone/checktab.awk: Update from tzcode 2012i.
54055         * timezone/ialloc.c: Likewise.
54056         * timezone/private.h: Likewise.
54057         * timezone/scheck.c: Likewise.
54058         * timezone/tzfile.h: Likewise.
54059         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54060         (TZVERSION): Hardcode tzcode version number.
54061         * timezone/zdump.c: Update from tzcode 2012i.
54062         * timezone/zic.c: Likewise.
54063         * timezone/version.h: New file.
54064         * timezone/README: Describe version.h.  Update upstream location.
54066         [BZ #14824]
54067         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54068         (mktemp): Enable declaration.
54069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54073         Likewise.
54074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54075         Likewise.
54076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54077         Likewise.
54078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54079         Likewise.
54080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54081         Likewise.
54082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54083         Likewise.
54085         [BZ #14821]
54086         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54087         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54088         for copies of such integer values.
54089         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54090         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54092 2012-11-09  Andreas Jaeger  <aj@suse.de>
54094         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54095         definitions and declarations that are provided by
54096         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54098 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54100         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54101         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54102         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54103         definition.
54105 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54107         * elf/elf.h: Update comment before AArch64 relocations.
54109 2012-11-07  David S. Miller  <davem@davemloft.net>
54111         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54112         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54113         (__start_context): Declare.
54114         (__makecontext_ret): Delete.
54115         (__makecontext): Hook up __start_context instead of
54116         __makecontext_ret.
54117         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54118         (sysdep_routines): Add __start_context when in stdlib.
54120 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54122         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54123         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54124         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54125         hardcoded "nm".
54126         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54127         (READELF): New variable.  Use it instead of hardcoded "readelf".
54129 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54131         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54132         * sysdeps/x86/Makefile: Here.
54133         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54134         * sysdeps/x86/tst-xmmymm.sh: This.
54136 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54138         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54139         expectations.
54140         [UNIX98] (pthread_barrier_t): Do not expect.
54141         [UNIX98] (pthread_barrierattr_t): Likewise.
54142         [UNIX98] (pthread_spinlock_t): Likewise.
54143         [UNIX98] (pthread_barrier_destroy): Likewise.
54144         [UNIX98] (pthread_barrier_init): Likewise.
54145         [UNIX98] (pthread_barrier_wait): Likewise.
54146         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54147         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54148         [UNIX98] (pthread_barrierattr_init): Likewise.
54149         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54150         [UNIX98] (pthread_getcpuclockid): Likewise.
54151         [UNIX98] (pthread_mutex_timedlock): Likewise.
54152         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54153         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54154         [UNIX98] (pthread_sigmask): Likewise.
54155         [UNIX98] (pthread_spin_destroy): Likewise.
54156         [UNIX98] (pthread_spin_init): Likewise.
54157         [UNIX98] (pthread_spin_lock): Likewise.
54158         [UNIX98] (pthread_spin_trylock): Likewise.
54159         [UNIX98] (pthread_spin_unlock): Likewise.
54160         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54161         Do not expect.
54162         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54163         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54164         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54165         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54166         [XPG3 || XPG4] (pthread_key_t): Likewise.
54167         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54168         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54169         [XPG3 || XPG4] (pthread_once_t): Likewise.
54170         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54171         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54172         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54173         [XPG3 || XPG4] (pthread_t): Likewise.
54175         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54176         not expect.
54177         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54179         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54180         Change function return type to int.
54182         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54183         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54184         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54185         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54186         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54187         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54188         [!POSIX] (posix_madvise): Likewise.
54189         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54190         && !UNIX98].
54191         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54192         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54193         (mode_t): Likewise.
54194         (posix_mem_offset): Likewise.
54195         (posix_typed_mem_get_info): Likewise.
54196         (posix_typed_mem_open): Likewise.
54198         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54199         Change condition to [XOPEN2K8].
54201         * conform/conformtest.pl: Preprocess allow-header data with -x c
54202         instead of from stdin.
54203         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54204         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54205         [C99-based standards] (cerfc): Likewise.
54206         [C99-based standards] (cexp2): Likewise.
54207         [C99-based standards] (cexpm1): Likewise.
54208         [C99-based standards] (clog10): Likewise.
54209         [C99-based standards] (clog1p): Likewise.
54210         [C99-based standards] (clog2): Likewise.
54211         [C99-based standards] (clgamma): Likewise.
54212         [C99-based standards] (ctgamma): Likewise.
54213         [C99-based standards] (cerff): Likewise.
54214         [C99-based standards] (cerfcf): Likewise.
54215         [C99-based standards] (cexp2f): Likewise.
54216         [C99-based standards] (cexpm1f): Likewise.
54217         [C99-based standards] (clog10f): Likewise.
54218         [C99-based standards] (clog1pf): Likewise.
54219         [C99-based standards] (clog2f): Likewise.
54220         [C99-based standards] (clgammaf): Likewise.
54221         [C99-based standards] (ctgammaf): Likewise.
54222         [C99-based standards] (cerfl): Likewise.
54223         [C99-based standards] (cerfcl): Likewise.
54224         [C99-based standards] (cexp2l): Likewise.
54225         [C99-based standards] (cexpm1l): Likewise.
54226         [C99-based standards] (clog10l): Likewise.
54227         [C99-based standards] (clog1pl): Likewise.
54228         [C99-based standards] (clog2l): Likewise.
54229         [C99-based standards] (clgammal): Likewise.
54230         [C99-based standards] (ctgammal): Likewise.
54231         * conform/data/inttypes.h-data [C99-based standards]: Include
54232         stdint.h-data.  Remove all expectations for stdint.h contents.
54233         [C99-based standards] (PRI*): Do not allow.
54234         [C99-based standards] (SCN*): Likewise.
54235         [C99-based standards] (*_t): Likewise.
54236         [C99-based-standards] (PRId8): Expect macro.
54237         [C99-based-standards] (PRIi8): Likewise.
54238         [C99-based-standards] (PRIo8): Likewise.
54239         [C99-based-standards] (PRIu8): Likewise.
54240         [C99-based-standards] (PRIx8): Likewise.
54241         [C99-based-standards] (PRIX8): Likewise.
54242         [C99-based-standards] (SCNd8): Likewise.
54243         [C99-based-standards] (SCNi8): Likewise.
54244         [C99-based-standards] (SCNo8): Likewise.
54245         [C99-based-standards] (SCNu8): Likewise.
54246         [C99-based-standards] (SCNx8): Likewise.
54247         [C99-based-standards] (PRIdLEAST8): Likewise.
54248         [C99-based-standards] (PRIiLEAST8): Likewise.
54249         [C99-based-standards] (PRIoLEAST8): Likewise.
54250         [C99-based-standards] (PRIuLEAST8): Likewise.
54251         [C99-based-standards] (PRIxLEAST8): Likewise.
54252         [C99-based-standards] (PRIXLEAST8): Likewise.
54253         [C99-based-standards] (SCNdLEAST8): Likewise.
54254         [C99-based-standards] (SCNiLEAST8): Likewise.
54255         [C99-based-standards] (SCNoLEAST8): Likewise.
54256         [C99-based-standards] (SCNuLEAST8): Likewise.
54257         [C99-based-standards] (SCNxLEAST8): Likewise.
54258         [C99-based-standards] (PRIdFAST8): Likewise.
54259         [C99-based-standards] (PRIiFAST8): Likewise.
54260         [C99-based-standards] (PRIoFAST8): Likewise.
54261         [C99-based-standards] (PRIuFAST8): Likewise.
54262         [C99-based-standards] (PRIxFAST8): Likewise.
54263         [C99-based-standards] (PRIXFAST8): Likewise.
54264         [C99-based-standards] (SCNdFAST8): Likewise.
54265         [C99-based-standards] (SCNiFAST8): Likewise.
54266         [C99-based-standards] (SCNoFAST8): Likewise.
54267         [C99-based-standards] (SCNuFAST8): Likewise.
54268         [C99-based-standards] (SCNxFAST8): Likewise.
54269         [C99-based-standards] (PRId16): Likewise.
54270         [C99-based-standards] (PRIi16): Likewise.
54271         [C99-based-standards] (PRIo16): Likewise.
54272         [C99-based-standards] (PRIu16): Likewise.
54273         [C99-based-standards] (PRIx16): Likewise.
54274         [C99-based-standards] (PRIX16): Likewise.
54275         [C99-based-standards] (SCNd16): Likewise.
54276         [C99-based-standards] (SCNi16): Likewise.
54277         [C99-based-standards] (SCNo16): Likewise.
54278         [C99-based-standards] (SCNu16): Likewise.
54279         [C99-based-standards] (SCNx16): Likewise.
54280         [C99-based-standards] (PRIdLEAST16): Likewise.
54281         [C99-based-standards] (PRIiLEAST16): Likewise.
54282         [C99-based-standards] (PRIoLEAST16): Likewise.
54283         [C99-based-standards] (PRIuLEAST16): Likewise.
54284         [C99-based-standards] (PRIxLEAST16): Likewise.
54285         [C99-based-standards] (PRIXLEAST16): Likewise.
54286         [C99-based-standards] (SCNdLEAST16): Likewise.
54287         [C99-based-standards] (SCNiLEAST16): Likewise.
54288         [C99-based-standards] (SCNoLEAST16): Likewise.
54289         [C99-based-standards] (SCNuLEAST16): Likewise.
54290         [C99-based-standards] (SCNxLEAST16): Likewise.
54291         [C99-based-standards] (PRIdFAST16): Likewise.
54292         [C99-based-standards] (PRIiFAST16): Likewise.
54293         [C99-based-standards] (PRIoFAST16): Likewise.
54294         [C99-based-standards] (PRIuFAST16): Likewise.
54295         [C99-based-standards] (PRIxFAST16): Likewise.
54296         [C99-based-standards] (PRIXFAST16): Likewise.
54297         [C99-based-standards] (SCNdFAST16): Likewise.
54298         [C99-based-standards] (SCNiFAST16): Likewise.
54299         [C99-based-standards] (SCNoFAST16): Likewise.
54300         [C99-based-standards] (SCNuFAST16): Likewise.
54301         [C99-based-standards] (SCNxFAST16): Likewise.
54302         [C99-based-standards] (PRId32): Likewise.
54303         [C99-based-standards] (PRIi32): Likewise.
54304         [C99-based-standards] (PRIo32): Likewise.
54305         [C99-based-standards] (PRIu32): Likewise.
54306         [C99-based-standards] (PRIx32): Likewise.
54307         [C99-based-standards] (PRIX32): Likewise.
54308         [C99-based-standards] (SCNd32): Likewise.
54309         [C99-based-standards] (SCNi32): Likewise.
54310         [C99-based-standards] (SCNo32): Likewise.
54311         [C99-based-standards] (SCNu32): Likewise.
54312         [C99-based-standards] (SCNx32): Likewise.
54313         [C99-based-standards] (PRIdLEAST32): Likewise.
54314         [C99-based-standards] (PRIiLEAST32): Likewise.
54315         [C99-based-standards] (PRIoLEAST32): Likewise.
54316         [C99-based-standards] (PRIuLEAST32): Likewise.
54317         [C99-based-standards] (PRIxLEAST32): Likewise.
54318         [C99-based-standards] (PRIXLEAST32): Likewise.
54319         [C99-based-standards] (SCNdLEAST32): Likewise.
54320         [C99-based-standards] (SCNiLEAST32): Likewise.
54321         [C99-based-standards] (SCNoLEAST32): Likewise.
54322         [C99-based-standards] (SCNuLEAST32): Likewise.
54323         [C99-based-standards] (SCNxLEAST32): Likewise.
54324         [C99-based-standards] (PRIdFAST32): Likewise.
54325         [C99-based-standards] (PRIiFAST32): Likewise.
54326         [C99-based-standards] (PRIoFAST32): Likewise.
54327         [C99-based-standards] (PRIuFAST32): Likewise.
54328         [C99-based-standards] (PRIxFAST32): Likewise.
54329         [C99-based-standards] (PRIXFAST32): Likewise.
54330         [C99-based-standards] (SCNdFAST32): Likewise.
54331         [C99-based-standards] (SCNiFAST32): Likewise.
54332         [C99-based-standards] (SCNoFAST32): Likewise.
54333         [C99-based-standards] (SCNuFAST32): Likewise.
54334         [C99-based-standards] (SCNxFAST32): Likewise.
54335         [C99-based-standards] (PRId64): Likewise.
54336         [C99-based-standards] (PRIi64): Likewise.
54337         [C99-based-standards] (PRIo64): Likewise.
54338         [C99-based-standards] (PRIu64): Likewise.
54339         [C99-based-standards] (PRIx64): Likewise.
54340         [C99-based-standards] (PRIX64): Likewise.
54341         [C99-based-standards] (SCNd64): Likewise.
54342         [C99-based-standards] (SCNi64): Likewise.
54343         [C99-based-standards] (SCNo64): Likewise.
54344         [C99-based-standards] (SCNu64): Likewise.
54345         [C99-based-standards] (SCNx64): Likewise.
54346         [C99-based-standards] (PRIdLEAST64): Likewise.
54347         [C99-based-standards] (PRIiLEAST64): Likewise.
54348         [C99-based-standards] (PRIoLEAST64): Likewise.
54349         [C99-based-standards] (PRIuLEAST64): Likewise.
54350         [C99-based-standards] (PRIxLEAST64): Likewise.
54351         [C99-based-standards] (PRIXLEAST64): Likewise.
54352         [C99-based-standards] (SCNdLEAST64): Likewise.
54353         [C99-based-standards] (SCNiLEAST64): Likewise.
54354         [C99-based-standards] (SCNoLEAST64): Likewise.
54355         [C99-based-standards] (SCNuLEAST64): Likewise.
54356         [C99-based-standards] (SCNxLEAST64): Likewise.
54357         [C99-based-standards] (PRIdFAST64): Likewise.
54358         [C99-based-standards] (PRIiFAST64): Likewise.
54359         [C99-based-standards] (PRIoFAST64): Likewise.
54360         [C99-based-standards] (PRIuFAST64): Likewise.
54361         [C99-based-standards] (PRIxFAST64): Likewise.
54362         [C99-based-standards] (PRIXFAST64): Likewise.
54363         [C99-based-standards] (SCNdFAST64): Likewise.
54364         [C99-based-standards] (SCNiFAST64): Likewise.
54365         [C99-based-standards] (SCNoFAST64): Likewise.
54366         [C99-based-standards] (SCNuFAST64): Likewise.
54367         [C99-based-standards] (SCNxFAST64): Likewise.
54368         [C99-based-standards] (PRIdMAX): Likewise.
54369         [C99-based-standards] (PRIiMAX): Likewise.
54370         [C99-based-standards] (PRIoMAX): Likewise.
54371         [C99-based-standards] (PRIuMAX): Likewise.
54372         [C99-based-standards] (PRIxMAX): Likewise.
54373         [C99-based-standards] (PRIXMAX): Likewise.
54374         [C99-based-standards] (SCNdMAX): Likewise.
54375         [C99-based-standards] (SCNiMAX): Likewise.
54376         [C99-based-standards] (SCNoMAX): Likewise.
54377         [C99-based-standards] (SCNuMAX): Likewise.
54378         [C99-based-standards] (SCNxMAX): Likewise.
54379         [C99-based-standards] (PRIdPTR): Likewise.
54380         [C99-based-standards] (PRIiPTR): Likewise.
54381         [C99-based-standards] (PRIoPTR): Likewise.
54382         [C99-based-standards] (PRIuPTR): Likewise.
54383         [C99-based-standards] (PRIxPTR): Likewise.
54384         [C99-based-standards] (PRIXPTR): Likewise.
54385         [C99-based-standards] (SCNdPTR): Likewise.
54386         [C99-based-standards] (SCNiPTR): Likewise.
54387         [C99-based-standards] (SCNoPTR): Likewise.
54388         [C99-based-standards] (SCNuPTR): Likewise.
54389         [C99-based-standards] (SCNxPTR): Likewise.
54390         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54391         allow.
54392         * conform/data/stdint.h-data: Update comments to clarify
54393         requirements.
54394         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54395         type.
54396         [C99-based standards] (INT8_MAX): Likewise.
54397         [C99-based standards] (INT16_MIN): Likewise.
54398         [C99-based standards] (INT16_MAX): Likewise.
54399         [C99-based standards] (INT32_MIN): Likewise.
54400         [C99-based standards] (INT32_MAX): Likewise.
54401         [C99-based standards] (INT64_MIN): Likewise.
54402         [C99-based standards] (INT64_MAX): Likewise.
54403         [C99-based standards] (UINT8_MAX): Likewise.
54404         [C99-based standards] (UINT16_MAX): Likewise.
54405         [C99-based standards] (UINT32_MAX): Likewise.
54406         [C99-based standards] (UINT64_MAX): Likewise.
54407         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54408         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54409         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54410         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54411         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54412         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54413         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54414         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54415         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54416         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54417         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54418         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54419         [C99-based standards] (INT_FAST8_MIN): Likewise.
54420         [C99-based standards] (INT_FAST8_MAX): Likewise.
54421         [C99-based standards] (INT_FAST16_MIN): Likewise.
54422         [C99-based standards] (INT_FAST16_MAX): Likewise.
54423         [C99-based standards] (INT_FAST32_MIN): Likewise.
54424         [C99-based standards] (INT_FAST32_MAX): Likewise.
54425         [C99-based standards] (INT_FAST64_MIN): Likewise.
54426         [C99-based standards] (INT_FAST64_MAX): Likewise.
54427         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54428         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54429         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54430         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54431         [C99-based standards] (INTPTR_MIN): Likewise.
54432         [C99-based standards] (INTPTR_MAX): Likewise.
54433         [C99-based standards] (UINTPTR_MAX): Likewise.
54434         [C99-based standards] (INTMAX_MIN): Likewise.
54435         [C99-based standards] (INTMAX_MAX): Likewise.
54436         [C99-based standards] (UINTMAX_MAX): Likewise.
54437         [C99-based standards] (PTRDIFF_MIN): Likewise.
54438         [C99-based standards] (PTRDIFF_MAX): Likewise.
54439         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54440         [C99-based standards] (SIZE_MAX): Likewise.
54441         [C99-based standards] (WCHAR_MAX): Likewise.
54442         [C99-based standards] (WINT_MAX): Likewise.
54443         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54444         constraint on value.
54445         [C99-based standards] (WCHAR_MIN): Likewise.
54446         [C99-based standards] (WINT_MIN): Likewise.
54447         [C99-based standards] (*_t): Allow.
54448         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54449         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54450         Include math.h-data and complex.h-data.  Remove all expectations
54451         of math.h and complex.h contents.
54452         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54453         at end of line.
54454         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54455         (struct tm): Expect tag.
54456         [C99-based-standards] (wcstof): Expect function.
54457         [C99-based-standards] (wcstold): Likewise.
54458         [C99-based-standards] (wcstoll): Likewise.
54459         [C99-based-standards] (wcstoull): Likewise.
54460         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54461         macro-int-constant.  Specify type.
54462         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54463         constraint on value.
54464         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54465         Specify type.
54466         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54467         Specify value.
54468         [ISO C standards]: Do not allow headers.
54469         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54470         wcs[abcdefghijklmnopqrstuvwxyz]*.
54471         [ISO C standards] (*_t): Do not allow.
54472         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54473         Expect function.
54474         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54475         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54476         Specify type.
54477         [ISO C standards]: Do not allow headers.
54478         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54479         is[abcdefghijklmnopqrstuvwxyz]*.
54480         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54481         to[abcdefghijklmnopqrstuvwxyz]*.
54482         [ISO C standards] (*_t): Do not allow.
54483         * conform/data/stdalign.h-data: New file.
54484         * conform/data/stdbool.h-data: Likewise.
54485         * conform/data/stdnoreturn.h-data: Likewise.
54487 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54489         [BZ #14815]
54490         * manual/filesys.texi (Directory Entries): Typo fix.
54491         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54493 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54495         * elf/elf.h (EM_AARCH64): New macro.
54496         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54497         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54498         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54499         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54500         (R_AARCH64_TLSDESC): Likewise.
54501         (NT_ARM_TLS): Likewise.
54502         (NT_ARM_HW_BREAK): Likewise.
54503         (NT_ARM_HW_WATCH): Likewise.
54505 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54507         [BZ #14811]
54508         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54509         (__ieee754_powl): Saturate nonzero exponents with absolute value
54510         below 0x1p-79 to +/- 0x1p-79.
54511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54512         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54513         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54514         nonzero exponents with absolute value below 0x1p-32 to +/-
54515         0x1p-32.
54516         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54517         (__ieee754_powl): Saturate nonzero exponents with absolute value
54518         below 0x1p-79 to +/- 0x1p-79.
54519         * math/libm-test.inc (pow_test): Add more tests.
54521 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54523         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54524         _dl_s390_cap_flags with kernel. Increase string length.
54525         (_dl_s390_platforms): Add z196 and zEC12.
54527 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54529         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54530         Change XOPEN21K to XOPEN2K.
54532 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54534         * string/memmove.c: Use memcpy when possible.
54536 2012-11-06  Andreas Jaeger  <aj@suse.de>
54538         * po/eo.po: Update from translation team.
54540 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54542         [BZ #14793]
54543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54544         exponent and small x and y exponents, scale x or y up.  Increase
54545         by 2 the exponent used in scaling up.
54546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54548         * math/libm-test.inc (fma_test): Add more tests.
54549         (fma_test_towardzero): Likewise.
54550         (fma_test_downward): Likewise.
54551         (fma_test_upward): Likewise.
54553 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54555         [BZ #14805]
54556         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54557         fenv_t *.
54559         [BZ #14801]
54560         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54561         namespace for names of struct fields.
54562         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54563         fenv_t fields.
54564         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54565         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54567 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54569         [BZ #3665]
54570         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54572 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54574         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54575         PTR_DEMANGLE.
54577         [BZ #5246]
54578         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54579         PTR_DEMANGLE.
54581 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54583         [BZ #14797]
54584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54585         definitely overflow as x * y not x * y + z.
54586         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54587         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54588         * math/libm-test.inc (fma_test): Add more tests.
54589         (fma_test_towardzero): Likewise.
54590         (fma_test_downward): Likewise.
54591         (fma_test_upward): Likewise.
54593 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54595         [BZ #157]
54597         * include/stub-tag.h: Remove file.
54598         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54599         '#include' of it.
54600         * manual/maint.texi (Porting): Don't reference it.
54601         * Makerules ($(objpfx)stubs): Likewise.
54602         * dirent/closedir.c: Don't include <stub-tag.h>.
54603         * dirent/dirfd.c: Likewise.
54604         * dirent/fdopendir.c: Likewise.
54605         * dirent/getdents.c: Likewise.
54606         * dirent/getdents64.c: Likewise.
54607         * dirent/opendir.c: Likewise.
54608         * dirent/readdir.c: Likewise.
54609         * dirent/readdir64.c: Likewise.
54610         * dirent/readdir64_r.c: Likewise.
54611         * dirent/readdir_r.c: Likewise.
54612         * dirent/rewinddir.c: Likewise.
54613         * dirent/seekdir.c: Likewise.
54614         * dirent/telldir.c: Likewise.
54615         * gmon/profil.c: Likewise.
54616         * grp/setgroups.c: Likewise.
54617         * inet/if_index.c: Likewise.
54618         * io/access.c: Likewise.
54619         * io/chdir.c: Likewise.
54620         * io/chmod.c: Likewise.
54621         * io/chown.c: Likewise.
54622         * io/close.c: Likewise.
54623         * io/dup.c: Likewise.
54624         * io/dup2.c: Likewise.
54625         * io/dup3.c: Likewise.
54626         * io/euidaccess.c: Likewise.
54627         * io/faccessat.c: Likewise.
54628         * io/fchdir.c: Likewise.
54629         * io/fchmod.c: Likewise.
54630         * io/fchmodat.c: Likewise.
54631         * io/fchown.c: Likewise.
54632         * io/fchownat.c: Likewise.
54633         * io/fcntl.c: Likewise.
54634         * io/flock.c: Likewise.
54635         * io/fstatfs.c: Likewise.
54636         * io/fstatfs64.c: Likewise.
54637         * io/fstatvfs.c: Likewise.
54638         * io/fstatvfs64.c: Likewise.
54639         * io/futimens.c: Likewise.
54640         * io/fxstat.c: Likewise.
54641         * io/fxstat64.c: Likewise.
54642         * io/fxstatat.c: Likewise.
54643         * io/fxstatat64.c: Likewise.
54644         * io/getcwd.c: Likewise.
54645         * io/isatty.c: Likewise.
54646         * io/lchmod.c: Likewise.
54647         * io/lchown.c: Likewise.
54648         * io/link.c: Likewise.
54649         * io/linkat.c: Likewise.
54650         * io/lseek.c: Likewise.
54651         * io/lseek64.c: Likewise.
54652         * io/lxstat64.c: Likewise.
54653         * io/mkdir.c: Likewise.
54654         * io/mkdirat.c: Likewise.
54655         * io/mkfifo.c: Likewise.
54656         * io/mkfifoat.c: Likewise.
54657         * io/open.c: Likewise.
54658         * io/open64.c: Likewise.
54659         * io/openat.c: Likewise.
54660         * io/openat64.c: Likewise.
54661         * io/pipe.c: Likewise.
54662         * io/pipe2.c: Likewise.
54663         * io/poll.c: Likewise.
54664         * io/posix_fadvise.c: Likewise.
54665         * io/posix_fadvise64.c: Likewise.
54666         * io/posix_fallocate.c: Likewise.
54667         * io/posix_fallocate64.c: Likewise.
54668         * io/read.c: Likewise.
54669         * io/readlink.c: Likewise.
54670         * io/readlinkat.c: Likewise.
54671         * io/rmdir.c: Likewise.
54672         * io/sendfile.c: Likewise.
54673         * io/sendfile64.c: Likewise.
54674         * io/statfs.c: Likewise.
54675         * io/statfs64.c: Likewise.
54676         * io/statvfs.c: Likewise.
54677         * io/statvfs64.c: Likewise.
54678         * io/symlink.c: Likewise.
54679         * io/symlinkat.c: Likewise.
54680         * io/ttyname.c: Likewise.
54681         * io/ttyname_r.c: Likewise.
54682         * io/umask.c: Likewise.
54683         * io/unlink.c: Likewise.
54684         * io/unlinkat.c: Likewise.
54685         * io/utime.c: Likewise.
54686         * io/utimensat.c: Likewise.
54687         * io/write.c: Likewise.
54688         * io/xmknod.c: Likewise.
54689         * io/xmknodat.c: Likewise.
54690         * io/xstat.c: Likewise.
54691         * io/xstat64.c: Likewise.
54692         * login/getpt.c: Likewise.
54693         * login/grantpt.c: Likewise.
54694         * login/unlockpt.c: Likewise.
54695         * math/e_acoshl.c: Likewise.
54696         * math/e_acosl.c: Likewise.
54697         * math/e_asinl.c: Likewise.
54698         * math/e_atan2l.c: Likewise.
54699         * math/e_atanhl.c: Likewise.
54700         * math/e_coshl.c: Likewise.
54701         * math/e_expl.c: Likewise.
54702         * math/e_fmodl.c: Likewise.
54703         * math/e_gammal_r.c: Likewise.
54704         * math/e_hypotl.c: Likewise.
54705         * math/e_j0l.c: Likewise.
54706         * math/e_j1l.c: Likewise.
54707         * math/e_jnl.c: Likewise.
54708         * math/e_lgammal_r.c: Likewise.
54709         * math/e_log10l.c: Likewise.
54710         * math/e_log2l.c: Likewise.
54711         * math/e_logl.c: Likewise.
54712         * math/e_powl.c: Likewise.
54713         * math/e_rem_pio2l.c: Likewise.
54714         * math/e_sinhl.c: Likewise.
54715         * math/e_sqrtl.c: Likewise.
54716         * math/fclrexcpt.c: Likewise.
54717         * math/fedisblxcpt.c: Likewise.
54718         * math/feenablxcpt.c: Likewise.
54719         * math/fegetenv.c: Likewise.
54720         * math/fegetexcept.c: Likewise.
54721         * math/fegetround.c: Likewise.
54722         * math/feholdexcpt.c: Likewise.
54723         * math/fesetenv.c: Likewise.
54724         * math/fesetround.c: Likewise.
54725         * math/feupdateenv.c: Likewise.
54726         * math/fgetexcptflg.c: Likewise.
54727         * math/fraiseexcpt.c: Likewise.
54728         * math/fsetexcptflg.c: Likewise.
54729         * math/ftestexcept.c: Likewise.
54730         * math/k_cosl.c: Likewise.
54731         * math/k_rem_pio2l.c: Likewise.
54732         * math/k_sinl.c: Likewise.
54733         * math/k_tanl.c: Likewise.
54734         * math/s_asinhl.c: Likewise.
54735         * math/s_atanl.c: Likewise.
54736         * math/s_cbrtl.c: Likewise.
54737         * math/s_erfl.c: Likewise.
54738         * math/s_expm1l.c: Likewise.
54739         * math/s_log1pl.c: Likewise.
54740         * math/s_tanhl.c: Likewise.
54741         * misc/acct.c: Likewise.
54742         * misc/brk.c: Likewise.
54743         * misc/chflags.c: Likewise.
54744         * misc/chroot.c: Likewise.
54745         * misc/fchflags.c: Likewise.
54746         * misc/fgetxattr.c: Likewise.
54747         * misc/flistxattr.c: Likewise.
54748         * misc/fremovexattr.c: Likewise.
54749         * misc/fsetxattr.c: Likewise.
54750         * misc/fsync.c: Likewise.
54751         * misc/ftruncate.c: Likewise.
54752         * misc/futimes.c: Likewise.
54753         * misc/futimesat.c: Likewise.
54754         * misc/getdomain.c: Likewise.
54755         * misc/getdtsz.c: Likewise.
54756         * misc/gethostid.c: Likewise.
54757         * misc/gethostname.c: Likewise.
54758         * misc/getloadavg.c: Likewise.
54759         * misc/getpagesize.c: Likewise.
54760         * misc/getsysstats.c: Likewise.
54761         * misc/getxattr.c: Likewise.
54762         * misc/gtty.c: Likewise.
54763         * misc/ioctl.c: Likewise.
54764         * misc/lgetxattr.c: Likewise.
54765         * misc/listxattr.c: Likewise.
54766         * misc/llistxattr.c: Likewise.
54767         * misc/lremovexattr.c: Likewise.
54768         * misc/lsetxattr.c: Likewise.
54769         * misc/lutimes.c: Likewise.
54770         * misc/madvise.c: Likewise.
54771         * misc/mincore.c: Likewise.
54772         * misc/mlock.c: Likewise.
54773         * misc/mlockall.c: Likewise.
54774         * misc/mmap.c: Likewise.
54775         * misc/mprotect.c: Likewise.
54776         * misc/msync.c: Likewise.
54777         * misc/munlock.c: Likewise.
54778         * misc/munlockall.c: Likewise.
54779         * misc/munmap.c: Likewise.
54780         * misc/preadv.c: Likewise.
54781         * misc/preadv64.c: Likewise.
54782         * misc/ptrace.c: Likewise.
54783         * misc/pwritev.c: Likewise.
54784         * misc/pwritev64.c: Likewise.
54785         * misc/readv.c: Likewise.
54786         * misc/reboot.c: Likewise.
54787         * misc/remap_file_pages.c: Likewise.
54788         * misc/removexattr.c: Likewise.
54789         * misc/revoke.c: Likewise.
54790         * misc/select.c: Likewise.
54791         * misc/setdomain.c: Likewise.
54792         * misc/setegid.c: Likewise.
54793         * misc/seteuid.c: Likewise.
54794         * misc/sethostid.c: Likewise.
54795         * misc/sethostname.c: Likewise.
54796         * misc/setregid.c: Likewise.
54797         * misc/setreuid.c: Likewise.
54798         * misc/setxattr.c: Likewise.
54799         * misc/sstk.c: Likewise.
54800         * misc/stty.c: Likewise.
54801         * misc/swapoff.c: Likewise.
54802         * misc/swapon.c: Likewise.
54803         * misc/sync.c: Likewise.
54804         * misc/syncfs.c: Likewise.
54805         * misc/syscall.c: Likewise.
54806         * misc/truncate.c: Likewise.
54807         * misc/ualarm.c: Likewise.
54808         * misc/usleep.c: Likewise.
54809         * misc/ustat.c: Likewise.
54810         * misc/utimes.c: Likewise.
54811         * misc/vhangup.c: Likewise.
54812         * misc/writev.c: Likewise.
54813         * posix/_exit.c: Likewise.
54814         * posix/alarm.c: Likewise.
54815         * posix/execve.c: Likewise.
54816         * posix/fexecve.c: Likewise.
54817         * posix/fork.c: Likewise.
54818         * posix/fpathconf.c: Likewise.
54819         * posix/getaddrinfo.c: Likewise.
54820         * posix/getegid.c: Likewise.
54821         * posix/geteuid.c: Likewise.
54822         * posix/getgid.c: Likewise.
54823         * posix/getgroups.c: Likewise.
54824         * posix/getlogin.c: Likewise.
54825         * posix/getlogin_r.c: Likewise.
54826         * posix/getpgid.c: Likewise.
54827         * posix/getpid.c: Likewise.
54828         * posix/getppid.c: Likewise.
54829         * posix/getresgid.c: Likewise.
54830         * posix/getresuid.c: Likewise.
54831         * posix/getsid.c: Likewise.
54832         * posix/getuid.c: Likewise.
54833         * posix/glob64.c: Likewise.
54834         * posix/nanosleep.c: Likewise.
54835         * posix/pathconf.c: Likewise.
54836         * posix/pause.c: Likewise.
54837         * posix/posix_madvise.c: Likewise.
54838         * posix/pread.c: Likewise.
54839         * posix/pread64.c: Likewise.
54840         * posix/pwrite.c: Likewise.
54841         * posix/pwrite64.c: Likewise.
54842         * posix/sched_getaffinity.c: Likewise.
54843         * posix/sched_getp.c: Likewise.
54844         * posix/sched_gets.c: Likewise.
54845         * posix/sched_primax.c: Likewise.
54846         * posix/sched_primin.c: Likewise.
54847         * posix/sched_rr_gi.c: Likewise.
54848         * posix/sched_setaffinity.c: Likewise.
54849         * posix/sched_setp.c: Likewise.
54850         * posix/sched_sets.c: Likewise.
54851         * posix/sched_yield.c: Likewise.
54852         * posix/setgid.c: Likewise.
54853         * posix/setlogin.c: Likewise.
54854         * posix/setpgid.c: Likewise.
54855         * posix/setresgid.c: Likewise.
54856         * posix/setresuid.c: Likewise.
54857         * posix/setsid.c: Likewise.
54858         * posix/setuid.c: Likewise.
54859         * posix/sleep.c: Likewise.
54860         * posix/spawni.c: Likewise.
54861         * posix/sysconf.c: Likewise.
54862         * posix/times.c: Likewise.
54863         * posix/wait.c: Likewise.
54864         * posix/wait3.c: Likewise.
54865         * posix/wait4.c: Likewise.
54866         * posix/waitpid.c: Likewise.
54867         * resolv/gai_sigqueue.c: Likewise.
54868         * resource/getpriority.c: Likewise.
54869         * resource/getrlimit.c: Likewise.
54870         * resource/getrusage.c: Likewise.
54871         * resource/nice.c: Likewise.
54872         * resource/setpriority.c: Likewise.
54873         * resource/setrlimit.c: Likewise.
54874         * resource/ulimit.c: Likewise.
54875         * rt/aio_cancel.c: Likewise.
54876         * rt/aio_fsync.c: Likewise.
54877         * rt/aio_read.c: Likewise.
54878         * rt/aio_sigqueue.c: Likewise.
54879         * rt/aio_suspend.c: Likewise.
54880         * rt/aio_write.c: Likewise.
54881         * rt/clock_getres.c: Likewise.
54882         * rt/clock_gettime.c: Likewise.
54883         * rt/clock_nanosleep.c: Likewise.
54884         * rt/clock_settime.c: Likewise.
54885         * rt/lio_listio.c: Likewise.
54886         * rt/mq_close.c: Likewise.
54887         * rt/mq_getattr.c: Likewise.
54888         * rt/mq_notify.c: Likewise.
54889         * rt/mq_open.c: Likewise.
54890         * rt/mq_receive.c: Likewise.
54891         * rt/mq_send.c: Likewise.
54892         * rt/mq_setattr.c: Likewise.
54893         * rt/mq_timedreceive.c: Likewise.
54894         * rt/mq_timedsend.c: Likewise.
54895         * rt/mq_unlink.c: Likewise.
54896         * rt/shm_open.c: Likewise.
54897         * rt/shm_unlink.c: Likewise.
54898         * rt/timer_create.c: Likewise.
54899         * rt/timer_delete.c: Likewise.
54900         * rt/timer_getoverr.c: Likewise.
54901         * rt/timer_gettime.c: Likewise.
54902         * rt/timer_settime.c: Likewise.
54903         * setjmp/__longjmp.c: Likewise.
54904         * setjmp/setjmp.c: Likewise.
54905         * signal/kill.c: Likewise.
54906         * signal/killpg.c: Likewise.
54907         * signal/raise.c: Likewise.
54908         * signal/sigaction.c: Likewise.
54909         * signal/sigaltstack.c: Likewise.
54910         * signal/sigblock.c: Likewise.
54911         * signal/sigignore.c: Likewise.
54912         * signal/sigintr.c: Likewise.
54913         * signal/signal.c: Likewise.
54914         * signal/sigpause.c: Likewise.
54915         * signal/sigpending.c: Likewise.
54916         * signal/sigqueue.c: Likewise.
54917         * signal/sigreturn.c: Likewise.
54918         * signal/sigset.c: Likewise.
54919         * signal/sigsetmask.c: Likewise.
54920         * signal/sigstack.c: Likewise.
54921         * signal/sigsuspend.c: Likewise.
54922         * signal/sigtimedwait.c: Likewise.
54923         * signal/sigvec.c: Likewise.
54924         * signal/sigwait.c: Likewise.
54925         * signal/sigwaitinfo.c: Likewise.
54926         * signal/sysv_signal.c: Likewise.
54927         * socket/accept.c: Likewise.
54928         * socket/accept4.c: Likewise.
54929         * socket/bind.c: Likewise.
54930         * socket/connect.c: Likewise.
54931         * socket/getpeername.c: Likewise.
54932         * socket/getsockname.c: Likewise.
54933         * socket/getsockopt.c: Likewise.
54934         * socket/isfdtype.c: Likewise.
54935         * socket/listen.c: Likewise.
54936         * socket/recv.c: Likewise.
54937         * socket/recvfrom.c: Likewise.
54938         * socket/recvmsg.c: Likewise.
54939         * socket/send.c: Likewise.
54940         * socket/sendmsg.c: Likewise.
54941         * socket/sendto.c: Likewise.
54942         * socket/setsockopt.c: Likewise.
54943         * socket/shutdown.c: Likewise.
54944         * socket/sockatmark.c: Likewise.
54945         * socket/socket.c: Likewise.
54946         * socket/socketpair.c: Likewise.
54947         * stdio-common/ctermid.c: Likewise.
54948         * stdio-common/cuserid.c: Likewise.
54949         * stdio-common/remove.c: Likewise.
54950         * stdio-common/rename.c: Likewise.
54951         * stdio-common/renameat.c: Likewise.
54952         * stdio-common/tempname.c: Likewise.
54953         * stdlib/getcontext.c: Likewise.
54954         * stdlib/makecontext.c: Likewise.
54955         * stdlib/setcontext.c: Likewise.
54956         * stdlib/swapcontext.c: Likewise.
54957         * stdlib/system.c: Likewise.
54958         * streams/fattach.c: Likewise.
54959         * streams/fdetach.c: Likewise.
54960         * streams/getmsg.c: Likewise.
54961         * streams/getpmsg.c: Likewise.
54962         * streams/putmsg.c: Likewise.
54963         * streams/putpmsg.c: Likewise.
54964         * sysdeps/unix/bsd/getpt.c: Likewise.
54965         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54966         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54967         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54969         Likewise.
54970         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54971         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54972         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54973         * sysvipc/msgctl.c: Likewise.
54974         * sysvipc/msgget.c: Likewise.
54975         * sysvipc/msgrcv.c: Likewise.
54976         * sysvipc/msgsnd.c: Likewise.
54977         * sysvipc/semctl.c: Likewise.
54978         * sysvipc/semget.c: Likewise.
54979         * sysvipc/semop.c: Likewise.
54980         * sysvipc/semtimedop.c: Likewise.
54981         * sysvipc/shmat.c: Likewise.
54982         * sysvipc/shmctl.c: Likewise.
54983         * sysvipc/shmdt.c: Likewise.
54984         * sysvipc/shmget.c: Likewise.
54985         * termios/tcdrain.c: Likewise.
54986         * termios/tcflow.c: Likewise.
54987         * termios/tcflush.c: Likewise.
54988         * termios/tcgetattr.c: Likewise.
54989         * termios/tcgetpgrp.c: Likewise.
54990         * termios/tcsendbrk.c: Likewise.
54991         * termios/tcsetattr.c: Likewise.
54992         * termios/tcsetpgrp.c: Likewise.
54993         * time/adjtime.c: Likewise.
54994         * time/clock.c: Likewise.
54995         * time/getitimer.c: Likewise.
54996         * time/gettimeofday.c: Likewise.
54997         * time/setitimer.c: Likewise.
54998         * time/settimeofday.c: Likewise.
54999         * time/stime.c: Likewise.
55000         * time/time.c: Likewise.
55002 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55004         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55005         /usr/old/bin.
55007         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55008         instead of spaces.
55009         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55011 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55013         [BZ #14796]
55014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55015         FE_TONEAREST before applying Dekker multiplication and Knuth
55016         addition.  Clear inexact exceptions and check for exact zero
55017         results afterwards.
55018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55019         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55021         * math/libm-test.inc (fma_test): Add more tests.
55022         (fma_test_towardzero): Likewise.
55023         (fma_test_downward): Likewise.
55024         (fma_test_upward): Likewise.
55025         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55026         function.
55027         (libc_fesetround): New macro.
55028         (libc_fesetroundf): Likewise.
55029         (libc_fesetroundl): Likewise.
55030         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55031         function.
55032         (libc_fesetround_387): Likewise.
55033         (libc_fesetroundf): New macro.
55034         (libc_fesetround): Likewise.
55035         (libc_fesetroundl): Likewise.
55036         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55037         function.
55038         (libc_fesetroundf): New macro.
55039         (libc_fesetround): Likewise.
55040         (libc_fesetroundl): Likewise.
55041         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55042         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55043         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55044         libm_hidden_ver.
55045         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55046         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55047         libm_hidden_def.
55048         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55049         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55050         libm_hidden_ver.
55051         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55052         libm_hidden_def.
55054         [BZ #3439]
55055         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55056         integer constant usable in #if and use that to give value to enum
55057         constant.
55058         (FE_DIVBYZERO): Likewise.
55059         (FE_UNDERFLOW): Likewise.
55060         (FE_OVERFLOW): Likewise.
55061         (FE_INVALID): Likewise.
55062         (FE_INVALID_SNAN): Likewise.
55063         (FE_INVALID_ISI): Likewise.
55064         (FE_INVALID_IDI): Likewise.
55065         (FE_INVALID_ZDZ): Likewise.
55066         (FE_INVALID_IMZ): Likewise.
55067         (FE_INVALID_COMPARE): Likewise.
55068         (FE_INVALID_SOFTWARE): Likewise.
55069         (FE_INVALID_SQRT): Likewise.
55070         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55071         (FE_TONEAREST): Likewise.
55072         (FE_TOWARDZERO): Likewise.
55073         (FE_UPWARD): Likewise.
55074         (FE_DOWNWARD): Likewise.
55075         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55076         (FE_DIVBYZERO): Likewise.
55077         (FE_OVERFLOW): Likewise.
55078         (FE_UNDERFLOW): Likewise.
55079         (FE_INEXACT): Likewise.
55080         (FE_TONEAREST): Likewise.
55081         (FE_DOWNWARD): Likewise.
55082         (FE_UPWARD): Likewise.
55083         (FE_TOWARDZERO): Likewise.
55084         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55085         (FE_UNDERFLOW): Likewise.
55086         (FE_OVERFLOW): Likewise.
55087         (FE_DIVBYZERO): Likewise.
55088         (FE_INVALID): Likewise.
55089         (FE_TONEAREST): Likewise.
55090         (FE_TOWARDZERO): Likewise.
55091         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55092         (FE_OVERFLOW): Likewise.
55093         (FE_UNDERFLOW): Likewise.
55094         (FE_DIVBYZERO): Likewise.
55095         (FE_INEXACT): Likewise.
55096         (FE_TONEAREST): Likewise.
55097         (FE_TOWARDZERO): Likewise.
55098         (FE_UPWARD): Likewise.
55099         (FE_DOWNWARD): Likewise.
55100         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55101         (FE_DIVBYZERO): Likewise.
55102         (FE_OVERFLOW): Likewise.
55103         (FE_UNDERFLOW): Likewise.
55104         (FE_INEXACT): Likewise.
55105         (FE_TONEAREST): Likewise.
55106         (FE_DOWNWARD): Likewise.
55107         (FE_UPWARD): Likewise.
55108         (FE_TOWARDZERO): Likewise.
55110 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55112         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55114 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55116         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55117         commands.  Quote $PWD.
55118         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55119         -x" by "export".
55120         (remove_newlines): Remove.
55122 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55124         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55125         * stdlib/stdlib.h (atof): Moved to ...
55126         * include/bits/stdlib-float.h: Here.  New file.
55127         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55128         * stdlib/bits/stdlib-float.h: New file.
55129         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55130         -mno-sse -mno-mmx.
55131         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55132         <xmmintrin.h>.
55134 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55136         * conform/conformtest.pl (@headers): Add fenv.h.
55137         * conform/data/fenv.h-data: New file.
55138         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55139         include of <math/fenv.h>.
55141         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55142         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55143         && !UNIX98].  Enables tests for XOPEN2K8.
55144         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55145         POSIX2008]: Likewise.
55147         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55148         (struct rusage): Do not expect type or its members.
55150         [BZ #3439]
55151         * math/math.h (FP_NAN): Define macro to integer constant usable in
55152         #if and use that to give value to enum constant.
55153         (FP_INFINITE): Likewise.
55154         (FP_ZERO): Likewise.
55155         (FP_SUBNORMAL): Likewise.
55156         (FP_NORMAL): Likewise.
55158 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55160         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55161         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55162         arguments.
55164 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55166         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55167         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55168         autoconf-time if not.
55169         * configure.in: Remove AC_PREREQ.
55171 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55173         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55174         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55175         of the internal implementation.
55177 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55179         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55180         except include of <misc/sys/syslog.h>.
55182 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55185         function returns with a NULL context exit with zero.
55187 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55189         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55191 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55193         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55194         (run_program_cmd): This.
55195         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55196         (tst_langinfo): New variable.  Use it.
55198 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55200         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55201         floating point opcodes.
55203 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55205         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55206         variable.
55208         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55210         * sysdeps/mach/hurd/powerpc: Remove directory.
55211         * sysdeps/mach/powerpc: Likewise.
55213 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55215         * scripts/check-local-headers.sh: Ignore c++ headers.
55217 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55219         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55220         __libc_cleanup_region_start argument.
55222 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55224         [BZ #14784]
55225         [BZ #14785]
55226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55227         x * y using scaling, not as x * y + z.
55228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55230         * math/libm-test.inc (fma_test): Add more tests.
55231         (fma_test_towardzero): Likewise.
55232         (fma_test_downward): Likewise.
55233         (fma_test_upward): Likewise.
55235 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55237         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55239 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55241         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55242         New variable.
55244 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55246         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55248 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55251         Fix sort order.
55252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55253         Likewise.
55255 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55258         Fix the order of the list for glibc 2.17.
55259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55260         Likewise.
55262 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55266 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55268         [BZ #14610]
55269         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55270         for low part of x being zero before using __atanl (y).
55271         * math/libm-test.inc (atan2_test): Add another test.
55273         * manual/install.texi (Configuring and compiling): Document
55274         general use of test-wrapper and test-wrapper-env.
55275         * INSTALL: Regenerated.
55277         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55278         (__fma): Do not extract and scale down low bits on after-rounding
55279         systems when result rounded to normal precision would have normal
55280         exponent.
55281         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55282         (__fmal): Do not extract and scale down low bits on after-rounding
55283         systems when result rounded to normal precision would have normal
55284         exponent.
55285         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55286         (__fmal): Do not extract and scale down low bits on after-rounding
55287         systems when result rounded to normal precision would have normal
55288         exponent.
55289         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55290         macro.
55291         (fma_test): Add more tests.
55292         (fma_test_towardzero): Likewise.
55293         (fma_test_downward): Likewise.
55294         (fma_test_upward): Likewise.
55296 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55298         * sysdeps/i386/tininess.h: Renamed to ...
55299         * sysdeps/x86/tininess.h: This.
55300         * sysdeps/x86_64/tininess.h: Removed.
55302 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55304         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55305         input.  Use $(build-program-cmd).
55306         ($(objpfx)tst-array1-static.out): Likewise.
55307         ($(objpfx)tst-array2.out): Likewise.
55308         ($(objpfx)tst-array3.out): Likewise.
55309         ($(objpfx)tst-array4.out): Likewise.
55310         ($(objpfx)tst-array5.out): Likewise.
55311         ($(objpfx)tst-array5-static.out): Likewise.
55313 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55315         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55316         if defined.
55318         * nss/nsswitch.h (nss_interface_function): Provide new
55319         macro for use with NSS functions.
55320         * grp/initgroups.c: Use new macro.
55321         * nss/getXXbyYY.c: Likewise.
55322         * nss/getXXbyYY_r.c: Likewise.
55323         * nss/getXXent.c: Likewise.
55324         * nss/getXXent_r.c: Likewise.
55325         * sysdeps/posix/getaddrinfo.c: Likewise.
55327 2012-10-30  Andreas Jaeger  <aj@suse.de>
55329         * po/ru.po: Update Russion translation from translation project.
55331 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55333         [BZ #14152]
55334         [BZ #14783]
55335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55336         result and shift together with sticky bit instead of replicating
55337         round-to-nearest rounding.
55338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55340         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55341         missing underflow exceptions.
55342         (fma_test_towardzero): Add more tests.
55343         (fma_test_downward): Likewise.
55344         (fma_test_upward): Likewise.
55346         [BZ #14047]
55347         * sysdeps/generic/tininess.h: New file.
55348         * sysdeps/i386/tininess.h: Likewise.
55349         * sysdeps/sh/tininess.h: Likewise.
55350         * sysdeps/x86_64/tininess.h: Likewise.
55351         * stdlib/tst-strtod-underflow.c: Likewise.
55352         * stdlib/tst-tininess.c: Likewise.
55353         * stdlib/strtod_l.c: Include <tininess.h>.
55354         (round_and_return): Do not set errno for exact underflow cases.
55355         Force an underflow exception when setting errno for underflow.
55356         Determine underflow based on rounding to normal precision if
55357         TININESS_AFTER_ROUNDING.
55358         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55359         ERANGE for exact underflow cases.
55360         * stdlib/Makefile (tests): Add tst-tininess and
55361         tst-strtod-underflow.
55362         ($(objpfx)tst-tininess): Use $(link-libm).
55363         ($(objpfx)tst-strtod-underflow): Likewise.
55365 2012-10-30  Andreas Jaeger  <aj@suse.de>
55367         [BZ#14767]
55368         * elf/Makefile (tests): Remove conditional for have-initfini-array
55369         since this is now always required and the variable does not exist
55370         anymore.
55371         (tests-static): Likewise.
55372         (modules-names): Likewise.
55374         * po/eo.po: Add Esperanto translation from translation project.
55376         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55377         merged with constructor/destructor.
55378         (init_array): Likewise.
55379         * elf/tst-array2dep.c (fini_array): Likewise.
55380         (init_array): Likewise.
55382 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55384         * manual/message.texi: Delete @cartouche tags.
55386 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55388         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55389         EOPNOTSUPP.
55390         * sysdeps/mach/hurd/fsync.c: Likewise.
55392         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55393         [_POSIX_REALTIME_SIGNALS]: Change condition to
55394         [_POSIX_REALTIME_SIGNALS > 0].
55396 2012-10-27  Andreas Jaeger  <aj@suse.de>
55398         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55399         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55400         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55401         [__WORDSIZE != 64]: Likewise.
55403 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55405         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55406         *  iconvdata/tst-tables.sh: Likewise.
55408 2012-10-25  David S. Miller  <davem@davemloft.net>
55410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55411         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55412         of strtoull.
55414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55415         ifunc-impl-list.c
55416         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55417         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55418         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55419         file.
55421 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55424         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55425         __getdirentries.
55427 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55428             Jim Blandy  <jimb@codesourcery.com>
55430         * scripts/cross-test-ssh.sh: New file.
55431         * manual/install.texi (Configuring and compiling): Document use of
55432         cross-test-ssh.sh.
55433         * INSTALL: Regenerated.
55435 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55437         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55438         EOPNOTSUPP.
55440 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55442         * Makeconfig (run-program-prefix): Fix comment.
55444 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55445             Jim Blandy  <jimb@codesourcery.com>
55447         * Makeconfig (test-wrapper): New variable,
55448         (test-wrapper-env): Likewise.
55449         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55450         (run-built-tests): Define to yes.
55451         (run-program-prefix): Use $(test-wrapper).
55452         (built-program-cmd): Likewise.
55453         * Rules (make-test-out): Use $(test-wrapper-env) and
55454         $(host-built-program-cmd).
55455         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55456         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55457         tst-pathopt.sh.
55458         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55459         $(test-wrapper-env) to tst-rtld-load-self.sh.
55460         ($(objpfx)order2.out): Use $(test-wrapper).
55461         ($(objpfx)tst-initorder.out): Likewise.
55462         ($(objpfx)tst-initorder2.out): Likewise.
55463         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55464         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55465         (test_wrapper_env): New variable.  Use it to run ld.so.
55466         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55467         Use it to run ld.so.
55468         (test_wrapper_env): Likewise.
55469         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55470         $(test-wrapper) to run-iconv-test.sh.
55471         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55472         (ICONV): Use $test_wrapper.
55473         * posix/Makefile ($(objpfx)globtest.out): Pass
55474         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55475         globtest.sh, not $(run-program-prefix).
55476         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55477         (test_wrapper): Likewise.
55478         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55479         set together with run_via_rtld_prefix.
55480         (run_program_prefix): Define in terms of test_wrapper and
55481         run_via_rtld_prefix.
55483 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55485         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55486         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55487         Targets removed.
55489         [BZ #14743]
55490         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55491         Declare __clock_getres, __clock_gettime, __clock_settime,
55492         __clock_nanosleep, and __clock_getcpuclockid.
55493         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55494         Remove librt_hidden_def (clock_gettime).
55495         * sysdeps/unix/clock_gettime.c: Likewise.
55496         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55498         * rt/clock_getres.c: Define __clock_getres as an alias.
55499         * sysdeps/posix/clock_getres.c: Likewise.
55500         * rt/clock_settime.c: Define __clock_settime as an alias.
55501         * sysdeps/unix/clock_settime.c: Likewise.
55502         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55503         * sysdeps/unix/clock_nanosleep.c: Likewise.
55504         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55505         * rt/clock-compat.c: New file.
55506         * rt/Makefile (librt-routines): Add clock-compat and move
55507         $(clock-routines) to ...
55508         (routines): ... here, new variable.
55509         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55510         Don't add get_clockfreq here.
55511         * rt/Versions (libc: GLIBC_2.17): New version set.
55512         Add clock_* symbols here.
55513         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55514         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55515         (GLIBC_2.17): Add clock_* symbols.
55516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55518         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55520         Likewise.
55521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55522         Likewise.
55523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55527         * NEWS: Mention the move.
55529         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55530         Use __open, __read, __close rather than their public counterparts.
55531         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55532         (__get_clockfreq_via_cpuinfo): Likewise.
55533         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55534         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55536         * config.h.in (HAVE_IFUNC): New #undef.
55537         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55538         was successful.
55539         * configure: Regenerated.
55541 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55543         * configure.in: Move READELF check to start of file.
55544         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55545         libc_cv_asm_gnu_indirect_function in the process.
55546         * configure: Regenerated.
55548 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55550         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55551         send the output to /dev/null.
55552         (libc_cv_cc_with_libunwind): Likewise.
55553         (libc_cv_as_noexecstack): Likewise.
55554         * configure: Regenerate.
55556 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55558         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55560         * posix/globtest.sh (TMPDIR): Do not set.
55561         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55562         (testout): Likewise.
55564 2012-10-24  Andreas Jaeger  <aj@suse.de>
55566         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55567         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55568         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55569         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55570         posix_fadvise64, posix_fallocate64.
55572         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55573         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55574         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55575         Likewise.
55576         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55577         Likewise.
55578         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55581         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55582         <bits/fcntl-linux.h>.
55583         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55586         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55587         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55588         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55589         [__WORDSIZE != 64]: Likewise.
55591 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55593         * Makeconfig (run-built-tests): New variable.
55594         * Rules [$(cross-compiling) = yes]: Change condition to
55595         [$(run-built-tests) = no].
55596         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55597         to [$(run-built-tests) = yes].
55598         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55599         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55600         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55601         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55602         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55603         * io/Makefile [$(cross-compiling) = no]: Likewise.
55604         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55605         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55606         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55607         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55608         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55609         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55610         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55611         * string/Makefile [$(cross-compiling) = no]: Likewise.
55613         * posix/Makefile ($(objpfx)globtest.out): Pass
55614         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55615         $(rtld-installed-name).
55616         * posix/globtest.sh (elf_objpfx): Remove variable.
55617         (rtld_installed_name): Likewise.
55618         (library_path): Likewise.
55619         (run_program_prefix): New variable.  Use for running globtest
55620         binary.
55622 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55623             Joseph Myers  <joseph@codesourcery.com>
55625         * Makeconfig (host-built-program-cmd): New variable.
55626         * elf/Makefile (tst-stackguard1-ARGS): Use
55627         $(host-built-program-cmd).
55628         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55629         (tst-spawn-ARGS): Likewise.
55630         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55632 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55633             Jim Blandy  <jimb@codesourcery.com>
55635         * Makeconfig (run-via-rtld-prefix): New variable.
55636         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55637         (built-program-cmd): Likewise.
55639 2012-10-22  Andreas Jaeger  <aj@suse.de>
55641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55642         __O_RSYNC if it exists, otherwise to O_SYNC.
55644 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55645             Joseph Myers  <joseph@codesourcery.com>
55647         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55648         /dev/null.
55649         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55650         from /dev/null
55651         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55652         /dev/null.
55654 2012-10-22  Andreas Jaeger  <aj@suse.de>
55656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55657         Define always.
55658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55661         bits/fcntl-linux.h.
55663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55664         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55666         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55667         to __O_LARGEFILE.
55668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55669         to __O_LARGEFILE.
55671 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55672             Joseph Myers  <joseph@codesourcery.com>
55674         * config.make.in (NM): New variable.
55676 2012-10-21  Andreas Jaeger  <aj@suse.de>
55678         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55679         definitions and declarations that are provided by
55680         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55682 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55684         [BZ #14683]
55685         * elf/Makefile (tests-static): Add tst-leaks1-static.
55686         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55687         ($(objpfx)tst-leaks1-static): New rule.
55688         ($(objpfx)tst-leaks1-static-mem): Likewise.
55689         (tst-leaks1-static-ENV): New macro.
55690         * elf/dl-open.c (dl_open_worker): Check the main application
55691         only if SHARED is defined.
55692         * elf/tst-leaks1-static.c: New file.
55694 2012-10-20  Andreas Jaeger  <aj@suse.de>
55696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55697         generic values for Linux.
55698         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55699         and declarations that are provided by <bits/fcntl-linux.h> and
55700         include <bits/fcntl-linux.h>.
55701         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55702         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55704 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55706         * io/fcntl.h: Move include of <bits/types.h> to the top and
55707         include it unconditionally.
55709 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55711         * wcsmbs/Makefile (tests-ifunc): New variable.
55712         (tests): Add $(tests-ifunc).
55713         * wcsmbs/test-wcschr-ifunc.c: New file.
55714         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55715         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55716         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55717         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55718         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55720         * string/Makefile (tests-ifunc): New variable.
55721         (tests): Add $(tests-ifunc).
55722         * string/test-memccpy.c (TEST_NAME): New macro.
55723         * string/test-memchr.c (TEST_NAME): Likewise.
55724         * string/test-memcmp.c (TEST_NAME): Likewise.
55725         * string/test-memcpy.c (TEST_NAME): Likewise.
55726         * string/test-memmem.c (TEST_NAME): Likewise.
55727         * string/test-memmove.c (TEST_NAME): Likewise.
55728         * string/test-memset.c (TEST_NAME): Likewise.
55729         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55730         * string/test-stpcpy.c (TEST_NAME): Likewise.
55731         * string/test-stpncpy.c (TEST_NAME): Likewise.
55732         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55733         * string/test-strcasestr.c (TEST_NAME): Likewise.
55734         * string/test-strcat.c (TEST_NAME): Likewise.
55735         * string/test-strchr.c (TEST_NAME): Likewise.
55736         * string/test-strcmp.c(TEST_NAME): Likewise.
55737         * string/test-strcpy.c (TEST_NAME): Likewise.
55738         * string/test-strcspn.c (TEST_NAME): Likewise.
55739         * string/test-strlen.c (TEST_NAME): Likewise.
55740         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55741         * string/test-strncmp.c (TEST_NAME): Likewise.
55742         * string/test-strncpy.c (TEST_NAME): Likewise.
55743         * string/test-strnlen.c (TEST_NAME): Likewise.
55744         * string/test-strpbrk.c (TEST_NAME): Likewise.
55745         * string/test-strrchr.c (TEST_NAME): Likewise.
55746         * string/test-strspn.c (TEST_NAME): Likewise.
55747         * string/test-strstr.c (TEST_NAME): Likewise.
55748         * string/test-bcopy-ifunc.c: New file.
55749         * string/test-bzero-ifunc.c: Likewise.
55750         * string/test-memccpy-ifunc.c: Likewise.
55751         * string/test-memchr-ifunc.c: Likewise.
55752         * string/test-memcmp-ifunc.c: Likewise.
55753         * string/test-memcpy-ifunc.c: Likewise.
55754         * string/test-memmem-ifunc.c: Likewise.
55755         * string/test-memmove-ifunc.c: Likewise.
55756         * string/test-mempcpy-ifunc.c: Likewise.
55757         * string/test-memset-ifunc.c: Likewise.
55758         * string/test-rawmemchr-ifunc.c: Likewise.
55759         * string/test-stpcpy-ifunc.c: Likewise.
55760         * string/test-stpncpy-ifunc.c: Likewise.
55761         * string/test-strcasecmp-ifunc.c: Likewise.
55762         * string/test-strcasestr-ifunc.c: Likewise.
55763         * string/test-strcat-ifunc.c: Likewise.
55764         * string/test-strchr-ifunc.c: Likewise.
55765         * string/test-strchrnul-ifunc.c: Likewise.
55766         * string/test-strcmp-ifunc.c: Likewise.
55767         * string/test-strcpy-ifunc.c: Likewise.
55768         * string/test-strcspn-ifunc.c: Likewise.
55769         * string/test-strlen-ifunc.c: Likewise.
55770         * string/test-strncasecmp-ifunc.c: Likewise.
55771         * string/test-strncat-ifunc.c: Likewise.
55772         * string/test-strncmp-ifunc.c: Likewise.
55773         * string/test-strncpy-ifunc.c: Likewise.
55774         * string/test-strnlen-ifunc.c: Likewise.
55775         * string/test-strpbrk-ifunc.c: Likewise.
55776         * string/test-strrchr-ifunc.c: Likewise.
55777         * string/test-strspn-ifunc.c: Likewise.
55778         * string/test-strstr-ifunc.c: Likewise.
55780         * debug/Makefile (tests-ifunc): New variable.
55781         (tests): Add $(tests-ifunc).
55782         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55783         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55784         * debug/test-stpcpy_chk-ifunc.c: New file.
55785         * debug/test-strcpy_chk-ifunc.c: Likewise.
55787 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55789         [BZ #13601]
55790         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55791         header is not read in.
55793 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55795         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55796         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55797         directly.  Pass built executable to script as
55798         $(built-program-cmd).
55799         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55800         $testprogram without using LD_LIBRARY_PATH and $ldso.
55802         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55803         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55804         $(rtld-installed-name).
55805         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55806         (rtld_installed_name): Likewise.
55807         (library_path): Likewise.
55808         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55809         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55810         $(run-program-prefix) to tst-tables.sh.
55811         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55812         it to run tst-table-from and tst-table-to.
55813         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55814         Pass it to tst-table.sh.
55815         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55816         $(run-program-prefix) to tst-gettext.sh.
55817         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55818         tst-translit.sh.
55819         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55820         tst-gettext2.sh.
55821         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55822         to run tst-gettext.
55823         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55824         to run tst-gettext2.
55825         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55826         to run tst-translit.
55827         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55828         $(run-program-prefix) to tst-mtrace.sh.
55829         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55830         to run tst-mtrace.
55831         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55832         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55833         $(rtld-installed-name).
55834         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55835         (rtld_installed_name): Likewise.
55836         (run_program_prefix): New variable.  Use it to run wordexp-test.
55838         * Makeconfig (ARCH): Remove all definitions.
55839         (machine): Likewise.
55840         [ARCH]: Remove conditional code.
55841         [!objdir]: Give error.
55842         [!objdir] (objpfx): Remove.
55843         [!objdir] (common-objpfx): Likewise.
55844         [!objdir] (common-objdir): Likewise.
55845         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55846         AC_CONFIG_FILES call.
55847         * configure: Regenerated.
55849         [BZ #13888]
55850         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55851         or TMPDIR.
55852         (testout): Likewise.
55854         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55855         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55856         $(rtld-installed-name).
55857         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55858         (rtld_installed_name): Likwise.
55859         (runit): Remove function.
55860         (run_getconf): New variable,  Use it for running getconf binary.
55862 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55864         [BZ #14716]
55865         * string/test-memmem.c (check_result): New function.
55866         (do_one_test): Use it.
55867         (check1): New function.
55868         (test_main): Use it.
55870 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55872         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55874 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55876         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55877         (_G_LSEEK64): Likewise.
55878         (_G_MMAP64): Likewise.
55879         (_G_FSTAT64): Likewise.
55880         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55881         (_G_LSEEK64): Likewise.
55882         (_G_MMAP64): Likewise.
55883         (_G_FSTAT64): Likewise.
55884         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55885         unconditional.  Call __mmap64 directly.
55886         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55887         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55888         __lseek64 directly.
55889         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55890         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55891         __mmap64 directly.
55892         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55893         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55894         __lseek64 directly.
55895         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55896         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55897         __lseek64 directly.
55898         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55899         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55900         __lseek64 directly.
55901         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55902         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55903         __fxstat64 directly.
55904         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55905         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55906         unconditional.
55907         (freopen64) [!_G_OPEN64]: Remove conditional code.
55908         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55909         unconditional.
55910         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55911         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55912         unconditional.
55913         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55914         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55915         unconditional.
55916         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55917         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55918         unconditional.
55919         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55920         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55921         unconditional.
55922         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55923         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55924         unconditional.
55925         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55926         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55927         unconditional.
55928         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55930 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55932         [BZ #12140]
55933         * manual/memory.texi (Malloc Tunable Parameters): Add note
55934         about free list pointers overwriting some perturb bytes.
55935         Wording suggested by Roland McGrath.
55937 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55939         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55940         (lgamma_test): Likewise.
55941         (tgamma_test): Likewise.
55943 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55945         [BZ #14700]
55946         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55947         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55949 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55951         * NEWS: Mention BZ #14716.
55952         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55953         when removing AVAILABLE1_USES_J macro.
55955 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55957         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55958         (__bswap_64): __uint64_t for unsigned 64-bit int.
55960 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55962         * include/string.h (memmem): Declare libc hidden alias.
55963         * string/memmem.c (memmem): Define libc hidden alias.
55964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55965         __read, __close instead of open, read, close.
55967 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55970         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55971         global and hidden.
55972         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55973         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55974         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55975         Likewise.
55976         (__rawmemchr_sse2): Likewise.
55977         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55978         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55979         (__strchr_sse2): Likewise.
55980         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55981         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55982         (__strcasecmp_sse2): Likewise.
55983         (__strncasecmp_sse2): Likewise.
55984         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55985         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55986         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55987         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55988         (__strrchr_sse2): Likewise.
55989         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55990         ifunc-impl-list.c.
55991         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55992         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55993         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55994         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55995         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55996         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55997         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55998         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55999         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56000         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56001         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56002         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56003         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56004         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56005         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56006         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56007         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56008         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56009         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56010         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56011         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56012         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56013         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56014         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56015         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56016         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56017         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56018         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56019         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56020         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56022         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56023         global and hidden.
56024         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56025         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56026         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56027         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56028         Likewise.
56029         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56030         Likewise.
56031         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56032         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56033         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56034         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56035         ifunc-impl-list.c.
56036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56038         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56045         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56046         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56047         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56048         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56049         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56050         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56051         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56052         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56053         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56054         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56055         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56056         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56057         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56058         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56059         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56060         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56061         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56062         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56063         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56064         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56065         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56066         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56067         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56068         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56069         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56070         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56071         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56072         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56073         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56074         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56075         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56076         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56078         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56079         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56080         * include/ifunc-impl-list.h: New file.
56081         * misc/ifunc-impl-list.c: Likewise.
56082         * misc/Makefile (routines): Add ifunc-impl-list.
56083         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56084         * string/test-string.h: Include <ifunc-impl-list.h>.
56085         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56086         TEST_NAME]: New variables.
56087         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56088         are defined.
56089         (test_init): Call __libc_ifunc_impl_list to initialize
56090         func_list if TEST_IFUNC and TEST_NAME are defined.
56092         * string/Makefile (strop-tests): Add bcopy and bzero.
56093         * string/test-bcopy.c: New file.
56094         * string/test-bzero.c: Likewise.
56095         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56096         defined.
56097         * string/test-memset.c: Support bzero test if TEST_BZERO is
56098         defined.
56099         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56100         __libc_memmove.
56101         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56102         __libc_memset.
56103         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56104         of memset.
56106 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56108         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56109         * configure: Regenerated.
56111         * Makeconfig (+link-static-before-libc): Don't include
56112         $(link-static-libc).
56114         * libio/libio.h (_IO_pos_t): Remove.
56116 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56118         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56119         McGrath.
56121 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56123         * crypt/crypt-entry.c: Include fips-private.h.
56124         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56125         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56126         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56127         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56129 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56131         * crypt/crypt-private.h: Include stdbool.h.
56132         (_ufc_setup_salt_r): Return bool.
56133         * crypt/crypt-entry.c: Include errno.h.
56134         (__crypt_r): Return NULL with EINVAL for bad salt.
56135         * crypt/crypt_util.c (bad_for_salt): New.
56136         (_ufc_setup_salt_r): Check that salt is long enough and within
56137         the specified alphabet.
56138         * crypt/badsalttest.c: New file.
56139         * crypt/Makefile (tests): Add it.
56140         ($(objpfx)badsalttest): New.
56142 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56144         * NEWS: Add entry for BZ #14602.
56146 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56148         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56149         type-generic.
56150         * math/libm-test.inc: Update comment listing what functions and
56151         macros are tested.
56152         (isgreater_test): New function.
56153         (isgreaterequal_test): Likewise.
56154         (isless_test): Likewise.
56155         (islessequal_test): Likewise.
56156         (islessgreater_test): Likewise.
56157         (isunordered_test): Likewise.
56158         (main): Call the new functions.
56160 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56162         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56163         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56164         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56165         * sysdeps/i386/configure: Regenerated.
56166         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56167         * sysdeps/mach/configure: Regenerated.
56168         * sysdeps/mach/hurd/configure: Regenerated.
56169         * sysdeps/powerpc/configure: Regenerated.
56170         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56171         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56172         * sysdeps/s390/s390-32/configure: Regenerated.
56173         * sysdeps/s390/s390-64/configure: Regenerated.
56174         * sysdeps/sh/configure: Regenerated.
56175         * sysdeps/sparc/configure: Regenerated.
56176         * sysdeps/unix/sysv/linux/configure: Regenerated.
56177         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56178         * sysdeps/x86_64/configure: Regenerated.
56180         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56181         defined.  Don't check if MAP is NULL.
56183 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56185         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56186         (_G_stat64): Likewise.
56187         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56188         (_G_stat64): Likewise.
56189         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56190         instead of struct _G_stat64.
56191         * libio/fileops.c (mmap_remap_check): Likewise.
56192         (decide_maybe_mmap): Likewise.
56193         (_IO_new_file_seekoff): Likewise.
56194         (_IO_file_stat): Likewise.
56195         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56196         _G_off64_t.
56197         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56198         instead of struct _G_stat64.
56199         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56201 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56203         [BZ #14602]
56204         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56205         Replace with ...
56206         (CHECK_EOL): New macro.
56207         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56208         CHECK_EOL.
56209         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56210         Replace with CHECK_EOL.
56211         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56212         Replace with CHECK_EOL.
56214 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56216         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56217         type-generic.
56218         * math/libm-test.inc: Update comment listing what functions and
56219         macros are tested.
56220         (finite_test): New function.
56221         (isinf_test): Likewise.
56222         (isnan_test): Likewise.
56223         (fpclassify_test): Test subnormal input.
56224         (isfinite_test): Likewise.
56225         (isnormal_test): Likewise.
56226         (main): Call the new functions.
56228 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56230         [BZ #14660]
56231         * Makerules (%.dynsym): Force C locale when running
56232         $(OBJDUMP) --dynamic-syms.
56234 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56236         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56237         <stdint.h>.
56239 2012-10-06  David S. Miller  <davem@davemloft.net>
56241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56242         upper 32-bits of the length value in %o2 since we use branch-on-register
56243         tests which consider the entire 64-bit register.
56245 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56247         * string/test-strstr.c (check2): Add a test for page boundary.
56249 2012-10-05  David S. Miller  <davem@davemloft.net>
56251         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56252         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56253         file.
56254         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56255         sysdep_routines.
56256         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56257         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56258         and bzero when HWCAP_SPARC_CRYPTO is present.
56260 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56262         [BZ #14602]
56263         * string/test-strstr.c (check2): New function.
56264         (test_main): Call check2.
56266         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56267         and bug-strchr1.
56268         * string/bug-strcasestr1.c (do_test): Moved to ...
56269         * string/test-strcasestr.c (check1): Here.  New function.
56270         (do_one_test): Break out result checking code into ...
56271         (check_result): This.  New function.
56272         (do_one_test): Call check_result.
56273         (test_main): Call check1.
56274         * string/bug-strchr1.c (do_test): Moved to ...
56275         * string/test-strchr.c (check1): Here.  New function.
56276         (do_one_test): Break out result checking code into ...
56277         (check_result): This.  New function.
56278         (do_one_test): Call check_result.
56279         (test_main): Call check1.
56280         * string/bug-strstr1.c (main): Moved to ...
56281         * string/test-strstr.c (check1): Here.  New function.
56282         (do_one_test): Break out result checking code into ...
56283         (check_result): This.  New function.
56284         (do_one_test): Call check_result.
56285         (test_main): Call check1.
56286         * string/bug-strcasestr1.c: Removed.
56287         * string/bug-strchr1.c: Likewise.
56288         * string/bug-strstr1.c: Likewise.
56290         * elf/Makefile (dl-routines): Add hwcaps.
56291         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56292         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56293         (_dl_important_hwcaps): Moved to ...
56294         * elf/dl-hwcaps.c: Here.  New file.
56295         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56297         [BZ #14557]
56298         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56299         if IS_IN_rtld isn't defined.
56301         * elf/dl-support.c (_dl_sysinfo_map): New.
56302         Include "get-dynamic-info.h" and "setup-vdso.h".
56303         (_dl_non_dynamic_init): Call setup_vdso.
56304         * elf/dynamic-link.h: Don't include <assert.h>.
56305         (elf_get_dynamic_info): Moved to ...
56306         * elf/get-dynamic-info.h: Here.  New file.
56307         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56308         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56309         * elf/setup-vdso.h: Here.  New file.
56310         * elf/rtld.c: Include "setup-vdso.h".
56311         (dl_main): Call setup_vdso.
56313 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56315         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56316         creal in comment listing functions tested.  List finite, isinf,
56317         isnan, isless, islessequal, isgreater, isgreaterequal,
56318         islessgreater, isunordered, lgamma_r and pow10 as functions and
56319         macros not tested.  Mention which functions not tested are aliases
56320         for other functions.  Fix typo.  Note that signs of NaNs are not
56321         tested.
56323         * scripts/config.guess: Update from config.git.
56324         * scripts/config.sub: Likewise.
56326 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56328         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56329         * misc/madvise.c (madvise): Renamed to __madvise.
56330         Make madvise a weak alias.
56331         * include/sys/mman.h: Declare __madvise.
56332         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56333         * sysdeps/unix/syscalls.list
56334         (madvise): Make __madvise the strong name, and madvise a weak alias.
56335         * sysdeps/unix/sysv/linux/syscalls.list
56336         (madvise, mmap): Remove redundant entries.
56337         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56338         * malloc/malloc.c (mtrim): Likewise.
56339         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56341 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56343         * sysdeps/mach/hurd/dl-cache.c: File removed.
56344         * config.h.in (USE_LDCONFIG): New #undef.
56345         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56346         * configure: Regenerated.
56347         * elf/Makefile (dl-routines): Add dl-cache only under
56348         [$(use-ldconfig) = yes].
56349         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56350         cache on [USE_LDCONFIG].
56351         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56352         [USE_LDCONFIG].
56353         * elf/rtld.c (dl_main): Likewise.
56355 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56357         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56358         _SC_LEVEL4_CACHE_LINESIZE.
56360 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56362         * sysdeps/unix/bsd/confstr.h: File removed.
56364 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56366         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56367         sys/sdt-config.h.
56369 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56371         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56372         Make 'mapoff' field ElfW(Off) rather than off_t.
56374 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56376         * nscd/Makefile: Remove nscd-cflags and all its users.
56377         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56378         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56380         [BZ #10631]
56381         * malloc.c (malloc_printerr): Clarify error message.
56383 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56385         [BZ #14648]
56386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56387         Set bit_FMA_Usable if FMA is supported.
56388         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56389         macro.
56390         (bit_FMA4_Usable): Updated.
56391         (index_FMA_Usable): New macro.
56392         (CPUID_FMA): Likewise.
56393         (HAS_FMA): Defined with bit_FMA_Usable.
56395 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56397         * bits/types.h (__swblk_t): Type removed.
56398         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56399         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56401         (__SWBLK_T_TYPE): Likewise.
56402         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56403         (__SWBLK_T_TYPE): Likewise.
56404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56405         (__SWBLK_T_TYPE): Likewise.
56406         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56407         (__SWBLK_T_TYPE): Likewise.
56409 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56410             Honza Horak <hhorak@redhat.com>
56412         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56413         (xdr_mapname): Use YPMAXMAP as maxsize.
56414         (xdr_peername): Use YPMAXPEER as maxsize.
56415         (xdr_keydat): Use YPAXRECORD as maxsize.
56416         (xdr_valdat): Use YPMAXRECORD as maxsize.
56418 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56420         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56422         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56423         * csu/init-first.c: ... here.
56424         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56425         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56426         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56427         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56428         * sysdeps/i386/init-first.c: File removed.
56429         * sysdeps/sh/init-first.c: File removed.
56431 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56433         [BZ #14645]
56434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56435         if x * y might underflow to zero and z is zero.
56436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56438         * math/libm-test.inc (min_subnorm_value): New variable.
56439         (fma_test): Add more tests.
56440         (fma_test_towardzero): Likewise.
56441         (fma_test_downward): Likewise.
56442         (fma_test_upward): Likewise.
56443         (initialize): Set min_subnorm_value.
56445 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56447         [BZ #14638]
56448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56449         0 + 0.
56450         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56451         mode for addition resulting in exact zero.
56452         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56454         exact 0 + 0.
56455         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56457         * math/libm-test.inc (fma_test): Add more tests.
56458         (fma_test_towardzero): New function.
56459         (fma_test_downward): Likewise.
56460         (fma_test_upward): Likewise.
56461         (main): Call the new functions.
56463 2012-09-28  David S. Miller  <davem@davemloft.net>
56465         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56467 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56469         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56470         instead of SIGALRM.
56472         * sysdeps/gnu/_G_config.h: Moved to ...
56473         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56474         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56475         * sysdeps/generic/_G_config.h: ... here.
56477         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56479         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56481         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56482         Conditionalize target on [libnss_test1.so-version].
56484         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56486         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56487         (elfobjdir): Move out of conditionals.
56489         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56490         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56491         (__nss_lookup_function): Conditionalize label remove_from_tree on
56492         [!DO_STATIC_NSS || SHARED], matching its only use.
56494 2012-09-28  David S. Miller  <davem@davemloft.net>
56496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56497         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56498         file.
56499         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56500         sysdep_routines.
56501         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56502         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56503         when HWCAP_SPARC_CRYPTO is present.
56505 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56507         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56509 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56511         [BZ #6530]
56512         * stdio-common/vfprintf.c (process_string_arg): Revert
56513         2000-07-22 change.
56515 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56517         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56518         for testcase.
56519         * stdio-common/tst-sprintf.c: Include <locale.h>
56520         (main): Test sprintf's handling of incomplete multibyte
56521         characters.
56523 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56525         * elf/dl-runtime.c (VERSYMIDX): Removed.
56526         * elf/dl-version.c (VERSYMIDX): Likewise.
56527         * elf/do-rel.h (VERSYMIDX): Likewise.
56528         (VALIDX): Likewise.
56529         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56530         * elf/rtld.c (VALIDX): Likewise.
56531         (ADDRIDX): Likewise.
56532         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56533         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56534         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56535         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56536         (VALIDX): Likewise.
56537         (ADDRIDX): Likewise.
56539 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56541         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56543 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56545         [BZ #11438]
56546         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56547         to global scope.
56548         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56549         addresses are in the same scope as 192.0.2/24.
56550         * posix/gai.conf: Document new scope table defaults.
56552 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56554         [BZ #5298]
56555         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56556         for ftell.  Compute offsets from write pointers instead.
56557         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56559 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56561         [BZ #14543]
56562         * libio/Makefile (tests): New test case tst-fseek.
56563         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56564         combination works in wide mode.
56565         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56566         state when the external buffer state changes.
56568 2012-09-27  David S. Miller  <davem@davemloft.net>
56570         [BZ #14376]
56571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56572         pass reloc->r_addend in as the 'high' argument to
56573         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56577 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56579         * rt/tst-aio2.c: Include <pthread.h>.
56580         * rt/tst-aio3.c: Likewise.
56582 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56584         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56586 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56588         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56589         contents on [SHARED].
56591 2012-09-26  Marek Polacek  <polacek@redhat.com>
56593         [BZ #14530]
56594         [BZ #13741]
56595         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56596         for C++ and GCC <4.3 as well as for non GCC compilers.
56598 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56602 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56604         * Makefile.in (all, install): Declare with .PHONY.
56605         Reported by Michael Hope <michael.hope@linaro.org>.
56607 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56609         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56610         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56611         system header.
56612         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56613         Likewise.
56614         (sydep_routines): Add the new and the internal functions.
56615         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56616         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56618         (GLIBC_2.17): Add the new function.
56619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56620         (GLIBC_2.17): Likewise.
56621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56622         (GLIBC_2.17): Likewise.
56623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56624         (GLIBC_2.17): Likewise.
56625         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56627 2012-09-25  Alan Modra  <amodra@gmail.com>
56629         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56630         Add release barrier before setting once_control to say
56631         initialisation is done.  Add hints on lwarx.  Use macro in
56632         place of isync.
56633         (clear_once_control): Add release barrier.
56635 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56637         [BZ #13629]
56638         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56639         specially.
56640         * math/s_clog10.c (__clog10): Likewise.
56641         * math/s_clog10f.c (__clog10f): Likewise.
56642         * math/s_clog10l.c (__clog10l): Likewise.
56643         * math/s_clogf.c (__clogf): Likewise.
56644         * math/s_clogl.c (__clogl): Likewise.
56645         * math/Makefile (libm-calls): Add x2y2m1.
56646         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56647         (__x2y2m1): Likewise.
56648         (__x2y2m1l): Likewise.
56649         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56650         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56651         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56652         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56653         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56654         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56655         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56656         * sysdeps/i386/fpu/libm-test-ulps: Update.
56657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56659         [BZ #14621]
56660         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56661         int as type of variable DEPTH.
56662         (glob): Use size_t instead of int as type of variables NEWCOUNT
56663         and OLD_PATHC.
56665 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56667         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56668         Add s_sincosf-sse2.
56669         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56670         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56671         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56672         macros for using routine as __sincosf_ia32.
56673         Use macro for function declaration and weak_alias.
56674         * sysdeps/i386/fpu/libm-test-ulps: Update.
56676         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56679         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56680         subnormal argument.
56681         * math/s_cexpf.c (__cexpf): Likewise.
56682         * math/s_csinf.c (__csinf): Likewise.
56683         * math/s_csinhf.c (__csinhf): Likewise.
56684         * math/s_ctanf.c (__ctanf): Likewise.
56685         * math/s_ctanhf.c (__ctanhf): Likewise.
56686         * math/s_ccosh.c (__ccoshf): Likewise.
56687         * math/s_cexp.c (__cexpl): Likewise.
56688         * math/s_csin.c (__csin): Likewise.
56689         * math/s_csinh.c (__csinh): Likewise.
56690         * math/s_ctan.c (__ctan): Likewise.
56691         * math/s_ctanh.c (ctanh): Likewise.
56692         * math/s_ccoshl.c (__ccoshl): Likewise.
56693         * math/s_cexpl.c (__cexpl): Likewise.
56694         * math/s_csinl.c (__csinl): Likewise.
56695         * math/s_csinhl.c (__csinhl): Likewise.
56696         * math/s_ctanl.c (__ctanl): Likewise.
56697         * math/s_ctanhl.c (__ctanhl): Likewise.
56699 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56701         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56702         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56703         (_IO_off_t): Define to __off_t, not _G_off_t.
56704         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56705         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56706         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56707         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56708         type of __dummy and __dummy2 fields.
56709         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56710         (_G_ssize_t): Likewise.
56711         (_G_off_t): Likewise.
56712         (_G_pid_t): Likewise.
56713         (_G_uid_t): Likewise.
56714         (_G_wchar_t): Likewise.
56715         (_G_wint_t): Likewise.
56716         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56717         (_G_ssize_t): Likewise.
56718         (_G_off_t): Likewise.
56719         (_G_pid_t): Likewise.
56720         (_G_uid_t): Likewise.
56721         (_G_wchar_t): Likewise.
56722         (_G_wint_t): Likewise.
56723         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56724         (_G_ssize_t): Likewise.
56725         (_G_off_t): Likewise.
56726         (_G_pid_t): Likewise.
56727         (_G_uid_t): Likewise.
56728         (_G_wchar_t): Likewise.
56729         (_G_wint_t): Likewise.
56731 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56733         * malloc/arena.c: Include malloc-sysdep.h.
56734         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56735         is sufficient to shrink the heap or an unmap is needed.
56736         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56737         new function check_may_shrink_heap.
56738         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56739         new function check_may_shrink_heap.
56741 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56743         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56744         comments.
56746 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56748         * catgets/test-gencat.sh: Add "set -e".
56749         * elf/tst-pathopt.sh: Likewise.
56750         * grp/tst_fgetgrent.sh: Likewise.
56751         * iconvdata/run-iconv-test.sh: Likewise.
56752         * intl/tst-gettext.sh: Likewise.
56753         * intl/tst-gettext2.sh: Likewise.
56754         * intl/tst-gettext4.sh: Likewise.
56755         * intl/tst-gettext6.sh: Likewise.
56756         * intl/tst-translit.sh: Likewise.
56757         * io/ftwtest-sh: Likewise.
56758         * libio/test-freopen.sh: Likewise.
56759         * malloc/tst-mtrace.sh: Likewise.
56760         * posix/globtest.sh: Likewise.
56761         * posix/tst-getconf.sh: Likewise.
56762         * posix/wordexp-tst.sh: Likewise.
56763         * stdio-common/tst-printf.sh: Likewise.
56764         * stdio-common/tst-unbputc.sh: Likewise.
56765         * stdlib/tst-fmtmsg.sh: Likewise.
56766         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56767         * catgets/Makefile: Do not specify -e option when running
56768         testsuite shell scripts.
56769         * elf/Makefile: Likewise.
56770         * grp/Makefile: Likewise.
56771         * iconvdata/Makefile: Likewise.
56772         * intl/Makefile: Likewise.
56773         * io/Makefile: Likewise.
56774         * libio/Makefile: Likewise.
56775         * malloc/Makefile: Likewise.
56776         * posix/Makefile: Likewise.
56777         * stdio-common/Makefile: Likewise.
56778         * stdlib/Makefile: Likewise.
56779         * sysdeps/x86_64/Makefile: Likewise.
56781         * io/ftwtest-sh: Add copyright header.
56782         * posix/globtest.sh: Likewise.
56783         * posix/tst-getconf.sh: Likewise.
56784         * posix/wordexp-tst.sh: Likewise.
56785         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56787 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56789         [BZ #13679]
56790         * Makeconfig (+link): Defined as $(+link-static) if
56791         $(build-shared) isn't yes.
56792         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56793         isn't yes.
56794         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56796         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56798         [BZ #14562]
56799         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56800         new chunk size with MALLOC_ALIGN_MASK.
56802 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56804         [BZ #5044]
56805         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56806         <rounding-mode.h>.
56807         (__printf_fphex): Determine rounding using get_rounding_mode and
56808         round_away.
56809         * stdio-common/tst-printf-round.c (struct hex_test): New
56810         structure.
56811         (hex_tests): New variable.
56812         (test_hex_in_one_mode): New function.
56813         (do_test): Also run tests for hex float output.
56815 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56817         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56818         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56819         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56820         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56821         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56822         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56823         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56824         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56826 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56828         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56829         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56830         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56831         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56833 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56835         [BZ #14579]
56836         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56837         mode only.
56838         * elf/tst-rtld-load-self.sh: New test.
56839         * elf/Makefile: Run it.
56841 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56843         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56844         (tst-writev-ENV): Remove.
56845         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56847 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56849         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56851 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56853         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56854         unconditional.
56855         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56856         Likewise.
56857         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56858         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56859         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56860         Likewise.
56862 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56864         [BZ #14587]
56865         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56866         * config.make.in (have-cpp-asm-debuginfo): Removed.
56867         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56868         * configure: Regenerated.
56870 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56872         [BZ #5044]
56873         * stdio-common/printf_fp.c: Include <stdbool.h> and
56874         <rounding-mode.h>.
56875         (___printf_fp): Determine rounding using get_rounding_mode and
56876         round_away.
56877         * stdio-common/tst-printf-round.c: New file.
56878         * stdio-common/Makefile (tests): Add tst-printf-round.
56879         (link-libm): New variable.
56880         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56882 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56884         [BZ #14576]
56885         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56886         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56887         Likewise.
56888         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56889         Likewise.
56891 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56893         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56894         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56895         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56896         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56898 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56900         [BZ #14518]
56901         * include/rounding-mode.h: New file.
56902         * sysdeps/generic/get-rounding-mode.h: Likewise.
56903         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56904         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56905         (MAX_VALUE): New macro.
56906         (MIN_VALUE): Likewise.
56907         (overflow_value): New function.
56908         (underflow_value): Likewise.
56909         (round_and_return): Use overflow_value and underflow_value to
56910         determine return values in overflow and underflow cases.  Use
56911         round_away to determine rounding depending on rounding mode.
56912         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56913         determine return values in overflow and underflow cases.
56914         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56915         (struct test_results): New structure.
56916         (struct test): Use struct test_results to store expected results
56917         for all rounding modes.
56918         (TEST): Include expected results for all rounding modes.
56919         (test_in_one_mode): New function.
56920         (do_test): Use test_in_one_mode to compute and check results.
56921         Check results for all rounding modes.
56922         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56923         $(link-libm).
56925 2012-12-09  Allan McRae  <allan@archlinux.org>
56927         * sysdeps/i386/fpu/libm-test-ulps: Update
56929 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56931         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56932         (_G_int32_t): Likewise.
56933         (_G_uint16_t): Likewise.
56934         (_G_uint32_t): Likewise.
56935         (_G_HAVE_BOOL): Likewise.
56936         (_G_HAVE_ATEXIT): Likewise.
56937         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56938         (_G_HAVE_IO_FILE_OPEN): Likewise.
56939         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56940         (_G_int32_t): Likewise.
56941         (_G_uint16_t): Likewise.
56942         (_G_uint32_t): Likewise.
56943         (_G_HAVE_BOOL): Likewise.
56944         (_G_HAVE_ATEXIT): Likewise.
56945         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56946         (_G_HAVE_IO_FILE_OPEN): Likewise.
56947         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56948         (_G_int32_t): Likewise.
56949         (_G_uint16_t): Likewise.
56950         (_G_uint32_t): Likewise.
56951         (_G_HAVE_BOOL): Likewise.
56952         (_G_HAVE_ATEXIT): Likewise.
56953         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56954         (_G_HAVE_IO_FILE_OPEN): Likewise.
56956 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56958         * csu/libc-tls.c: Update copyright years.
56960 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56962         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56963         [!_G_USING_THUNKS]: Remove conditional code.
56964         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56965         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56967         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56968         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56969         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56970         (_G_VTABLE_LABEL_PREFIX): Likewise.
56971         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56972         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56973         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56974         (_G_VTABLE_LABEL_PREFIX): Likewise.
56975         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56976         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56977         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56978         (_G_VTABLE_LABEL_PREFIX): Likewise.
56979         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56981 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56983         * libio/Makefile: Include ../Makeconfig before tests.
56984         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56985         only if $(build-shared) is yes.
56987         * iconv/gconv_db.c: Update copyright years.
56989 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56991         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56992         unwind info if defined PIC. Fix special cases description.
56993         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56995         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56996         DP_HI_MASK entry.
56997         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56999 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57001         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57003         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57004         is NULL.
57006         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57007         (LDLIBS-tst-chk4): This.
57008         (LDFLAGS-tst-chk5): Renamed to ...
57009         (LDLIBS-tst-chk5): This.
57010         (LDFLAGS-tst-chk6): Renamed to ...
57011         (LDLIBS-tst-chk6): This.
57012         (LDFLAGS-tst-lfschk4): Renamed to ...
57013         (LDLIBS-tst-lfschk4): This.
57014         (LDFLAGS-tst-lfschk5): Renamed to ...
57015         (LDLIBS-tst-lfschk5): This.
57016         (LDFLAGS-tst-lfschk6): Renamed to ...
57017         (LDLIBS-tst-lfschk6): This.
57019         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57020         on $(common-objpfx)soversions.mk.
57022 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57024         [BZ #10014]
57025         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57026         example host name.
57028 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57030         * malloc/arena.c (arena_get_retry): New function that gets
57031         another arena for the caller to try its request on.
57032         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57033         current arena cannot fulfill the request.
57034         (__libc_memalign): Likewise.
57035         (__libc_memalign): Likewise.
57036         (__libc_pvalloc): Likewise.
57037         (__libc_calloc): Likewise.
57039 2012-09-05  John Tobey  <john.tobey@gmail.com>
57041         [BZ #13542]
57042         * manual/arith.texi (Operations on Complex): Fix description
57043         of carg branch cut.
57045 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57047         [BZ #10014]
57048         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57049         host name.
57051         [BZ #10038]
57052         * manual/memory.texi (Memory): Make order of menu items match
57053         order of sections.
57055 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57057         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57058         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57059         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57061 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57063         * csu/libc-tls.c (static_dtv): Renamed to ...
57064         (_dl_static_dtv): This.  Make it global.
57065         (_dl_initial_dtv): Removed.
57066         (__libc_setup_tls): Updated.
57067         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57068         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57069         DL_INITIAL_DTV.
57071 2012-09-06  Petr Machata  <pmachata@redhat.com>
57073         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57074         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57075         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57076         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57078 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57080         [BZ #14545]
57081         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57082         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57083         freeing dtv[-1].
57085 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57087         [BZ #14544]
57088         * Makeconfig (link-static-before-libc): Replace $(+prector)
57089         with $(+prectorT).
57090         (link-static-after-libc): Replace $(+postctor) with
57091         $(+postctorT).
57092         (link-bounded): Replace $(+prector)/$(+postctor) with
57093         $(+prectorT)/$(+postctorT).
57094         (+prectorT): New macro.
57095         (+postctorT): Likewise.
57097 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57099         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57100         (round_str): Handle values above the maximum for IBM long double
57101         as inexact.
57102         * stdlib/tst-strtod-round.c (tests): Regenerated.
57104 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57106         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57107         assembler flag.
57108         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57109         zarch_nohighgprs around the zarch optimized routines.
57110         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57111         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57112         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57113         for zarch.
57115 2012-09-05  David S. Miller  <davem@davemloft.net>
57117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57119         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57120         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57121         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57122         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57123         entries.
57125 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57127         * malloc/arena.c: Fold copyright years.
57128         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57130 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57132         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57134 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57136         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57140         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57141         change internal state upon failure.
57143 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57145         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57146         * malloc/memusage.c (mmap): Likewise.
57147         (mmap64, mremap): Likewise.  Adjust name in comment.
57149 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57151         * libio/fileops.c: Fix typos in comments.
57152         * libio/oldfileops.c: Likewise.
57153         * libio/wfileops.c: Likewise.
57155 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57157         [BZ #1349]
57158         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57159         (tst-malloc-usable-ENV): Set environment for test case.
57160         * malloc/hooks.c (malloc_check_get_size): New function to get
57161         requested size.
57162         * malloc/malloc.c (musable): Use malloc_check_get_size.
57163         * malloc/tst-malloc-usable.c: New test case.
57165 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57167         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57169 2012-09-05  Allan McRae  <allan@archlinux.org>
57171         [BZ #13966]
57172         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57173         determine header location.
57174         * configure: Regenerated.
57176 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57178         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57179         float format.
57180         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57181         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57182         format.
57183         (test): Regenerate.
57185 2012-09-04  David S. Miller  <davem@davemloft.net>
57187         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57188         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57189         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57191 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57193         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57194         failures.
57196         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57198 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57200         [BZ #9914]
57201         * libio/iogetdelim.c: Include <limits.h>.
57202         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57203         + len + 1 would overflow.
57205 2012-09-03  Andreas Jaeger  <aj@suse.de>
57207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57208         * sysdeps/i386/fpu/libm-test-ulps: Update.
57210 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57212         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57213         Add s_sinf-sse2, s_conf-sse2.
57215         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57216         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57217         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57218         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57220         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57221         for using routine as __sinf_ia32.
57222         Use macro for function declaration and weak_alias.
57223         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57224         for using routine as __cosf_ia32.
57225         Use macro for function declaration and weak_alias.
57227         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57228         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57230         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57231         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57234         * math/libm-test.inc (cos_test): Add more test cases.
57235         (sin_test): Likewise.
57236         (sincos_test): Likewise.
57238 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57240         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57241         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57242         hidden.
57243         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57245 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57247         [BZ #14538]
57248         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57249         first element of the GOT.
57250         (elf_machine_load_address): Return the difference between
57251         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57253 2012-09-01  Allan McRae  <allan@archlinux.org>
57255         [BZ #13412]
57256         * configure.in (AWK): Require gawk version 3.0 or later.
57257         * configure: Regenerated.
57259 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57261         * sysdeps/unix/sysv/linux/kernel-features.h
57262         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57264         [__NR_clock_getres]: Make code unconditional.
57265         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57266         (clock_getcpuclockid): Remove code left unreachable by removal of
57267         conditionals.
57268         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57269         code unconditional.
57270         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57271         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57272         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57273         Make code unconditional.
57274         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57275         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57276         * sysdeps/unix/sysv/linux/clock_settime.c
57277         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57278         conditional code.
57279         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57280         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57282 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57284         [BZ #14476]
57285         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57286         scripts/test-installation.pl.
57288         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57289         and $ld_so_version if it is set.
57291 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57293         [BZ #14516]
57294         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57295         failure if reading from procfs failed.
57296         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57298 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57300         * sysdeps/unix/sysv/linux/kernel-features.h
57301         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57302         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57303         Remove conditional code.
57304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57305         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57306         Remove conditional code.
57307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57308         * sysdeps/unix/sysv/linux/i386/fxstat.c
57309         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57311         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57312         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57313         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57314         * sysdeps/unix/sysv/linux/i386/lxstat.c
57315         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57317         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57318         Remove conditional code.
57319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57320         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57321         Remove conditional code.
57322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57323         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57324         <kernel-features.h>.
57325         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57326         Remove.
57327         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57328         Remove conditional code.
57329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57330         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57331         Remove conditional.
57333 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57335         [BZ #5400]
57336         * NEWS: Add fixed bug number.
57338 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57340         [BZ #14519]
57341         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57342         underflowing exponent in case of negative sign.
57343         * stdlib/tst-strtod-round-data: Add more tests.
57344         * stdlib/tst-strtod-round.c (tests): Regenerated.
57346         [BZ #3479]
57347         * stdlib/strtod_l.c (NDIG): Remove.
57348         (HEXNDIG): Likewise.
57349         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57350         smallest representable value.
57351         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57352         lie within an exact representation of 1/2 ulp of the result.
57353         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57354         unconditionally.
57355         (TENS_P9_IDX): Define unconditionally.
57356         (TENS_P9_SIZE): Likewise.
57357         (TENS_P10_IDX): Likewise.
57358         (TENS_P10_SIZE): Likewise.
57359         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57360         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57361         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57362         entries for 10^2^13 and 10^2^14.
57363         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57364         (TENS_P13_IDX): Define.
57365         (TENS_P13_SIZE): Likewise.
57366         (TENS_P14_IDX): Likewise.
57367         (TENS_P14_SIZE): Likewise.
57368         (_fpioconst_pow10): Change array size to
57369         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57370         unconditional.
57371         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57372         1024]: Add entries for 10^2^13 and 10^2^14.
57373         [LAST_POW10 > _LAST_POW10]: Remove #error.
57374         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57375         (_fpioconst_pow10): Change array size to
57376         FPIOCONST_POW10_ARRAY_SIZE.
57377         * stdlib/gen-fpioconst.c: New file.
57378         * stdlib/gen-tst-strtod-round.c: Likewise.
57379         * stdlib/tst-strtod-round-data: Likewise.
57380         * stdlib/tst-strtod-round.c: Likewise.
57381         * stdlib/Makefile (tests): Add tst-strtod-round.
57383         [BZ #14459]
57384         * stdlib/strtod_l.c: Include <stdint.h>.
57385         (NDEBUG): Do not define.
57386         (round_and_return): Change EXPONENT parameter to type intmax_t.
57387         Rearrange calculations to avoid internal overflow possibilities.
57388         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57389         Rearrange calculations to avoid internal overflow possibilities.
57390         Assert that number fits inside MPNSIZE limbs.
57391         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57392         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57393         calculations and add assertions to avoid internal overflow
57394         possibilities.  Add casts to avoid signed/unsigned operations.
57395         * stdlib/tst-strtod-overflow.c: New file.
57396         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57398 2012-08-25  Marek Polacek  <polacek@redhat.com>
57400         * time/time.h: Fix some typos in comments.
57402 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57404         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57405         * posix/tst-rfc3484-2.c: Likewise.
57406         * posix/tst-rfc3484-3.c: Likewise.
57408 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57410         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57411         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57413 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57415         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57416         #include of fxstatat64.c.
57418 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57420         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57421         * shadow/getspent_r.c: Likewise.
57422         * shadow/getspnam.c: Likewise.
57423         * shadow/getspnam_r.c: Likewise.
57424         * gshadow/getsgent.c: Likewise.
57425         * gshadow/getsgent_r.c: Likewise.
57426         * gshadow/getsgnam.c: Likewise.
57427         * gshadow/getsgnam_r.c: Likewise.
57428         * inet/getnetbyad.c: Likewise.
57429         * inet/getnetbyad_r.c: Likewise.
57430         * inet/getnetbynm.c: Likewise.
57431         * inet/getnetbynm_r.c: Likewise.
57432         * inet/getnetent.c: Likewise.
57433         * inet/getnetent_r.c: Likewise.
57434         * inet/getproto.c: Likewise.
57435         * inet/getproto_r.c: Likewise.
57436         * inet/getprtent.c: Likewise.
57437         * inet/getprtent_r.c: Likewise.
57438         * inet/getprtname.c: Likewise.
57439         * inet/getprtname_r.c: Likewise.
57440         * inet/getrpcbyname.c: Likewise.
57441         * inet/getrpcbyname_r.c: Likewise.
57442         * inet/getrpcbynumber.c: Likewise.
57443         * inet/getrpcbynumber_r.c: Likewise.
57444         * inet/getrpcent.c: Likewise.
57445         * inet/getrpcent_r.c: Likewise.
57446         * inet/getaliasent.c: Likewise.
57447         * inet/getaliasent_r.c: Likewise.
57448         * inet/getaliasname.c: Likewise.
57449         * inet/getaliasname_r.c: Likewise.
57450         * nscd/getgrgid_r.c: Likewise.
57451         * nscd/getgrnam_r.c: Likewise.
57452         * nscd/gethstbyad_r.c: Likewise.
57453         * nscd/gethstbynm3_r.c: Likewise.
57454         * nscd/getpwnam_r.c: Likewise.
57455         * nscd/getpwuid_r.c: Likewise.
57456         * nscd/getsrvbynm_r.c: Likewise.
57457         * nscd/getsrvbypt_r.c: Likewise.
57458         * nscd/gai.c: Likewise.
57460         * configure.in (build_nscd): New substituted variable, set
57461         by --disable-build-nscd and defaults to $use_nscd.
57462         * configure: Regenerated.
57463         * config.make.in (build-nscd): New substituted variable.
57464         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57465         Change conditional to require [$(build-nscd) = yes] as well.
57466         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57468         [BZ# 13696]
57469         * configure.in (use_nscd): New substituted variable, set by
57470         --disable-nscd.  If enabled, define USE_NSCD.
57471         * configure: Regenerated.
57472         * config.h.in: Add USE_NSCD.
57473         * config.make.in (use-nscd): New substituted variable.
57474         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57475         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57476         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57477         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57478         (CFLAGS-getgrnam_r.c): Likewise.
57479         (CFLAGS-initgroups.c): Likewise.
57480         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57481         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57482         Variables removed.
57483         * inet/getnetgrent_r.c
57484         (nscd_setnetgrent): New function, broken out of ...
57485         (setnetgrent): ... here.  Call it.
57486         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57487         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57488         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57489         * nscd/Makefile (routines, aux): Move definitions after include of
57490         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57491         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57492         Conditionalize on [USE_NSCD].
57493         (is_nscd, nscd_init_cb): Likewise.
57494         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57495         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57496         * nss/nss_db/db-init.c: Likewise.
57497         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57498         [USE_NSCD].
57499         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57500         (make_request): Use it.
57501         (cache_valid_p): New function.
57502         (__check_pf): Use it.
57503         * NEWS: Add item for --disable-nscd.
57505 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57507         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57508         to support sed >= 4.2.1-20-ga9bf076.
57509         * configure: Regenerated.
57511 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57513         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57514         Conditionalize whole body on [IREL].
57516 2012-08-22  Jeff Law <law@redhat.com>
57518         [BZ #14505]
57519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57520         if the family is PF_UNSPEC.
57522 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57524         * Makerules (lib-version): Rename from V.
57525         (install-lib-nosubdir): Change V to lib-version.
57527 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57529         [BZ #14252]
57530         * powerpc32/power6/wcschr.c: New file.
57531         * powerpc32/power6/wcscpy.c: New file.
57532         * powerpc32/power6/wcsrchr.c: New file.
57533         * powerpc64/power6/wcschr.c: New file.
57534         * powerpc64/power6/wcscpy.c: New file.
57535         * powerpc64/power6/wcsrchr.c: New file.
57537 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57539         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57540         (two_way_short_needle): Use it.
57541         * string/strstr.c (AVAILABLE1_USES_J): Define.
57542         * string/strcasestr.c: Likewise.
57544         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57545         array references.
57546         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57548         [BZ #11607]
57549         * NEWS: Add an entry.
57550         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57551         define their defaults.
57552         (two_way_short_needle): Detect end-of-string on-the-fly.
57553         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57554         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57555         * string/bug-strcasestr1.c: New test.
57556         * string/Makefile: Run it.
57558 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57560         [BZ #11607]
57561         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57562         the first character.
57564 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57566         * csu/elf-init.c (__libc_csu_irel): Function removed.
57567         * csu/libc-start.c (apply_irel): New function.
57568         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57570 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57572         * sysdeps/unix/sysv/linux/kernel-features.h
57573         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57574         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57575         <kernel-features.h>.
57576         [__NR_fadvise64_64]: Make code unconditional.
57577         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57578         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57579         !__NR_fadvise64_64)]: Likewise.
57580         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57581         !__NR_fadvise64_64))]: Likewise.
57582         [__NR_fadvise64]: Make code unconditional.
57583         [!__NR_fadvise64]: Remove conditional code.
57584         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57585         <kernel-features.h>.
57586         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57587         unconditional.
57588         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57589         conditional code.
57590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57591         not include <kernel-features.h>.
57592         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57593         unconditional.
57594         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57595         conditional code.
57596         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57597         include <kernel-features.h>.
57598         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57599         unconditional.
57600         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57601         conditional code.
57603 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57605         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57606         slight instruction rearrangements per scrollpipe analysis.
57607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57609 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57611         * manual/syslog.texi (syslog; vsyslog, closelog):
57612         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57613         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57615         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57616         DSOCAPS to match condition on defining it.
57618 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57620         * sysdeps/unix/sysv/linux/kernel-features.h
57621         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57623         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57624         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57626         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57627         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57629         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57630         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57632         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57633         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57635         * sysdeps/unix/sysv/linux/kernel-features.h
57636         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57637         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57638         unconditional.
57639         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57640         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57641         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57642         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57643         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57644         Make code unconditional.
57645         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57646         (__mmap64) [!__NR_mmap2]: Likewise.
57647         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57648         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57649         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57650         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57651         [__NR_mmap2]: Make code unconditional.
57652         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57653         (__mmap64) [!__NR_mmap2]: Likewise.
57655 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57657         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57659 2012-08-18  Andreas Jaeger  <aj@suse.de>
57661         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57663 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57665         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57666         * include/unistd.h (__have_sock_cloexec): Likewise.
57667         (__have_pipe2): Likewise.
57668         (__have_dup3): Likewise.
57670 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57672         [BZ #9685]
57673         * include/unistd.h (__have_pipe2): Change define into an extern int.
57674         (__have_dup3): Likewise.
57675         * socket/have_sock_cloexec.c: Include fcntl.h.
57676         (__have_pipe2): New variable.
57677         (__have_dup3): Likewise.
57679 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57681         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57683 2012-08-17  Marek Polacek  <polacek@redhat.com>
57685         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57686         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57688 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57690         * configure.in: Add AC_SUBST for sysheaders.
57691         * configure: Regenerated.
57692         * config.make.in (sysheaders): New substituted variable.
57694         * sysdeps/unix/mkfifo.c: Moved ...
57695         * sysdeps/posix/mkfifo.c: ... here.
57696         * sysdeps/unix/mkfifoat.c: Moved ...
57697         * sysdeps/posix/mkfifoat.c: ... here.
57699         * sysdeps/unix/utime.c: Moved ...
57700         * sysdeps/posix/utime.c: ... here.
57702         * sysdeps/unix/time.c: Moved ...
57703         * sysdeps/posix/time.c: ... here.
57704         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57705         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57707         * sysdeps/unix/nice.c: Moved ...
57708         * sysdeps/posix/nice.c: ... here.
57710         * sysdeps/unix/alarm.c: Moved ...
57711         * sysdeps/posix/alarm.c: ... here.
57713         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57715 2012-08-17  Jeff Law <law@redhat.com>
57717         * intl/Makefile (codeset_mo): New variable.
57718         ($(codeset_mo)): New target.
57719         (tst-codeset.out): Depend on that.  Remove explicit rule.
57720         (tst-gettext3.out, tst-gettext5.out): Likewise.
57721         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57722         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57723         * intl/tst-codeset.sh: Remove.
57724         * intl/tst-gettext3.sh: Likewise.
57725         * intl/tst-gettext5.sh: Likewise.
57727 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57729         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57730         * sysdeps/unix/syscalls.list: ... here.
57732         * sysdeps/posix/getaddrinfo.c
57733         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57734         (gaiconf_init, gaiconf_reload): Use them.
57735         [!_STATBUF_ST_NSEC]
57736         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57737         Define using time_t rather than struct timespec.
57739         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57740         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57741         Macros removed.
57742         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57743         [!NO_THREADS].
57744         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57745         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57746         Likewise.
57748         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57749         __libc_cleanup_push argument.
57751         * bits/param.h: New file.
57752         * misc/sys/param.h: New file.
57753         * include/sys/param.h: New file.
57754         * misc/Makefile (headers): Add bits/param.h.
57755         * sysdeps/generic/sys/param.h: File removed.
57756         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57757         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57758         * sysdeps/mach/hurd/bits/param.h: New file.
57759         * sysdeps/mach/hurd/sys/param.h: File removed.
57761         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57762         last change.
57764         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57765         [_IO_MTSAFE_IO].
57766         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57767         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57768         New macros.
57770         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57771         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57772         rather than -D_IO_MTSAFE_IO conditionally.
57773         * stdio-common/Makefile (CPPFLAGS): Likewise.
57774         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57775         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57776         Use $(libio-mtsafe).
57777         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57778         of -D_IO_MTSAFE_IO.
57779         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57780         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57781         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57782         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57783         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57784         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57785         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57786         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57787         (CFLAGS-fread_u_chk.c): Likewise.
57788         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57789         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57790         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57791         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57792         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57793         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57794         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57795         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57796         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57798         * libio/Makefile: Test [$(libc-reentrant) = yes]
57799         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57801         * Makeconfig
57802         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57803         * sysdeps/pthread/configure: File removed.
57804         * sysdeps/pthread/Makeconfig: New file.
57805         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57806         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57808 2012-08-16  Gary Benson  <gbenson@redhat.com>
57810         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57811         unmapping the first object in a namespace.
57813 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57815         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57816         (__internal_setnetgrent): ... this.  Add internal_function to
57817         definition.  Add libc_hidden_def.
57818         (setnetgrent): Update caller.
57819         (internal_endnetgrent): Renamed to ...
57820         (__internal_endnetgrent): ... this.  Add internal_function to
57821         definition.  Add libc_hidden_def.
57822         (endnetgrent): Update caller.
57823         (internal_getnetgrent_r): Renamed to ...
57824         (__internal_getnetgrent_r): ... this.  Add internal_function to
57825         definition.  Add libc_hidden_def.
57826         (__getnetgrent_r): Update caller.
57827         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57829 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57831         * stdlib/longlong.h: Update from GCC.
57833 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57835         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57836         on _QL, which is set by umul_ppmm but never used.
57837         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57838         variables, which are set by GMP macros but never used.
57839         * stdio-common/_itowa.c (_itowa): Likewise.
57840         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57841         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57843 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57845         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57846         struct La_sh_regs is not constant.
57847         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57848         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57849         and struct La_sparc64_regs are not constant.
57851 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57853         * sysdeps/unix/sysv/linux/kernel-features.h
57854         (__ASSUME_POSIX_TIMERS): Remove.
57855         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57856         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57857         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57858         Make code unconditional.
57859         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57860         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57861         Make code unconditional.
57862         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57863         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57864         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57865         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57866         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57867         Make code unconditional.
57868         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57869         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57870         (__libc_missing_posix_timers): Remove.
57872 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57874         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57875         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57877         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57879         * elf/dl-sym.c: Include <stdlib.h>.
57881         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57882         constants, which avoids warnings in 32-bit builds.
57884         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57885         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57887         * misc/lseek.c: File moved to ...
57888         * io/lseek.c: ... here.
57890         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57892         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57893         shifting LEN more than 31 bits at once.
57895 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57897         [BZ #14195]
57898         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57899         segmentation fault for a case of two empty input strings.
57900         * string/test-strncasecmp.c (check1): Renamed to...
57901         (bz12205): ...this.
57902         (bz14195): Add new testcase for two empty input strings and N > 0.
57903         (test_main): Call new testcase, adapt for renamed function.
57905 2012-08-15  Andreas Jaeger  <aj@suse.de>
57907         [BZ #14090]
57908         * crypt/md5test2.c: New test, based on test supplied by Serge
57909         Belyshev <belyshev@depni.sinp.msu.ru>.
57910         * crypt/Makefile (xtests): Add md5test-giant..
57911         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57913 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57915         [BZ #14090]
57916         * crypt/md5.c (md5_process_block): Don't assume the buffer
57917         length is less than 2**32.
57918         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57919         length is less than 2**64.
57921 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57923         * string/str-two-way.h: Include <sys/param.h>.
57924         (MAX): Macro removed.
57926         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57927         Move #define and #undef of memmove to just before and after
57928         including <string.h>.
57930         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57931         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57932         and after including <string.h>.  Move declarations of
57933         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57934         to before #include "string/memmove.c".
57936         * include/dirent.h: Declare __getdirentries.
57938         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57939         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57941 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57943         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57944         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57945         * sysdeps/i386/configure: Regenerated.
57946         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57947         STABS_CURRENT_FILE, and STABS_FUN.
57948         (END): Remove call to STABS_FUN_END.
57949         (STABS_CURRENT_FILE1): Delete.
57950         (STABS_CURRENT_FILE): Likewise.
57951         (STABS_FUN): Likewise.
57952         (STABS_FUN_END): Likewise.
57953         (STABS_FUN2): Likewise.
57954         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57955         * sysdeps/x86_64/configure: Regenerated.
57957 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57959         * elf/dl-open.c: Include <atomic.h>.
57960         * elf/dl-lookup.c: Likewise.
57962 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57964         * sysdeps/unix/sysv/linux/kernel-features.h
57965         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57966         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57967         unconditionally.
57968         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57969         unconditionally.
57970         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57971         condition on __ASSUME_CLONE_THREAD_FLAGS.
57973 2012-08-14  Andreas Jaeger  <aj@suse.de>
57975         * sysdeps/i386/fpu/libm-test-ulps: Update.
57977 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57979         * include/atomic.h (atomic_exchange_and_add): Split into ...
57980         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57981         New atomic macros.
57983 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57987 2012-08-13  Jeff Law <law@redhat.com>
57989         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57990         null byte in the output string.
57992 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57994         * sysdeps/unix/sysv/linux/kernel-features.h
57995         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57996         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57997         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57998         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57999         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58000         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58001         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58003 2012-08-09  Jeff Law <law@redhat.com>
58005         [BZ #13939]
58006         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58007         When avoid_arena is set, don't retry in the that arena.  Pick the
58008         next one, whatever it might be.
58009         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58010         (arena_lock): Pass in new parameter to arena_get2.
58011         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58012         arena_get2.
58013         (__libc_malloc): Unify retrying after main arena failure with
58014         __libc_memalign version.
58015         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58017 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58019         [BZ #14166]
58020         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58021         to __redirect_strstr.
58022         (__strstr_sse42): Use typeof __redirect_strstr.
58023         (__strstr_ia32): Likewise.
58024         (__libc_strstr): New prototype.
58025         (strstr): Renamed to ...
58026         (__libc_strstr): This.
58027         (strstr): New strong alias of __libc_strstr.
58028         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58029         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58030         __redirect_time.
58031         Include <time.h>.
58032         (__libc_time): New prototype.
58033         (time_ifunc): Replace time with __libc_time.
58034         (time): New strong alias and hidden definition of __libc_time.
58035         (__GI_time): Remove strong alias.
58036         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58037         Include <stddef.h>.
58038         (memmove): Redefined to __redirect_memmove.
58039         (__memmove_sse2): Use typeof __redirect_memmove.
58040         (__memmove_ssse3): Likewise.
58041         (__memmove_ssse3_back): Likewise.
58042         (__libc_memmove): New prototype.
58043         (memmove): Renamed to ...
58044         (__libc_memmove): This.
58045         (memmove): New strong alias of __libc_memmove.
58047 2012-08-08  Mark Salter  <msalter@redhat.com>
58049         * elf/elf.h
58050         (R_MN10300_TLS_GD): Define.
58051         (R_MN10300_TLS_LD): Likewise.
58052         (R_MN10300_TLS_LDO): Likewise.
58053         (R_MN10300_TLS_GOTIE): Likewise.
58054         (R_MN10300_TLS_IE): Likewise.
58055         (R_MN10300_TLS_LE): Likewise.
58056         (R_MN10300_TLS_DTPMOD): Likewise.
58057         (R_MN10300_TLS_DTPOFF): Likewise.
58058         (R_MN10300_TLS_TPOFF): Likewise.
58059         (R_MN10300_SYM_DIFF): Likewise.
58060         (R_MN10300_ALIGN): Likewise.
58061         (R_MN10300_NUM): Update.
58063 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58066         Remove.
58068 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58070         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58072         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58073         sysdeps/unix -> sysdeps/posix move.
58074         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58076 2012-08-07      Allan McRae     <allan@archlinux.org>
58078         [BZ #14303]
58079         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58080         (SUNOS_CPP): Likewise.
58081         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58082         not found.
58083         (open_input): Call CPP using execvp.
58085 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58087         * sysdeps/unix/sysv/linux/kernel-features.h
58088         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58089         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58090         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58091         (__ASSUME_WAITID_SYSCALL): Likewise.
58092         * sysdeps/unix/sysv/linux/dl-execstack.c
58093         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58094         code unconditional.
58095         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58096         conditional code.
58097         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58098         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58099         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58100         code.
58101         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58102         unconditional.
58103         [__ASSUME_WAITID_SYSCALL]: Likewise.
58104         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58106 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58108         * sysdeps/unix/closedir.c: Renamed to ...
58109         * sysdeps/posix/closedir.c: ... here.
58110         * sysdeps/unix/dirfd.c: Renamed to ...
58111         * sysdeps/posix/dirfd.c: ... here.
58112         * sysdeps/unix/dirstream.h: Renamed to ...
58113         * sysdeps/posix/dirstream.h: ... here.
58114         * sysdeps/unix/fdopendir.c: Renamed to ...
58115         * sysdeps/posix/fdopendir.c: ... here.
58116         * sysdeps/unix/opendir.c: Renamed to ...
58117         * sysdeps/posix/opendir.c: ... here.
58118         * sysdeps/unix/readdir.c: Renamed to ...
58119         * sysdeps/posix/readdir.c: ... here.
58120         * sysdeps/unix/readdir_r.c: Renamed to ...
58121         * sysdeps/posix/readdir_r.c: ... here.
58122         * sysdeps/unix/rewinddir.c: Renamed to ...
58123         * sysdeps/posix/rewinddir.c: ... here.
58124         * sysdeps/unix/seekdir.c: Renamed to ...
58125         * sysdeps/posix/seekdir.c: ... here.
58126         * sysdeps/unix/telldir.c: Renamed to ...
58127         * sysdeps/posix/telldir.c: ... here.
58128         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58129         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58130         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58131         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58133         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58134         * bits/fcntl.h: ... here.
58136         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58137         not 0.
58138         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58139         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58140         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58141         (struct flock): Move l_start, l_len to the beginning.
58142         Use __pid_t for l_pid.
58143         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58144         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58145         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58146         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58147         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58148         [__USE_LARGEFILE64] (struct flock64): New type.
58149         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58151         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58152         * bits/dirent.h: ... here.
58154         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58155         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58157 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58159         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58160         Change from 2.6.0 to 2.6.16.
58161         * sysdeps/unix/sysv/linux/configure: Regenerated.
58162         * sysdeps/unix/sysv/linux/kernel-features.h
58163         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58164         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58165         version.
58166         (__ASSUME_UTIMES): Likewise.
58167         (__ASSUME_CLONE_STOPPED): Remove.
58168         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58169         architectures, not kernel version.
58170         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58171         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58172         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58173         (__ASSUME_WAITID_SYSCALL): Likewise.
58174         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58175         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58176         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58177         refer to older versions.
58179 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58181         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58182         Define alphasort64 as an alias.
58183         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58184         Define versionsort64 as an alias.
58185         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58186         Define scandir64 as an alias.
58187         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58188         Define scandirat64 as an alias.
58189         * dirent/alphasort64.c (alphasort64):
58190         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58191         * dirent/versionsort64.c: Likewise.
58192         * dirent/scandir64.c: Likewise.
58193         * dirent/scandirat64.c: Likewise.
58194         * sysdeps/wordsize-64/alphasort.c: File removed.
58195         * sysdeps/wordsize-64/alphasort64.c: File removed.
58196         * sysdeps/wordsize-64/scandir.c: File removed.
58197         * sysdeps/wordsize-64/scandir64.c: File removed.
58198         * sysdeps/wordsize-64/scandirat.c: File removed.
58199         * sysdeps/wordsize-64/scandirat64.c: File removed.
58200         * sysdeps/wordsize-64/versionsort.c: File removed.
58201         * sysdeps/wordsize-64/versionsort64.c: File removed.
58202         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58203         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58204         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58205         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58206         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58207         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58208         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58209         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58211         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58212         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58213         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58214         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58215         [defined __arch64__ || defined __sparcv9]
58216         (__INO_T_MATCHES_INO64_T): New macro.
58217         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58218         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58219         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58220         * sysdeps/unix/sysv/linux/bits/dirent.h
58221         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58222         (_DIRENT_MATCHES_DIRENT64): New macro.
58224         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58225         Define lockf64 as an alias.
58226         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58227         Define fseeko64 as an alias.
58228         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58229         Define ftello64 as an alias.
58230         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58231         Define _IO_fgetpos64 and fgetpos64 as aliases.
58232         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58233         Define _IO_fsetpos64 and fsetpos64 as aliases.
58234         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58235         Conditionalize body on this.
58236         * libio/fseeko64.c: Likewise.
58237         * libio/ftello64.c: Likewise.
58238         * libio/iofgetpos64.c: Likewise.
58239         * libio/iofsetpos64.c: Likewise.
58240         * sysdeps/wordsize-64/lockf.c: File removed.
58241         * sysdeps/wordsize-64/lockf64.c: File removed.
58242         * sysdeps/wordsize-64/fseeko.c: File removed.
58243         * sysdeps/wordsize-64/fseeko64.c: File removed.
58244         * sysdeps/wordsize-64/ftello.c: File removed.
58245         * sysdeps/wordsize-64/ftello64.c: File removed.
58246         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58247         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58248         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58249         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58252         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58253         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58254         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58255         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58256         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58257         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58258         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58259         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58261         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58262         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58263         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58264         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58265         [defined __arch64__ || defined __sparcv9]
58266         (__OFF_T_MATCHES_OFF64_T): New macro.
58267         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58268         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58270         (__OFF_T_MATCHES_OFF64_T): New macro.
58272 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58274         * stdlib/secure-getenv.c (__secure_getenv): Replace
58275         GLIBC_2_16 with GLIBC_2_17.
58277 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58279         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58280         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58282 2012-08-03  David S. Miller  <davem@davemloft.net>
58284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58286 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58288         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58289         Remove.
58290         (__ASSUME_CORRECT_SI_PID): Likewise.
58291         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58292         (__ASSUME_TMPFS_NAME): Likewise.
58293         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58294         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58295         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58296         (HAVE_AUX_SECURE): Make definition unconditional.
58297         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58298         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58300 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58302         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58303         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58304         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58305         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58306         __eloop_threshold instead of SYMLOOP_MAX.
58308         * sysdeps/generic/eloop-threshold.h: New file.
58309         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58310         of MAXSYMLINKS.
58311         * elf/chroot_canon.c (chroot_canon): Likewise.
58313 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58315         [BZ #13717]
58316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58317         Change to 2.6.0 everywhere.
58318         * sysdeps/unix/sysv/linux/configure: Regenerated.
58319         * sysdeps/unix/sysv/linux/kernel-features.h
58320         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58321         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58322         kernel versions.
58323         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58324         (__ASSUME_FUTEX_REQUEUE): Remove.
58325         (__ASSUME_STATFS64): Define unconditionally.
58326         (__ASSUME_AT_SECURE): Likewise.
58327         (__ASSUME_CORRECT_SI_PID): Likewise.
58328         (__ASSUME_TGKILL): Define without depending on kernel version for
58329         i386.
58330         (__ASSUME_UTIMES): Likewise.
58331         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58332         kernel version.
58333         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58334         (__ASSUME_TMPFS_NAME): Likewise.
58335         * README: Update reference to Linux kernel versions.
58337 2012-08-02  Marek Polacek  <polacek@redhat.com>
58339         [BZ# 14150]
58340         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58341         libc_cv_asm_type_prefix with %.
58342         * configure: Regenerated.
58343         * include/libc-symbols.h: Remove comment about
58344         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58345         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58346         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58347         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58348         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58349         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58350         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58351         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58352         * elf/tst-unique2mod1.c: Likewise.
58353         * elf/tst-unique1mod2.c: Likewise.
58354         * elf/tst-unique1mod1.c: Likewise.
58355         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58356         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58357         Replace ASM_TYPE_DIRECTIVE with .type.
58358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58359         * sysdeps/i386/sysdep.h: Likewise.
58360         * sysdeps/x86_64/sysdep.h: Likewise.
58361         * sysdeps/sh/sysdep.h: Likewise.
58362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58363         Do not define ASM_TYPE_DIRECTIVE.
58364         * sysdeps/powerpc/sysdep.h: Likewise.
58365         * sysdeps/powerpc/powerpc32/sysdep.h:
58366         Replace ASM_TYPE_DIRECTIVE with .type.
58367         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58368         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58369         * sysdeps/i386/fpu/e_powf.S: Likewise.
58370         * sysdeps/i386/fpu/e_expl.S: Likewise.
58371         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58372         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58373         * sysdeps/i386/fpu/e_pow.S: Likewise.
58374         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58375         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58376         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58377         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58378         * sysdeps/i386/fpu/e_log2.S: Likewise.
58379         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58380         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58381         * sysdeps/i386/fpu/e_powl.S: Likewise.
58382         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58383         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58384         * sysdeps/i386/fpu/e_logl.S: Likewise.
58385         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58386         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58387         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58388         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58389         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58390         * sysdeps/i386/fpu/e_log.S: Likewise.
58391         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58392         * sysdeps/i386/fpu/e_logf.S: Likewise.
58393         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58394         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58395         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58396         * sysdeps/i386/fpu/e_log10.S: Likewise.
58397         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58398         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58399         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58400         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58401         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58402         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58403         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58404         * sysdeps/i386/i686/strtok.S: Likewise.
58405         * sysdeps/i386/i386-mcount.S: Likewise.
58406         * sysdeps/i386/strtok.S: Likewise.
58407         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58408         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58409         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58410         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58411         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58412         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58413         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58414         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58415         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58416         * sysdeps/x86_64/_mcount.S: Likewise.
58417         * sysdeps/x86_64/strtok.S: Likewise.
58418         * sysdeps/sh/_mcount.S: Likewise.
58420 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58422         * libio/iofopen.c: Include <fcntl.h>.
58423         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58424         (_IO_fopen64, fopen64): Define as aliases.
58425         * libio/iofopen64.c: Include <fcntl.h>.
58426         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58427         Conditionalize body on this.
58428         * sysdeps/wordsize-64/iofopen.c: File removed.
58429         * sysdeps/wordsize-64/iofopen64.c: File removed.
58431 2012-08-01  Marek Polacek  <polacek@redhat.com>
58433         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58434         Use dlfcn directly instead of a variable.
58435         (binfmt-subdir): Do not define.
58436         (dlfcn): Likewise.
58438 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58441         Remove all definitions.
58442         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58443         <kernel-features.h>.
58444         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58445         (miss_F_GETOWN_EX): Remove all definitions.
58446         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58447         macro definition.
58448         [!__ASSUME_FCNTL64]: Remove conditional code.
58449         [__ASSUME_FCNTL64]: Make code unconditional.
58450         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58451         <kernel-features.h>.
58452         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58453         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58454         (lockf64) [__NR_fcntl64]: Make code unconditional.
58455         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58457         * sysdeps/unix/sysv/linux/kernel-features.h
58458         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58459         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58460         Make code unconditional.
58461         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58462         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58464         [__NR_vfork]: Make code unconditional.
58465         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58466         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58468         [__NR_vfork]: Make code unconditional.
58469         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58470         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58472 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58474         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58475         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58477         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58478         Define mkstemp64 as an alias.
58479         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58480         Define mkstemps64 as an alias.
58481         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58482         Define mkostemp64 as an alias.
58483         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58484         Define mkostemps64 as an alias.
58485         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58486         Conditionalize body on this.
58487         * misc/mkostemp64.c: Likewise.
58488         * misc/mkostemps64.c: Likewise.
58489         * misc/mkstemps64.c: Likewise.
58490         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58491         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58492         * sysdeps/wordsize-64/mkostemp.c: File removed.
58493         * sysdeps/wordsize-64/mkstemp.c: File removed.
58494         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58495         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58496         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58497         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58499         [BZ #14138]
58500         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58501         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58502         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58503         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58505         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58506         compat_symbol macros from <shlib-compat.h> rather than the underlying
58507         default_symbol_version and symbol_version macros, so that DEFAULT
58508         lines in shlib-versions are respected.
58509         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58511 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58513         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58514         Declare with warn_unused_result.
58515         (setgid, setregid, setegid, setresgid): Likewise.
58516         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58517         Likewise.
58518         * WUR-REPORT: Remove set*id functions.
58520 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58522         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58524 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58526         [BZ #10191]
58527         * include/sys/socket.h (__libc_accept, __libc_accept4):
58528         Add attribute_hidden.
58529         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58531         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58532         use of PTR_MANGLE.
58533         * inet/getnetgrent_r.c (setup): Likewise.
58535         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58537 2012-07-31  David S. Miller  <davem@davemloft.net>
58539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58541 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58543         [BZ #13629]
58544         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58545         value between 1.0 and 2.0 and smaller part has absolute value less
58546         than 1.0.
58547         * math/s_clog10.c (__clog10): Likewise.
58548         * math/s_clog10f.c (__clog10f): Likewise.
58549         * math/s_clog10l.c (__clog10l): Likewise.
58550         * math/s_clogf.c (__clogf): Likewise.
58551         * math/s_clogl.c (__clogl): Likewise.
58552         * math/libm-test.inc (clog_test): Add more tests.
58553         (clog10_test): Likewise.
58554         * sysdeps/i386/fpu/libm-test-ulps: Update.
58555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58557 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58559         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58560         Exit with zero in case no suitable GID is found, and write a
58561         message to standard error.
58563 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58565         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58566         rather than to 1.
58567         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58568         (MAXPATHLEN): Removed.
58569         (NOGROUP, NODEV): New macros.
58570         (setbit, clrbit, isset, isclr): New macros.
58571         (howmany, roundup, powerof2): New macros.
58572         (DEV_BSIZE): New macro.
58574         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58575         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58577         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58578         definition on [!__NO_LONG_DOUBLE_MATH].
58580         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58581         PTR_MANGLE and PTR_DEMANGLE.
58583         * socket/accept4.c (accept4): Rename to __libc_accept4.
58584         Define accept4 as a weak alias.
58586         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58587         on [_DIRENT_HAVE_D_TYPE].
58588         * io/ftw.c (ftw_dir): Likewise.
58590         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58592         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58594         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58595         Use the BSD numbers rather than the arbitrary ones we had.
58596         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58597         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58598         (SIGXCPU, SIGXFSZ): New macros.
58599         (_NSIG): Now 32.
58601         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58602         initializer on [_LIBC_REENTRANT].
58604         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58605         definitions inside [_POSIX_MAPPED_FILES].
58607         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58609         * dirent/opendir.c: Include <fcntl.h>.
58611         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58612         (__libc_getspecific): Likewise.
58613         (__libc_key_create): Likewise.
58615         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58616         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58617         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58618         (tmpfile64): Define as alias.
58619         * sysdeps/wordsize-64/tmpfile.c: File removed.
58620         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58621         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58622         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58624         * stdio-common/vfscanf.c: Include <stdbool.h>.
58625         * nss/makedb.c: Likewise.
58626         * stdio-common/_i18n_number.h: Likewise.
58627         * argp/argp-help.c: Likewise.
58628         * posix/wordexp.c: Likewise.
58629         * sysdeps/posix/spawni.c: Likewise.
58630         * nss/nss_files/files-initgroups.c: Likewise.
58631         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58632         * nss/nss_files/files-initgroups.c: Likewise.
58633         * nss/nss_db/db-netgrp.c: Likewise.
58634         * nss/nss_db/db-initgroups.c: Likewise.
58635         * io/fchmodat.c: Include <sys/stat.h>.
58637         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58638         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58640         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58641         [HAVE_MMAP].
58643         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58644         Add multiple inclusion protection.
58646 2012-07-27  David S. Miller  <davem@davemloft.net>
58648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58650 2012-07-27  Gary Benson  <gbenson@redhat.com>
58652         [BZ #14298]
58653         * elf/rtld.c: Include <stap-probe.h>.
58654         (dl_main): Added static probes "init_start" and "init_complete".
58655         * elf/dl-load.c: Include <stap-probe.h>.
58656         (lose): Take new parameter "nsid".
58657         Added static probe "map_failed".
58658         (_dl_map_object_from_fd): Pass namespace id to lose.
58659         Added static probe "map_start".
58660         (open_verify): Pass namespace id to lose.
58661         * elf/dl-open.c: Include <stap-probe.h>.
58662         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58663         and "reloc_complete".
58664         * elf/dl-close.c: Include <stap-probe.h>.
58665         (_dl_close_worker): Added static probes "unmap_start" and
58666         "unmap_complete".
58667         * elf/rtld-debugger-interface.txt: New file documenting the above.
58669 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58671         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58672         rather than a string variable.
58673         * sunrpc/rpc_main.c (h_output): Likewise.
58674         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58676 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58678         * inet/check_native.c: New file.
58680 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58682         [BZ #13629]
58683         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58684         if larger part has absolute value 1.0.
58685         * math/s_clog10.c (__clog10): Likewise.
58686         * math/s_clog10f.c (__clog10f): Likewise.
58687         * math/s_clog10l.c (__clog10l): Likewise.
58688         * math/s_clogf.c (__clogf): Likewise.
58689         * math/s_clogl.c (__clogl): Likewise.
58690         * math/libm-test.inc (clog_test): Add more tests.
58691         (clog10_test): Likewise.
58692         * sysdeps/i386/fpu/libm-test-ulps: Update.
58693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58695         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58696         (pltexit): Likewise.
58697         (La_regs): Likewise.
58698         (La_retval): Likewise.
58699         (int_retval): Likewise.
58700         Update #error for removed macros to refer only to definitions in
58701         tst-audit.h.
58702         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58703         macro.
58704         (pltexit): Likewise.
58705         (La_regs): Likewise.
58706         (La_retval): Likewise.
58707         (int_retval): Likewise.
58708         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58709         macro.
58710         (pltexit): Likewise.
58711         (La_regs): Likewise.
58712         (La_retval): Likewise.
58713         (int_retval): Likewise.
58714         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58715         macro.
58716         (pltexit): Likewise.
58717         (La_regs): Likewise.
58718         (La_retval): Likewise.
58719         (int_retval): Likewise.
58720         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58721         macro.
58722         (pltexit): Likewise.
58723         (La_regs): Likewise.
58724         (La_retval): Likewise.
58725         (int_retval): Likewise.
58726         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58727         macro.
58728         (pltexit): Likewise.
58729         (La_regs): Likewise.
58730         (La_retval): Likewise.
58731         (int_retval): Likewise.
58732         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58733         macro.
58734         (pltexit): Likewise.
58735         (La_regs): Likewise.
58736         (La_retval): Likewise.
58737         (int_retval): Likewise.
58738         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58739         macro definitions in tst-audit.h.
58740         * sysdeps/i386/tst-audit.h: New file.
58741         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58742         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58743         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58744         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58745         * sysdeps/sh/tst-audit.h: Likewise.
58746         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58747         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58748         * sysdeps/x86_64/tst-audit.h: Likewise.
58750 2012-07-26  Andreas Jaeger  <aj@suse.de>
58752         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58753         ptrace.
58755         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58756         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58757         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58758         PTRACE_O_MASK.
58759         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58760         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58761         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58763         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58764         value.
58766         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58767         _sigsys.
58768         (si_call_addr, si_syscall, si_arch): Define new macro.
58769         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58770         _sigsys.
58771         (si_call_addr, si_syscall, si_arch): Define new marcro.
58772         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58773         _sigsys.
58774         (si_call_addr, si_syscall, si_arch): Define new macro.
58775         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58776         _sigsys.
58777         (si_call_addr, si_syscall, si_arch): Define new macro.
58779 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58781         [BZ #13717]
58782         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58783         Change to 2.4.21 where previously 2.4.1.
58784         * sysdeps/unix/sysv/linux/configure: Regenerated.
58785         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58786         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58787         Linux kernel version.
58788         (__ASSUME_STD_AUXV): Remove.
58789         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58790         kernel version.
58791         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58792         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58793         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58794         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58795         (__ASSUME_NETLINK_SUPPORT): Likewise.
58796         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58797         (__no_netlink_support): Remove conditional definition.
58798         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58799         Remove.
58800         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58801         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58802         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58803         (if_nameindex_ioctl): Remove.
58804         (if_nameindex_netlink): Do not handle __no_netlink_support.
58805         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58806         code.
58807         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58808         Remove conditional code.
58809         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58810         code.
58811         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58812         unconditional.
58813         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58814         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58815         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58816         Remove.
58817         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58818         [!__ASSUME_STD_AUXV]: Remove conditional code.
58819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58820         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58821         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58823         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58824         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58825         code.
58826         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58828         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58829         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58830         conditional code.
58831         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58833         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58834         code.
58835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58836         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58837         conditional code.
58838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58839         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58840         code unconditional.
58841         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58842         conditional code.
58843         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58844         unconditional.
58845         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58846         conditional code.
58847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58848         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58849         unconditional.
58850         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58851         conditional code.
58852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58853         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58854         code unconditional.
58855         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58856         conditional code.
58857         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58858         unconditional.
58859         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58860         conditional code.
58861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58862         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58863         code unconditional.
58864         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58865         conditional code.
58866         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58867         unconditional.
58868         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58869         conditional code.
58871 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58873         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58874         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58875         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58876         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58877         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58878         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58879         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58880         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58881         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58882         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58883         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58884         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58885         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58886         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58887         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58888         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58889         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58891         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58893         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58894         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58897 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58899         * Versions.def: Add GLIBC_2.17.
58900         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58901         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58902         Introduce __libc_secure_getenv.
58903         * stdlib/Versions (2.17): Add secure_getenv
58904         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58905         * stdlib/secure-getenv.c: Rename __secure_getenv to
58906         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58907         symbol __secure_getenv for GLIBC_2.0.
58908         * stdlib/tst-secure-getenv.c: New.
58909         * stdlib/Makefile (tests): Add testcase.
58910         * manual/startup.texi (Environment Access): Document
58911         secure_getenv.
58912         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58913         __libc_secure_getenv.
58914         * inet/ruserpass.c (ruserpass): Likewise.
58915         * malloc/mtrace.c (mtrace): Likewise.
58916         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58917         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58918         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58919         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58920         HAVE_SECURE_GETENV.
58921         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58922         __secure_getenv to __libc_secure_getenv.
58923         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58925         Likewise.
58926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58927         Likewise.
58928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58930         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58936 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58938         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58939         (struct La_i86_retval): Likewise.
58940         (struct La_x86_64_regs): Likewise.
58941         (struct La_x86_64_retval): Likewise.
58942         (struct La_x32_regs): Likewise.
58943         (struct La_x32_retval): Likewise.
58944         (struct La_ppc32_regs): Likewise.
58945         (struct La_ppc32_retval): Likewise.
58946         (struct La_ppc64_regs): Likewise.
58947         (struct La_ppc64_retval): Likewise.
58948         (struct La_sh_regs): Likewise.
58949         (struct La_sh_retval): Likewise.
58950         (struct La_s390_32_regs): Likewise.
58951         (struct La_s390_32_retval): Likewise.
58952         (struct La_s390_64_regs): Likewise.
58953         (struct La_s390_64_retval): Likewise.
58954         (struct La_sparc32_regs): Likewise.
58955         (struct La_sparc32_retval): Likewise.
58956         (struct La_sparc64_regs): Likewise.
58957         (struct La_sparc64_retval): Likewise.
58958         (struct audit_ifaces): Remove architecture-specific pltenter and
58959         pltexit members.
58960         * sysdeps/i386/ldsodefs.h: New file.
58961         * sysdeps/powerpc/ldsodefs.h: Likewise.
58962         * sysdeps/s390/ldsodefs.h: Likewise.
58963         * sysdeps/sh/ldsodefs.h: Likewise.
58964         * sysdeps/sparc/ldsodefs.h: Likewise.
58965         * sysdeps/x86_64/ldsodefs.h: Likewise.
58967 2012-07-25  Marek Polacek  <polacek@redhat.com>
58969         [BZ #6808]
58970         * math/libm-test.inc (yn_test): Add another test.
58971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58972         to ERANGE when the result is +-Inf.
58973         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58974         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58975         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58976         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58978 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58980         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58981         equal to 0.
58982         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58983         clock_t.
58984         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58986 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58988         * configure.in <sysdeps resolving>: Correct printing
58989         Implies_before.
58990         * configure: Regenerate.
58992 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58994         * math/w_ilogb.c: Include <limits.h>.
58995         * math/w_ilogbl.c: Likewise.
58997 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58999         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59000         va_copy.  Document allowing for unavailable va_copy only as
59001         pre-C99 compatibility.
59002         * manual/string.texi (Copying and Concatenation): Use va_copy
59003         instead of __va_copy in concat example.
59005 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59007         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59008         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59009         it if not null.
59011         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59012         with O_NOLINK passed to __file_name_lookup.
59014         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59015         with O_NOLINK passed to __file_name_lookup.
59017         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59018         negative N or less than NGIDS.
59020         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59021         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59022         enough.  Use memcpy instead of strncpy.
59024 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59026         * elf/Makefile (check-data): Remove.
59027         (localplt.data): New vpath directive.
59028         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59029         instead of $(check-data).
59030         * scripts/data/localplt-generic.data: Move to ...
59031         * sysdeps/generic/localplt.data: ... here.
59032         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59033         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59034         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59036         ... here.
59037         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59039         ... here.
59040         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59042         ... here.
59043         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59045         ... here.
59046         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59048         ... here.
59049         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59051         ... here.
59053 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59055         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59056         PPC32 and PPC64 files.
59057         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59058         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59060 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59062         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59063         __makecontext_ret to ...
59064         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59065         ... here and call exit if uc_link is NULL.  New file.
59066         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59067         __makecontext_ret.S.
59068         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59069         __makecontext_ret to ...
59070         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59071         ... here and call exit if uc_link is NULL.  New file.
59072         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59073         __makecontext_ret.S.
59075 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59077         * elf/elf.h (R_390_IRELATIVE): New definition.
59078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59079         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59080         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59081         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59082         (elf_machine_lazy_rel): Likewise.
59083         * sysdeps/s390/dl-irel.h: New file.
59084         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59085         * sysdeps/s390/s390-64/memset.S: New asm code.
59086         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59087         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59088         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59089         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59090         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59091         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59092         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59093         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59094         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59095         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59096         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59097         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59098         * sysdeps/s390/s390-32/memset.S: New asm code.
59099         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59101 2012-07-17  Marek Polacek  <polacek@redhat.com>
59103         [BZ #14349]
59104         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59105         * sysdeps/s390/s390-64/configure.in: Likewise.
59106         * sysdeps/sparc/configure.in: Likewise.
59107         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59108         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59109         * sysdeps/i386/configure.in: Likewise.
59110         * sysdeps/x86_64/configure.in: Likewise.
59111         * sysdeps/sh/configure.in: Likewise.
59112         * sysdeps/s390/s390-32/configure: Regenerated.
59113         * sysdeps/s390/s390-64/configure: Likewise.
59114         * sysdeps/x86_64/configure: Likewise.
59115         * sysdeps/sh/configure: Likewise.
59116         * sysdeps/powerpc/powerpc64/configure: Likewise.
59117         * sysdeps/powerpc/powerpc32/configure: Likewise.
59118         * sysdeps/sparc/configure: Likwise.
59119         * sysdeps/i386/configure: Likewise.
59121         * elf/dl-open.c: Comment fixes.
59123 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59125         * Makefile [CXX] (check-data): Remove.
59126         [CXX] (c++-types.data): New vpath directive.
59127         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59128         vpath.  Do not allow for C++ type data being missing.
59129         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59130         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59131         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59132         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59133         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59134         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59135         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59137         ... here.
59138         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59140         ... here.
59141         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59143         ... here.
59144         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59146         ... here.
59147         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59149         ... here.
59150         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59152         ... here.
59153         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59155         ... here.
59156         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59159         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59160         definitions to architecture-specific files.
59161         (TLS_IE): Likewise.
59162         (TLS_LD): Likewise.
59163         (TLS_GD): Likewise.
59164         * sysdeps/i386/tls-macros.h: New file.
59165         * sysdeps/powerpc/tls-macros.h: Likewise.
59166         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59167         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59168         * sysdeps/sh/tls-macros.h: Likewise.
59169         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59170         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59171         * sysdeps/x86_64/tls-macros.h: Likewise.
59173 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59175         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59176         zero value for regular exit case.
59178         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59179         (__start_context): Preserve zero value for regular exit case.
59181 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59182             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59184         * manual/setjmp.texi (setcontext): Clarify normal process
59185         termination when uc_link is the null pointer.
59186         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59187         exit call.
59189 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59191         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59192         preprocessor.  Test for each exception mask separately.
59194 2012-07-16  Andreas Jaeger  <aj@suse.de>
59196         * po/ru.po: Update from translation team.
59198 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59200         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59201         equal to 0.
59202         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59203         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59204         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59205         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59206         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59208 2012-07-13  Andreas Jaeger  <aj@suse.de>
59210         * po/fr.po: Update from translation team.
59212 2012-07-12  Marek Polacek  <polacek@redhat.com>
59214         [BZ #14173]
59215         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59216         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59217         loop condition.
59219 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59221         [BZ #13717]
59222         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59223         Change to 2.4.1 where previously 2.4.0.
59224         * sysdeps/unix/sysv/linux/configure: Regenerated.
59225         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59226         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59227         version.
59228         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59229         (__ASSUME_AT_CLKTCK): Remove.
59230         (__ASSUME_AT_PAGESIZE): Likewise.
59231         (__ASSUME_AT_XID): Likewise.
59232         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59233         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59234         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59235         unconditionally.
59236         (HAVE_AUX_PAGESIZE): Likewise.
59237         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59238         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59239         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59241 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59243         [BZ #14307]
59244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59245         the temporary buffer used to invoke __gethostbyname2_r,
59246         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59247         host_data / struct gaih_addrtuple.
59248         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59249         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59250         header file nss/nsswitch.h.
59251         * nss/nsswitch.h (global scope): Add definition of implementation
59252         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59253         resolv/nss_dns/dns-host.c).
59255 2012-07-11  Andreas Jaeger  <aj@suse.de>
59257         * po/fr.po: Update from translation team.
59259         * po/sv.po: Update from translation team
59260         * po/fr.po: Another update from translation team.
59262 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59265         for subnormals or multiply small sinh result by itself.
59266         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59269 2012-07-11  David S. Miller  <davem@davemloft.net>
59271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59273 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59275         [BZ #14347]
59276         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59277         (INTERNAL_MARK): Shift it here.
59279 2012-07-10  Marek Polacek  <polacek@redhat.com>
59281         [BZ #14151]
59282         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59283         libc_cv_asm_global_directive with .globl.
59284         * configure: Regenerated.
59285         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59286         with .globl.
59287         * sysdeps/i386/configure: Regenerated.
59288         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59289         with .globl.
59290         * sysdeps/x86_64/configure: Regenerated.
59291         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59292         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59293         * elf/tst-unique2mod2.c: Likewise.
59294         * elf/tst-unique2mod1.c: Likewise.
59295         * elf/tst-unique1mod2.c: Likewise.
59296         * elf/tst-unique1mod1.c: Likewise.
59297         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59298         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59299         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59300         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59301         * sysdeps/mach/sysdep.h: Likewise.
59302         * sysdeps/i386/sysdep.h: Likewise.
59303         * sysdeps/i386/i386-mcount.S: Likewise.
59304         * sysdeps/x86_64/_mcount.S: Likewise.
59305         * sysdeps/x86_64/sysdep.h: Likewise.
59306         * sysdeps/sh/_mcount.S: Likewise.
59307         * sysdeps/sh/sysdep.h: Likewise.
59308         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59309         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59310         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59311         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59312         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59313         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59314         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59315         * locale/localeinfo.h: Likewise.
59316         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59317         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59319 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59321         [BZ #14336]
59322         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59323         system".
59324         * manual/message.texi (The Uniforum approach): Likewise.
59325         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59326         (glibc iconv Implementation): Likewise.
59328 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59330         [BZ #14337]
59331         * math/s_clog.c (__clog): Avoid scaling a value down where that
59332         could result in underflow.
59333         * math/s_clog10.c (__clog10): Likewise.
59334         * math/s_clog10f.c (__clog10f): Likewise.
59335         * math/s_clog10l.c (__clog10l): Likewise.
59336         * math/s_clogf.c (__clogf): Likewise.
59337         * math/s_clogl.c (__clogl): Likewise.
59338         * math/libm-test.inc (clog_test): Add more tests.
59339         (clog10_test): Likewise.
59340         * sysdeps/i386/fpu/libm-test-ulps: Update.
59341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59343 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59345         [BZ #14283]
59346         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59347         by 7 not 8 to examine high bit of fractional part.
59349         [BZ #14042]
59350         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59351         for call to __mcount_internal.
59352         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59353         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59354         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59356 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59358         [BZ #14154]
59359         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59360         approximation for values within 0x1p-13f of an odd multiple of
59361         pi/4.
59362         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59363         exception.  Add more tests.
59364         * sysdeps/i386/fpu/libm-test-ulps: Update.
59366         [BZ #6778]
59367         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59368         inputs and return -1 for them.  Do not check for +Inf in case not
59369         reachable for +Inf.
59370         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59371         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59372         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59373         and return -1 for them.  Do not check for +Inf in case not
59374         reachable for +Inf.
59375         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59376         define.
59377         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59378         and return -1 for them.  Do not check for +Inf in case not
59379         reachable for +Inf.
59380         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59381         spurious underflow.
59382         * sysdeps/i386/fpu/libm-test-ulps: Update.
59383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59385 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59387         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59389 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59391         [BZ #14157]
59392         [BZ #14331]
59393         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59394         could result in spurious underflow.  Scale down values above
59395         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59396         * math/s_csqrtf.c (__csqrtf): Likewise.
59397         * math/s_csqrtl.c (__csqrtl): Likewise.
59398         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59399         spurious underflow.
59400         * sysdeps/i386/fpu/libm-test-ulps: Update.
59401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59403 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59405         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59406         xopen-msg.sed.
59407         * catgets/xopen-msg.awk: New file.
59408         * catgets/xopen-msg.sed: Removed.
59410         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59411         po2text.sed.
59412         * intl/po2test.awk: New file.
59413         * intl/po2test.sed: Removed.
59415 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59417         [BZ #14328]
59418         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59419         or multiply small sinh result by itself.
59420         * math/s_ctanf.c (__ctanf): Likewise.
59421         * math/s_ctanh.c (__ctanh): Likewise.
59422         * math/s_ctanhf.c (__ctanhf): Likewise.
59423         * math/s_ctanhl.c (__ctanhl): Likewise.
59424         * math/s_ctanl.c (__ctanl): Likewise.
59425         * math/libm-test.inc (ctan_test_tonearest): New function.
59426         (ctan_test_towardzero): Likewise.
59427         (ctan_test_downward): Likewise.
59428         (ctan_test_upward): Likewise.
59429         (ctanh_test_tonearest): Likewise.
59430         (ctanh_test_towardzero): Likewise.
59431         (ctanh_test_downward): Likewise.
59432         (ctanh_test_upward): Likewise.
59433         (main): Call these new functions.
59434         * sysdeps/i386/fpu/libm-test-ulps: Update.
59435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59437 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59439         * .gitignore: Delete /ports entry.
59441 2012-07-03  Andreas Jaeger  <aj@suse.de>
59443         * po/bg.po: Update from translation team.
59444         * po/cs.po: Likewise.
59445         * po/de.po: Likewise.
59446         * po/hr.po: Likewise.
59447         * po/nl.pl: Likewise.
59448         * po/pl.po: Likewise.
59449         * po/vi.po: Likewise.
59451 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59453         * Makeconfig [!+link] (+link-before-libc): New variable.
59454         [!+link] (+link-after-libc): Likewise.
59455         [!+link] (+link-tests): Likewise.
59456         [!+link] (+link): Define in terms of $(+link-before-libc) and
59457         $(+link-after-libc).
59458         [!+link-static] (+link-static-before-libc): New variable.
59459         [!+link-static] (+link-static-after-libc): Likewise.
59460         [!+link-static] (+link-static-tests): Likewise.
59461         [!+link-static] (+link-static): Define in terms of
59462         $(+link-static-before-libc) and $(+link-static-after-libc).
59463         [build-shared] (link-libc-before-gnulib): New variable.
59464         [build-shared] (link-libc-tests): Likewise.
59465         [build-shared] (link-libc): Define in terms of
59466         $(link-libc-before-gnulib).
59467         [!build-shared] (link-libc-tests): New variable.
59468         (link-libc-static-tests): New variable.
59469         [!gnulib] (gnulib-arch): New variable.
59470         [!gnulib] (gnulib-tests): Likewise.
59471         [!gnulib] (static-gnulib-arch): Likewise.
59472         [!gnulib] (static-gnulib-tests): Likewise.
59473         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59474         Define with "=" instead of ":=".
59475         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59476         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59477         * Rules (binaries-all-notests): New variable.
59478         (binaries-all-tests): Likewise.
59479         (binaries-static-notests): Likewise.
59480         (binaries-static-tests): Likewise.
59481         (binaries-all): Define using $(binaries-all-notests) and
59482         $(binaries-all-tests).
59483         (binaries-static): Define using $(binaries-static-notests) and
59484         $(binaries-static-tests).
59485         (binaries-shared-tests): New variable.
59486         (binaries-shared-notests): Likewise.
59487         (binaries-shared): Remove variable.
59488         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59489         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59490         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59491         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59492         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59493         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59494         * elf/Makefile (sln-modules): New variable.
59495         (extra-objs): Add $(sln-modules:=.o).
59496         (ldconfig-modules): Add static-stubs.
59497         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59498         * elf/static-stubs.c: New file.
59500         [BZ #14283]
59501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59502         by 7 not 8 to examine high bit of fractional part.  Use volatile
59503         variables when splitting into final array of floats if
59504         __FLT_EVAL_METHOD__ != 0.
59505         * math/libm-test.inc (cos_test): Add another test.
59506         (sin_test): Likewise.
59507         * sysdeps/i386/fpu/libm-test-ulps: Update.
59509         [BZ #14273]
59510         * math/libm-test.inc (cosh_test): Add more tests.
59512         * version.h (RELEASE): Set to "development".
59513         (VERSION): Set to "2.16.90".
59515 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59517         * NEWS: Update copyright. Remove last-updated date.
59518         Mention math library bug fixes and timezone data changes.
59519         * README: Mention GNU/Hurd, x32, and HPPA support status.
59521 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59523         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59525 2012-06-27  Andreas Jaeger  <aj@suse.de>
59527         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59529 2012-06-25  Andreas Jaeger  <aj@suse.de>
59531         * sysdeps/s390/fpu/libm-test-ulps: Update.
59533 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59534             Thomas Schwinge  <thomas@codesourcery.com>
59536         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59537         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59539         fanotify_mark.
59541 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59543         * sysdeps/mach/start.c: Remove file.
59544         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59545         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59546         * sysdeps/sh/init-first.c: Likewise.
59548         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59549         registers for frame unwinding purposes, add CFI directives.
59550         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59551         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59552         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59553         Likewise.
59555         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59556         __fortify_fail returning.
59557         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59559         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59560         sysdeps/sh/____longjmp_chk.S.
59561         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59562         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59563         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59564         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59566         * sysdeps/sh/abort-instr.h: New file.
59567         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59568         process in case exit returns.
59570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59571         initialize the GOT register before use.
59573         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59574         calculation of ARGC > 4.
59576         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59577         meaningful names to some local labels.
59579 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59580             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59582         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59583         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59584         (__arch_compare_and_exchange_val_16_acq): Likewise.
59585         (__arch_compare_and_exchange_val_32_acq): Likewise.
59586         (atomic_exchange_and_add): Fix gUSA sequence.
59587         (atomic_add): Likewise.
59588         (atomic_add_negative): Likewise.
59589         (atomic_add_zero): Likewise.
59590         (atomic_bit_test_set): Likewise.
59592 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59594         [BZ #13579]
59595         * include/link.h (struct link_map): Add l_free_initfini.
59596         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59597         l_initfini.
59598         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59599         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59600         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59601         set.
59603 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59605         * configure.in: Use AC_LANG_SOURCE.
59606         * configure: Regenerate.
59608 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59610         * configure.in (libc_cv_localstatedir): New substituted variable.
59611         * configure: Regenerated.
59612         * config.make.in (localstatedir): New variable, substituted from
59613         libc_cv_localstatedir.
59614         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59615         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59616         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59617         * sysdeps/gnu/configure: Regenerated.
59619 2012-06-21  Jeff Law  <law@redhat.com>
59621         [BZ #14277]
59622         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59623         free.  Simplify list management for _LIBC case.
59625 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59627         [BZ #14273]
59628         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59629         Clear sign bit of 64-bit integer value before comparing against
59630         overflow value.
59632         * sysdeps/mach/configure: Regenerated.
59634 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59636         [BZ #14278]
59637         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59639 2012-06-21  Jeff Law  <law@redhat.com>
59641         [BZ #13882]
59642         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59643         uint16_t for elements in the "seen" array to avoid char overflows.
59644         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59645         * elf/dl-open.c (dl_open_worker): Likewise.
59647 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59649         * scripts/list-sources.sh: Scan PORTS for translations.
59650         * po/libc.pot: Regenerated.
59652 2012-06-21  Andreas Jaeger  <aj@suse.de>
59654         [BZ #12194]
59655         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59656         warning.
59657         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59658         * bits/byteswap-16.h (__bswap_16): Likewise.
59659         * bits/byteswap.h (__bswap_constant_16): Likewise.
59661 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59663         [BZ #14117]
59664         * sysdeps/i386/fpu_control.h: Removed.
59665         * sysdeps/x86_64/fpu_control.h: Moved to ...
59666         * sysdeps/x86/fpu_control.h: Here.
59668         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59669         (_FPU_SETCW): Likewise.
59671 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59673         [BZ #14117]
59674         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59675         * sysdeps/x86/fpu/bits/mathinline.h: This.
59676         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59678         [BZ #14050]
59679         [BZ #14117]
59680         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59681         functions if __x86_64__ is defined.
59683 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59685         * string/endian.h: Add !__ASSEMBLER__ condition for including
59686         conversion interfaces.
59688 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59690         [BZ #14241]
59691         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59692         of ABS(x) in calculating zero to negative powers other than odd
59693         integers.
59694         * math/libm-test.inc (pow_test): Add more tests.
59696 2012-06-15  Andreas Jaeger  <aj@suse.de>
59698         * manual/contrib.texi (Contributors): Update entry of Liubov
59699         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59700         Machado Filho.
59702 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59704         * string/string.h: Add __wur to GNU version of strerror_r.
59706 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59708         [BZ #14229]
59709         * string/Makefile (tests): Add tst-strtok_r.
59710         * string/tst-strtok_r.c: New file.
59711         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59712         RAX_LP/RDX_LP on SAVE_PTR.
59714 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59716         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59718 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59720         * libm_test.inc (csqrt_test): Allow more spurious underflow
59721         exceptions.
59722         (j0_test): Likewise.
59723         (j1_test): Likewise.
59724         (y0_test): Likewise.
59725         (y1_test): Likewise.
59727 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59729         * po/Makefile (libc.pot): Use UTF-8 charset.
59731 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59733         [BZ #14210]
59734         Suppress sign-conversion warning from FD_SET.
59735         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59736         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59737         not unsigned long int.
59738         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59740 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59742         [BZ #14050]
59743         [BZ #14117]
59744         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59745         __extern_always_inline instead of __extern_inline.
59746         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59747         (__signbit): Likewise.
59748         (__signbitl): Support C++ namespace.
59749         (lrintf): New inline function.
59750         (lrint): Likewise.
59751         (llrintf): Likewise.
59752         (llrint): Likewise.
59753         (fmaxf): Likewise.
59754         (fmax): Likewise.
59755         (fminf): Likewise.
59756         (fmin): Likewise.
59757         (rint): Likewise.
59758         (rintf): Likewise.
59759         (ceil): Likewise.
59760         (ceilf): Likewise.
59761         (floor): Likewise.
59762         (floorf): Likewise.
59763         (nearbyint): Likewise.
59764         (nearbyintf): Likewise.
59766 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59768         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59769         non-default versions.
59771 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59773         [BZ #14218]
59774         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59776 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59778         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59779         (FE_UPWARD, FE_DOWNWARD): Don't define.
59780         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59781         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59783         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59784         reading it.
59785         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59786         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59788 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59790         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59791         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59792         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59793         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59795 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59797         [BZ #14117]
59798         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59799         * sysdeps/i386/fpu/Implies: New file.
59800         * sysdeps/x86_64/fpu/Implies: Likewise.
59801         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59802         * sysdeps/x86/fpu/bits/fenv.h: This.
59804         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59805         __SSE_MATH__.
59807 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59809         [BZ #14134]
59810         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59811         character 0xffff that matches the last element of the
59812         conversion table.
59814 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59816         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59817         fmodl commit.
59819 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59822         values higher than 25.6283.
59824 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59826         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59827         subnormal exponent extraction and add some __builtin_expect.
59828         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59829         Fix for subnormal mantissa calculation.
59831 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59833         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59834         cpu2 is -1 and errno is not ENOSYS.
59836 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59838         [BZ #14117]
59839         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59840         * sysdeps/x86/bits/string.h: This.
59841         * sysdeps/x86_64/bits/string.h: Removed.
59843         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59844         if not compiling for x86-64, but compiling for >= i486.
59846         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59847         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59849         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59850         New macro from Linux kernel 3.4.0.
59851         (FP_XSTATE_MAGIC2): Likewise.
59852         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59853         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59854         (struct _fpx_sw_bytes): New struct.
59855         (struct _xsave_hdr): Likewise.
59856         (struct _ymmh_state): Likewise.
59857         (struct _xstate): Likewise.
59859         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59860         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59861         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59862         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59863         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59864         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59866         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59867         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59868         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59869         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59870         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59871         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59873 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59875         [BZ #13743]
59876         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59877         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59878         (sysdep_headers): Include sys/platform/ppc.h.
59879         * sysdeps/powerpc/test-gettimebase.c: Test for
59880         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59881         * manual/Makefile (appendices): Include platform.texi.
59882         * manual/contrib.texi (Contributors): Update @node pointers.
59883         * manual/maint.texi (Maintenance): Likewise.
59884         (Platform): New node.
59885         * manual/platform.texi: New file.  Document the new features.
59887 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59888             Jakub Jelinek  <jakub@redhat.com>
59890         [BZ #14188]
59891         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59892         where __builtin_expect is unavailable.
59894 2012-06-03  David S. Miller  <davem@davemloft.net>
59896         * stdlib/longlong.h: Updated from GCC.
59898 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59900         [BZ #14042]
59901         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59902         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59903         __mcount_internal.
59904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59905         (GLIBC_2.16): Likewise.
59907 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59909         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59911 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59914         (default-abi): New variable.
59915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59916         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59917         variable.
59918         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59919         Likewise.
59920         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59921         Likewise.
59922         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59923         Likewise.
59925         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59926         definition.  Document in comment.
59928 2012-06-01  David S. Miller  <davem@davemloft.net>
59930         * stdlib/longlong.h: Updated from GCC.
59932 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59934         [BZ #14117]
59935         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59936         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59937         sys/debugreg.h sys/io.h here.
59938         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59939         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59940         sys/io.h.
59941         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59942         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59943         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59944         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59945         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59946         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59948         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59949         Define only if __x86_64__ is defined.
59951 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59953         [BZ #14048]
59954         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59955         Use int64_t for variable i.
59956         * math/libm-test.inc (fmod_test): Add more tests.
59958         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59959         z computation is not scheduled after fetestexcept.
59960         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59961         Use math_force_eval instead of asm to ensure calculation scheduled
59962         before exception test.
59963         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59964         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59966 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59969         computation is not scheduled after fetestexcept.
59971 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59973         [BZ #14117]
59974         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59975         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59977 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59979         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59980         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59982 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59984         [BZ #14117]
59985         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59986         <bits/wordsize.h>.
59987         (__WCHAR_MIN): Support __WORDSIZE == 64.
59988         (__WCHAR_MAX): Likewise.
59990         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59991         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59993         [BZ #14183]
59994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59995         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59997         [BZ #14117]
59998         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59999         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60001         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60002         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60004         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60005         Defined to 1 if __x86_64__ isn't defined.
60006         (_STAT_VER_LINUX_OLD): New.
60007         (st_atime): Remove duplicate.
60008         (st_mtime): Likewise.
60009         (st_ctime): Likewise.
60011 2012-05-31  David S. Miller  <davem@davemloft.net>
60013         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60014         entries.
60016 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60018         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60019         gen-libm-test.pl.
60021         [BZ #14132]
60022         * elf/dl-reloc.c: Include <_itoa.h>.
60023         (_dl_reloc_bad_type): Remove use of INTUSE.
60024         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60025         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60026         * stdio-common/psiginfo.c (psiginfo): Likewise.
60027         * stdio-common/psignal.c (psignal): Likewise.
60028         * string/strsignal.c (strsignal): Likewise.
60029         * include/signal.h (_sys_siglist): Declare hidden proto.
60030         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60031         INTVARDEF with libc_hidden_data_def.
60032         * stdio-common/itoa-udigits.c: Likewise.
60033         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60034         (_itoa_lower_digits_internal): Remove declaration.
60035         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60036         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60037         (_sys_sigabbrev_internal): Remove aliases.
60038         (_sys_siglist): Define hidden alias.
60040 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60043         bits/sysctl.h.
60045 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60047         [BZ #14117]
60048         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60049         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60051         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60052         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60053         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60054         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60056         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60058         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60059         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60060         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60062         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60063         with __addr.
60064         (insw): Likewise.
60065         (insl): Likewise.
60066         (outsb): Likewise.
60067         (outsw): Likewise.
60068         (outsl): Likewise.
60070         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60071         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60072         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60074         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60075         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60076         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60077         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60078         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60079         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60081         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60082         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60084         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60085         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60087         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60088         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60091         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60092         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60093         to ...
60094         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60096         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60097         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60098         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60100         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60101         for x86-64.
60102         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60104 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60106         * math/math.h (M_El): Use two more decimal places.
60107         (M_LOG2El): Likewise.
60108         (M_LOG10El): Likewise.
60109         (M_LN2l): Likewise.
60110         (M_LN10l): Likewise.
60111         (M_PIl): Likewise.
60112         (M_PI_2l): Likewise.
60113         (M_PI_4l): Likewise.
60114         (M_1_PIl): Likewise.
60115         (M_2_PIl): Likewise.
60116         (M_2_SQRTPIl): Likewise.
60117         (M_SQRT2l): Likewise.
60118         (M_SQRT1_2l): Likewise.
60120 2012-05-31  David S. Miller  <davem@davemloft.net>
60122         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60123         values between float registers.
60124         * sysdeps/sparc/sparc64/memset.S: Likewise.
60125         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60127 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60129         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60130         -D_FORTIFY_SOURCE=1.
60131         (CPPFLAGS-tst-longjmp_chk.c): Define.
60132         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60133         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60134         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60135         CFLAGS-tst-wchar-h.c.
60137 2012-05-31  Marek Polacek  <polacek@redhat.com>
60139         [BZ #14132]
60140         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60141         __endmntent_internal): Remove declaration.
60142         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60143         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60144         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60146 2012-05-30  David S. Miller  <davem@davemloft.net>
60148         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60149         (___Q_simulate_exceptions): Use real FP ops rather than writing
60150         into the %fsr.
60151         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60152         Likewise.
60154 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60156         [BZ #14117]
60157         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60158         * sysdeps/x86/bits/xtitypes.h: This.
60160         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60161         * sysdeps/x86/bits/wordsize.h: This.
60163         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60164         * sysdeps/x86/bits/huge_vall.h: This.
60166         * sysdeps/i386/bits/select.h: Removed.
60167         * sysdeps/x86_64/bits/select.h: Renamed to ...
60168         * sysdeps/x86/bits/select.h: This.
60170         * sysdeps/i386/bits/setjmp.h: Removed.
60171         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60172         * sysdeps/x86/bits/setjmp.h: This.
60174         * sysdeps/i386/bits/mathdef.h: Removed.
60175         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60176         * sysdeps/x86/bits/mathdef.h: This.
60178 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60180         [BZ #14132]
60181         * include/sys/socket.h (__connect_internal)
60182         (__libc_sa_len_internal): Remove declaration.
60183         (__connect, __libc_sa_len): Declare hidden_proto.
60184         (SA_LEN): Remove use of INTUSE.
60185         * socket/connect.c: Add libc_hidden_def.
60186         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60187         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60188         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60189         alias.
60190         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60191         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60192         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60193         of adding _internal alias.
60195 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60197         [BZ #14117]
60198         * sysdeps/i386/bits/link.h: Removed.
60199         * sysdeps/i386/bits/linkmap.h: Likewise.
60200         * sysdeps/x86_64/bits/link.h: Renamed to ...
60201         * sysdeps/x86/bits/link.h: This.
60202         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60203         * sysdeps/x86/bits/linkmap.h: This.
60205         * sysdeps/i386/bits/endian.h: Removed.
60206         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60207         * sysdeps/x86/bits/endian.h: This.
60209         * sysdeps/i386/bits/byteswap.h: Removed.
60210         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60211         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60212         * sysdeps/x86/bits/byteswap.h: This.
60213         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60214         * sysdeps/x86/bits/byteswap-16.h: This.
60215         * sysdeps/i386/Implies: Add x86.
60216         * sysdeps/x86_64/Implies: Likewise.
60218 2012-05-30  David S. Miller  <davem@davemloft.net>
60220         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60221         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60222         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60223         (FP_TRAPPING_EXCEPTIONS): Define.
60224         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60225         (FP_TRAPPING_EXCEPTIONS): Define.
60226         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60227         subnormals only when inexact has been signalled or underflow
60228         exceptions are enabled.
60229         (_FP_PACK_CANONICAL): Likewise.
60231 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60233         [BZ #14183]
60234         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60235         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60237 2012-05-30  Richard Henderson  <rth@twiddle.net>
60239         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60240         with #ifndef NOT_IN_libc.
60242         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60243         marked to avoid plt entry.
60245 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60247         [BZ #14112]
60248         * Makeconfig (default-abi): New macro.
60249         (abi-includes): Likewise.
60250         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60251         $(abi-$(default-abi)-lib-soname) for soname if defined.
60252         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60253         abi-variants.
60254         * Makefile (installed-stubs): Likewise.
60255         * include/stubs-biarch.h: Removed.
60256         * scripts/lib-names.awk: Only handle one library at a time.
60257         * scripts/soversions.awk: Remove WORDSIZE support.
60258         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60259         entries.
60260         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60261         Removed.
60262         (syscall-list-default-condition): Likewise.
60263         (syscall-list-default-condition): Likewise.
60264         (syscall-list-includes): Likewise.
60265         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60266         syscall-list-* with abi-*.  Handle undefined abi-variants.
60267         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60268         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60269         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60270         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60271         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60272         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60273         Removed.
60274         (syscall-list-32-options): Likewise.
60275         (syscall-list-32-condition): Likewise.
60276         (syscall-list-64-options): Likewise.
60277         (syscall-list-64-condition): Likewise.
60278         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60279         macro.
60280         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60281         Renamed to ...
60282         (abi-*): This.
60283         (abi-64-ld-soname): New macro.
60284         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60285         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60286         Renamed to ...
60287         (abi-*): This.
60288         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60289         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60291 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60293         * sysdeps/unix/sysv/linux/kernel-features.h
60294         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60295         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60296         include <kernel-features.h>.
60297         [!__NR_ftruncate64]: Remove conditional code.
60298         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60299         [__NR_ftruncate64]: Make code unconditional.
60300         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60301         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60302         include <kernel-features.h>.
60303         [!__NR_ftruncate64]: Remove conditional code.
60304         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60305         [__NR_ftruncate64]: Make code unconditional.
60306         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60308         include <kernel-features.h>.
60309         [!__NR_ftruncate64]: Remove conditional code.
60310         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60311         [__NR_ftruncate64]: Make code unconditional.
60312         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60314         include <kernel-features.h>.
60315         [!__NR_ftruncate64]: Remove conditional code.
60316         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60317         [__NR_ftruncate64]: Make code unconditional.
60318         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60320         * configure.in (libc_cv_fpie): Weaken to a compile test using
60321         LIBC_TRY_CC_OPTION.
60322         * configure: Regenerated.
60324 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60330         Refreshed.
60331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60337         Refreshed.
60339 2012-05-27  David S. Miller  <davem@davemloft.net>
60341         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60342         (___Q_zero): New.
60343         (__Q_simulate_exceptions): Return void.  Change to simulate
60344         exceptions by writing into the %fsr.
60345         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60346         (__Qp_handle_exceptions): Likewise.
60347         (numbers): Delete.
60348         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60349         __Qp_handle_exceptions.
60350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60351         __Qp_handle_exceptions.
60352         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60353         as unused and give dummy FP_RND_NEAREST initializer.
60354         (FP_INHIBIT_RESULTS): Define.
60355         (___Q_simulate_exceptions): Update declaration.
60356         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60357         formatting.
60358         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60359         as unused and give dummy FP_RND_NEAREST initializer.
60360         (__Qp_handle_exceptions): Update declaration.
60361         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60362         formatting.
60364 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60366         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60367         the temporary FPU control word.
60368         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60369         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60370         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60371         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60372         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60373         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60374         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60375         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60376         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60377         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60378         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60380 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60382         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60383         fields.
60385 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60387         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60388         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60389         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60390         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60391         Likewise.
60392         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60393         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60394         Likewise.
60396 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60398         * po/h.po: Update from translation team.
60400 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60402         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60404         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60405         handling of denormals.
60406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60407         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60408         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60409         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60410         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60412         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60413         Likewise.
60415 2012-05-26  Marek Polacek  <polacek@redhat.com>
60417         [BZ #14152]
60418         * math/libm-test.inc (fma_test): Don't always expect underflow
60419         exception.
60421 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60423         [BZ #12416]
60424         * elf/tst-execstack.c: Include stackinfo.h.
60425         (do_test): Adjust test case to ensure that pthread_getattr_np
60426         behaviour remains the same after marking stack executable.
60428 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60430         * sysdeps/unix/sysv/linux/kernel-features.h
60431         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60432         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60433         kernel-features.h.
60434         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60435         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60436         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60437         kernel-features.h.
60438         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60439         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60441 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60443         * configure.in: Define the default includes to being none.
60444         * configure: Regenerated.
60446 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60448         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60449         * sysdeps/x86_64/setjmp.S: Likewise.
60450         * sysdeps/i386/bsd-setjmp.S: Likewise.
60451         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60452         * sysdeps/i386/setjmp.S: Likewise.
60453         * sysdeps/i386/__longjmp.S: Likewise.
60454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60455         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60457         * include/stap-probe.h: New file.
60458         * configure.in: Handle --enable-systemtap.
60459         * configure: Regenerated.
60460         * config.h.in (USE_STAP_PROBE): New #undef.
60461         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60462         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60463         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60465 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60467         [BZ #13717]
60468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60469         to 2.4.0 where earlier.
60470         * sysdeps/unix/sysv/linux/configure: Regenerated.
60471         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60472         <kernel-features.h>.
60473         [__ASSUME_32BITUIDS]: Make code unconditional.
60474         [!__ASSUME_32BITUIDS]: Remove conditional code.
60475         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60476         <kernel-features.h>.
60477         [__ASSUME_32BITUIDS]: Make code unconditional.
60478         [!__ASSUME_32BITUIDS]: Remove conditional code.
60479         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60480         [__ASSUME_32BITUIDS]: Make code unconditional.
60481         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60482         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60483         <kernel-features.h>.
60484         [__ASSUME_32BITUIDS]: Make code unconditional.
60485         [!__ASSUME_32BITUIDS]: Remove conditional code.
60486         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60487         <kernel-features.h>.
60488         [__ASSUME_32BITUIDS]: Make code unconditional.
60489         [!__ASSUME_32BITUIDS]: Remove conditional code.
60490         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
60523         <kernel-features.h>.
60524         [__NR_setresgid] (__setresgid): Do not declare.
60525         [__ASSUME_32BITUIDS]: Make code unconditional.
60526         [!__ASSUME_32BITUIDS]: Remove conditional code.
60527         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60528         <kernel-features.h>.
60529         [__NR_setresuid] (__setresuid): Do not declare.
60530         [__ASSUME_32BITUIDS]: Make code unconditional.
60531         [!__ASSUME_32BITUIDS]: Remove conditional code.
60532         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60533         <kernel-features.h>.
60534         [__ASSUME_32BITUIDS]: Make code unconditional.
60535         [!__ASSUME_32BITUIDS]: Remove conditional code.
60536         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60537         <kernel-features.h>.
60538         [__ASSUME_32BITUIDS]: Make code unconditional.
60539         [!__ASSUME_32BITUIDS]: Remove conditional code.
60540         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60541         <kernel-features.h>.
60542         [__ASSUME_32BITUIDS]: Make code unconditional.
60543         [!__ASSUME_32BITUIDS]: Remove conditional code.
60544         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60545         <kernel-features.h>.
60546         [__ASSUME_32BITUIDS]: Make code unconditional.
60547         [!__ASSUME_32BITUIDS]: Remove conditional code.
60548         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60549         <kernel-features.h>.
60550         [__ASSUME_32BITUIDS]: Make code unconditional.
60551         [!__ASSUME_32BITUIDS]: Remove conditional code.
60552         * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
60561         <kernel-features.h>.
60562         [__ASSUME_32BITUIDS]: Make code unconditional.
60563         [!__ASSUME_32BITUIDS]: Remove conditional code.
60564         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60565         <kernel-features.h>.
60566         [__ASSUME_32BITUIDS]: Make code unconditional.
60567         [!__ASSUME_32BITUIDS]: Remove conditional code.
60568         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60569         <kernel-features.h>.
60570         [__ASSUME_32BITUIDS]: Make code unconditional.
60571         [!__ASSUME_32BITUIDS]: Remove conditional code.
60572         * sysdeps/unix/sysv/linux/kernel-features.h
60573         (__ASSUME_SETRESUID_SYSCALL): Remove.
60574         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60575         (__ASSUME_32BITUIDS): Likewise.
60576         (__ASSUME_LDT_WORKS): Likewise.
60577         (__ASSUME_O_DIRECTORY): Likewise.
60578         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60579         architecture but not kernel version.
60580         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60581         (__ASSUME_MMAP2_SYSCALL): Likewise.
60582         (__ASSUME_STAT64_SYSCALL): Likewise.
60583         (__ASSUME_IPC64): Likewise.
60584         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60585         <kernel-features.h>.
60586         [__ASSUME_32BITUIDS]: Make code unconditional.
60587         [!__ASSUME_32BITUIDS]: Remove conditional code.
60588         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60589         <kernel-features.h>.
60590         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60591         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60592         132096]: Remove conditional code.
60593         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60595         <kernel-features.h>.
60596         [__ASSUME_32BITUIDS]: Make code unconditional.
60597         [!__ASSUME_32BITUIDS]: Remove conditional code.
60598         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60599         <kernel-features.h>.
60600         [__ASSUME_32BITUIDS]: Make code unconditional.
60601         [!__ASSUME_32BITUIDS]: Remove conditional code.
60602         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60603         <kernel-features.h>.
60604         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60605         unconditional.
60606         (__setresgid): Do not declare.
60607         [__ASSUME_32BITUIDS]: Make code unconditional.
60608         [!__ASSUME_32BITUIDS]: Remove conditional code.
60609         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60610         <kernel-features.h>.
60611         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60612         unconditional.
60613         (__setresuid): Do not declare.
60614         [__ASSUME_32BITUIDS]: Make code unconditional.
60615         [!__ASSUME_32BITUIDS]: Remove conditional code.
60616         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60617         <kernel-features.h>.
60618         [__ASSUME_32BITUIDS]: Make code unconditional.
60619         [!__ASSUME_32BITUIDS]: Remove conditional code.
60620         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60621         <kernel-features.h>.
60622         [__ASSUME_32BITUIDS]: Make code unconditional.
60623         [!__ASSUME_32BITUIDS]: Remove conditional code.
60625 2012-05-25  Richard Henderson  <rth@twiddle.net>
60627         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60628         dl_hwcap to ifunc resolver.
60629         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60630         elf_ifunc_invoke.
60631         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60632         dl_hwcap to ifunc resolver.
60633         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60635 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60637         [BZ #14153]
60638         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60639         for |x| <= 2**-26, not 2**-57.
60640         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60641         exception.
60643 2012-05-24  Jeff Law  <law@redhat.com>
60645         * stdio-common/Makefile (tests): Add bug25.
60646         * stdio-common/bug25.c: New test.
60648 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60650         [BZ #13576]
60651         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60652         multiple of MALLOC_ALIGNMENT in size.
60653         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60655 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60657         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60658         Require >= 256.
60659         (FILENAME_MAX): Use macro-int-constant.
60660         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60661         (_IOFBF): Use macro-int-constant.
60662         (_IOLBF): Likewise.
60663         (_IONBF): Likewise.
60664         (SEEK_CUR): Likewise.
60665         (SEEK_END): Likewise.
60666         (SEEK_SET): Likewise.
60667         (TMP_MAX): Likewise.
60668         (EOF): Use macro-int-constant.  Require < 0.
60669         (NULL): Use macro-constant.  Require == 0.
60670         (stdin): Require type to be FILE *.
60671         (stdout): Likewise.
60672         (stderr): Likewise.
60673         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60674         macro-int-constant.
60675         (EXIT_SUCCESS): Likewise.
60676         (NULL): Use macro-constant.  Require == 0.
60677         (RAND_MAX): Use macro-int-constant.
60678         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60679         [C99-based standards] (strtof): Require function.
60680         [C99-based standards] (strtold): Likewise.
60681         [C99-based standards] (strtoll): Likewise.
60682         [C99-based standards] (strtoull): Likewise.
60683         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60684         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60685         [ISO || ISO99 || ISO11] (math.h): Likewise.
60686         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60687         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60688         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60690 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60692         [BZ #14132]
60693         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60694         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60695         * intl/dgettext.c (DCGETTEXT): Likewise.
60696         * intl/gettext.c (DCGETTEXT): Likewise.
60697         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60698         * posix/regex_internal.h (gettext): Likewise.
60699         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60700         Remove declaration.
60701         * include/argz.h (__argz_count_internal)
60702         (__argz_stringify_internal): Remove declaration.
60703         (__argz_count, __argz_stringify): Declare hidden proto.
60704         * intl/dcgettext.c: Remove use of INTDEF.
60705         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60706         * string/argz-stringify.c: Likewise.
60707         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60708         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60709         Declare hidden proto.
60710         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60711         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60712         Declare hidden proto.
60713         * include/stdio.h (__asprintf_internal): Don't declare.
60714         (__asprintf): Don't define as macro.  Declare hidden proto.
60715         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60716         (__fsetlocking): Declare hidden proto.
60717         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60718         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60719         hidden proto.
60720         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60721         (_IO_setlinebuf): Remove use of INTUSE.
60722         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60723         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60724         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60725         Remove declaration.
60726         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60727         (_IO_do_flush): Remove use of INTUSE.
60728         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60729         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60730         (_IO_adjust_column, _IO_least_wmarker)
60731         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60732         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60733         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60734         (_IO_default_doallocate, _IO_wdefault_doallocate)
60735         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60736         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60737         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60738         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60739         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60740         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60741         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60742         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60743         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60744         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60745         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60746         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60747         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60748         proto.
60749         (_IO_flush_all_internal, _IO_adjust_column_internal)
60750         (_IO_default_uflow_internal, _IO_default_finish_internal)
60751         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60752         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60753         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60754         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60755         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60756         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60757         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60758         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60759         (_IO_file_close_internal, _IO_file_close_it_internal)
60760         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60761         (_IO_file_init_internal, _IO_file_attach_internal)
60762         (_IO_file_fopen_internal, _IO_file_read_internal)
60763         (_IO_file_sync_internal, _IO_file_seek_internal)
60764         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60765         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60766         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60767         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60768         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60769         (_IO_list_all_internal, _IO_link_in_internal)
60770         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60771         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60772         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60773         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60774         (_IO_do_write_internal, _IO_padn_internal)
60775         (_IO_getline_info_internal, _IO_getline_internal)
60776         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60777         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60778         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60779         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60780         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60781         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60782         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60783         with libc_hidden_ver, remove use of INTUSE.
60784         * libio/genops.c: Likewise.
60785         * libio/freopen.c: Likewise.
60786         * libio/freopen64.c: Likewise.
60787         * libio/iofclose.c: Likewise.
60788         * libio/iofdopen.c: Likewise.
60789         * libio/iofflush.c: Likewise.
60790         * libio/iofflush_u.c: Likewise.
60791         * libio/iofgets.c: Likewise.
60792         * libio/iofgets_u.c: Likewise.
60793         * libio/iofopen.c: Likewise.
60794         * libio/iofopncook.c: Likewise.
60795         * libio/iofread.c: Likewise.
60796         * libio/iofread_u.c: Likewise.
60797         * libio/ioftell.c: Likewise.
60798         * libio/iofwrite.c: Likewise.
60799         * libio/iogetline.c: Likewise.
60800         * libio/iogets.c: Likewise.
60801         * libio/iogetwline.c: Likewise.
60802         * libio/iopadn.c: Likewise.
60803         * libio/iopopen.c: Likewise.
60804         * libio/ioseekoff.c: Likewise.
60805         * libio/ioseekpos.c: Likewise.
60806         * libio/iosetbuffer.c: Likewise.
60807         * libio/iosetvbuf.c: Likewise.
60808         * libio/ioungetc.c: Likewise.
60809         * libio/ioungetwc.c: Likewise.
60810         * libio/iovdprintf.c: Likewise.
60811         * libio/iovsprintf.c: Likewise.
60812         * libio/iovsscanf.c: Likewise.
60813         * libio/memstream.c: Likewise.
60814         * libio/obprintf.c: Likewise.
60815         * libio/oldfileops.c: Likewise.
60816         * libio/oldiofclose.c: Likewise.
60817         * libio/oldiofdopen.c: Likewise.
60818         * libio/oldiofopen.c: Likewise.
60819         * libio/oldiopopen.c: Likewise.
60820         * libio/oldstdfiles.c: Likewise.
60821         * libio/putc.c: Likewise.
60822         * libio/setbuf.c: Likewise.
60823         * libio/setlinebuf.c: Likewise.
60824         * libio/stdfiles.c: Likewise.
60825         * libio/strops.c: Likewise.
60826         * libio/vasprintf.c: Likewise.
60827         * libio/vscanf.c: Likewise.
60828         * libio/vsnprintf.c: Likewise.
60829         * libio/vswprintf.c: Likewise.
60830         * libio/wfiledoalloc.c: Likewise.
60831         * libio/wfileops.c: Likewise.
60832         * libio/wgenops.c: Likewise.
60833         * libio/wmemstream.c: Likewise.
60834         * libio/wstrops.c: Likewise.
60835         * libio/__fpurge.c: Likewise.
60836         * libio/__fsetlocking.c: Likewise.
60837         * assert/assert.c: Likewise.
60838         * debug/fgets_chk.c: Likewise.
60839         * debug/fgets_u_chk.c: Likewise.
60840         * debug/fread_chk.c: Likewise.
60841         * debug/fread_u_chk.c: Likewise.
60842         * debug/gets_chk.c: Likewise.
60843         * debug/obprintf_chk.c: Likewise.
60844         * debug/vasprintf_chk.c: Likewise.
60845         * debug/vdprintf_chk.c: Likewise.
60846         * debug/vsnprintf_chk.c: Likewise.
60847         * debug/vsprintf_chk.c: Likewise.
60848         * malloc/mtrace.c: Likewise.
60849         * misc/error.c: Likewise.
60850         * misc/syslog.c: Likewise.
60851         * stdio-common/asprintf.c: Likewise.
60852         * stdio-common/fxprintf.c: Likewise.
60853         * stdio-common/getw.c: Likewise.
60854         * stdio-common/isoc99_fscanf.c: Likewise.
60855         * stdio-common/isoc99_scanf.c: Likewise.
60856         * stdio-common/isoc99_vfscanf.c: Likewise.
60857         * stdio-common/isoc99_vscanf.c: Likewise.
60858         * stdio-common/isoc99_vsscanf.c: Likewise.
60859         * stdio-common/printf-prs.c: Likewise.
60860         * stdio-common/printf_fp.c: Likewise.
60861         * stdio-common/printf_fphex.c: Likewise.
60862         * stdio-common/printf_size.c: Likewise.
60863         * stdio-common/putw.c: Likewise.
60864         * stdio-common/scanf.c: Likewise.
60865         * stdio-common/sprintf.c: Likewise.
60866         * stdio-common/tmpfile.c: Likewise.
60867         * stdio-common/vfprintf.c: Likewise.
60868         * stdio-common/vfscanf.c: Likewise.
60869         * stdlib/strfmon_l.c: Likewise.
60870         * sunrpc/openchild.c: Likewise.
60871         * sunrpc/xdr_stdio.c: Likewise.
60872         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60873         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60875 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60877         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60879         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60880         in the third column, to generate for the shared library an IFUNC
60881         that uses _dl_vdso_vsym.
60882         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60883         * Makeconfig (object-suffixes-noshared): New variable.
60885         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60886         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60887         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60888         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60890         [BZ #14132]
60891         * include/sys/time.h (__gettimeofday): Remove macro.
60892         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60893         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60894         Remove INTDEF.
60895         (__gettimeofday): Add libc_hidden_def.
60896         (gettimeofday): Add libc_hidden_weak.
60897         * sysdeps/mach/gettimeofday.c: Likewise.
60898         * sysdeps/posix/gettimeofday.c: Likewise.
60899         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60900         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60901         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60902         (__gettimeofday_internal): Remove strong_alias.
60903         (__gettimeofday): Add libc_hidden_def.
60904         (gettimeofday): Add libc_hidden_weak.
60905         * sysdeps/unix/syscalls.list (gettimeofday):
60906         Remove __gettimeofday_internal alias.
60908 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60909             H.J. Lu  <hongjiu.lu@intel.com>
60911         [BZ #12495]
60912         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60913         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60914         (largebin_index_32_big): New.
60915         (largebin_index): Use it for 16-byte alignment.
60916         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60917         correction with front_misalign.
60919 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60923         Likewise.
60924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60925         Likewise.
60926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60927         Likewise.
60928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60929         Likewise.
60930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60931         Likewise.
60932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60933         Likewise.
60934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60935         Likewise.
60936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60937         Likewise.
60938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60939         Likewise.
60940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60941         Likewise.
60942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60943         Likewise.
60944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60945         Likewise.
60947         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60948         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60950 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60952         [BZ #10846]
60953         [BZ #14036]
60954         * math/libm-test.inc (exp_test): Add test from bug 14036.
60955         (pow_test): Add test from bug 10846.
60957         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60958         and other flags.
60959         (special_function): Do not include flags in test name.
60960         (parse_args): Likewise.
60961         * sysdeps/i386/fpu/libm-test-ulps: Update.
60962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60963         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60964         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60967         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60968         exceptions.
60969         * math/libm-test.inc ("Philosophy"): Update comment about
60970         exception testing.
60971         (UNDERFLOW_EXCEPTION): New macro.
60972         (UNDERFLOW_EXCEPTION_OK): Likewise.
60973         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60974         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60975         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60976         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60977         (INVALID_EXCEPTION_OK): Update value.
60978         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60979         (OVERFLOW_EXCEPTION_OK): Likewise.
60980         (IGNORE_ZERO_INF_SIGN): Likewise.
60981         (test_exceptions): Handle underflow exceptions.
60982         (acos_test): Update for underflow exception expectations.
60983         (cexp_test): Likewise.
60984         (clog_test): Likewise.
60985         (clog10_test): Likewise.
60986         (csqrt_test): Likewise.
60987         (ctan_test): Likewise.
60988         (ctanh_test): Likewise.
60989         (exp_test): Likewise.
60990         (exp10_test): Likewise.
60991         (exp2_test): Likewise.
60992         (expm1_test): Likewise.
60993         (fma_test): Likewise.
60994         (j0_test): Likewise.
60995         (jn_test): Likewise.
60996         (nexttoward_test): Likewise.
60997         (pow_test): Likewise.
60998         (scalbn_test): Likewise.
60999         (scalbln_test): Likewise.
61000         (tan_test): Likewise.
61001         (y1_test): Likewise.
61002         * sysdeps/i386/fpu/libm-test-ulps: Update.
61003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61005 2012-05-23  David S. Miller  <davem@davemloft.net>
61007         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61008         (__libc_sigaction): Remove unused local variables.
61010 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61012         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61014 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61016         mktime: avoid signed integer overflow
61017         * time/mktime.c (__mktime_internal): Do not mishandle the case
61018         where diff == INT_MIN.
61020         mktime: simplify computation of average
61021         * time/mktime.c (ranged_convert): Use new time_t_avg function
61022         instead of rolling our own (probably-slower) code.
61024         mktime: do not assume signed right shift propagates sign bit
61025         * time/mktime.c (isdst_differ): New static function.
61026         (__mktime_internal): No need to normalize tm_isdst now.
61027         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61028         tm_isdst values.
61030         mktime: merge another wrapv change from gnulib
61031         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61032         from some compilers.
61034         mktime: remove incorrect attempt at unusual arithmetics
61035         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61036         The code didn't really work on such machines anyway.
61037         (TYPE_MINIMUM): Assume two's complement.
61038         (twos_complement_arithmetic): Verify that long_int and time_t
61039         are two's complement (or unsigned, in the latter case).
61041         mktime: check signed shifts on long_int and time_t, too
61042         * time/mktime.c (SHR): Check that shifts work as desired
61043         on the types long_int and time_t too, as SHR is used on
61044         such types.
61046         mktime: do not assume 'long' is wide enough
61047         * time/mktime.c (verify): Move decl up.
61048         (long_int): New type.
61049         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61050         to remove assumption in the code that 'long' is wide enough to
61051         store year values.  This assumption is not true on x32 and on
61052         some non-glibc platforms.
61054         mktime: merge wrapv change from gnulib
61055         * time/mktime.c (WRAPV): New macro.
61056         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61057         (guess_time_tm, __mktime_internal): Do not assume that signed
61058         integer overflow wraps around; modern compilers generate code
61059         where this assumption is no longer valid.
61061 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61063         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61064         Replace "jmp L(pseudo_end)" with "ret".
61065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61066         Likewise.
61068 2012-05-23  Andreas Jaeger  <aj@suse.de>
61070         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61071         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61073 2012-05-23  Andreas Jaeger  <aj@suse.de>
61074             Maximilian Attems  <max@stro.at>
61076         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61077         New macros.
61079 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61082         code so that pseudo_end is just ret and the stack pointer is
61083         correct also for static library in error case.
61085 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61087         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61088         move to syscalls.list.
61089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61094         * manual/install.texi (Running make install): Do not mention Linux
61095         kernel version for which pt_chown is not needed.
61096         (Linux): Do not mention problems with nscd with 2.0 kernels.
61097         * INSTALL: Regenerated.
61099 2012-05-23  Andreas Jaeger  <aj@suse.de>
61101         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61102         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61103         macro.
61104         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61105         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61106         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61108         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61113         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61114         * sysdeps/unix/sysv/linux/bits/in.h
61115         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61117 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61119         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61120         (PREPARE_VERSION): Just use assert instead, it will be elided
61121         under [NDEBUG] anyway.
61123 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61125         * sysdeps/unix/sysv/linux/Makefile: Include
61126         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61127         (sysdep_routines): Remove sysctl.
61128         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61129         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61130         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61131         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61132         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61134 2012-05-22  Andreas Jaeger  <aj@suse.de>
61136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61137         that pseudo_end is just ret and the stack pointer is correct also
61138         for static library in error case.
61140 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61142         [BZ #14122]
61143         * nss/nsswitch.c (defconfig_entries): New variable.
61144         (__nss_database_lookup): Don't leak defconfig entries.
61145         (nss_parse_service_list): Don't leak on error paths.
61146         (free_database_entries): New function.
61147         (free_defconfig): New function.
61148         (free_mem): Move common code to free_database_entries.
61150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61152         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61153         Add arch_prctl.
61154         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61156         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61157         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61158         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61159         New macro.
61160         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61161         (INTERNAL_SYSCALL_TYPES): Likewise.
61162         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61163         (LOAD_REGS_TYPES_[1-6]): Likewise.
61164         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61165         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61167 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61169         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61170         copysignl for GLIBC_2_0.
61171         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61172         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61174         logbl for GLIBC_2_0.
61175         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61176         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61178 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61180         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61181         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61183         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61184         Use "neg %eax".
61186         * time/mktime.c: Update copyright years.
61188 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61190         mktime: merge comment-quoting-style change from gnulib
61191         * time/mktime.c: Quote 'like this' in comments.
61192         The GNU coding standards suggest that we no longer quote `like this',
61193         as "`" and "'" are typically rendered asymmetrically nowadays.
61194         The typical gnulib style is to quote 'like this' when quoting
61195         code, and "like this" when quoting English.
61197         * time/mktime.c (compile-command): Add "-I.".
61199         mktime: merge mktime-internal.h change from gnulib
61200         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61202         mktime: merge time_r change from gnulib
61203         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61205         mktime: merge DEBUG change from gnulib
61206         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61207         case system <time.h> has a #define.
61209         mktime: merge <sys/types.h> change from gnulib
61210         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61211         since <time.t> is now guaranteed to define time_t.
61213         mktime: merge HAVE_CONFIG_H change from gnulib
61214         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61216 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61219         Use "neg %eax".
61221         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61222         __rlim_t cast.
61223         (struct rusage): Use anonymous union to pad each field to
61224         __syscall_slong_t.
61226 2012-05-21  David S. Miller  <davem@davemloft.net>
61228         * Makefules (o-iterator): Remove .s cases.
61229         (compile-command.s): Delete.
61230         (COMPILE.s): Delete.
61231         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61233 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61235         * configure.in (libc_cv_predef_stack_protector): Only consider
61236         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61237         * configure: Regenerated.
61239 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61242         New macro.  Use R*LP on int and pointer.
61243         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61244         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61245         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61246         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61248         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61249         [__WORDSIZE_TIME64_COMPAT32] instead of
61250         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61251         (struct utmp): Likewise.
61252         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61253         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61254         Renamed to ...
61255         (__WORDSIZE_TIME64_COMPAT32): This.
61256         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61257         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61258         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61259         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61260         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61261         (__WORDSIZE_TIME64_COMPAT32): New macro.
61263 2012-05-21  Andreas Jaeger  <aj@suse.de>
61265         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61266         only if [SHARED]. Add prototype for __wcschr_ia32.
61268 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61270         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61271         of %rbp unmolested in the jmp_buf while mangling the low bits.
61272         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61273         unmolested high bits of %rbp while demangling the low bits.
61274         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61276 2012-05-21  Andreas Jaeger  <aj@suse.de>
61278         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61279         * sunrpc/svc_simple.c: Use it for registerrpc.
61280         * sunrpc/xcrypt.c: Use it for passwd2des.
61282         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61284 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61286         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61287         Don't define if [__SYSCALL_WORDSIZE != 32].
61288         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61289         New macro.
61291 2012-05-21  Bruno Haible  <bruno@clisp.org>
61292             Andreas Jaeger  <aj@suse.de>
61294         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61295         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61296         inptr and inend for must_buffer_ch.
61297         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61298         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61299         * stdio-common/Makefile (tests): Remove bug15.
61300         (bug15-ENV): Remove macro.
61301         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61302         anymore.
61304 2012-05-19  Andreas Jaeger  <aj@suse.de>
61305             Roland McGrath  <roland@hack.frob.com>
61307         * manual/contrib.texi: Completely rewritten. It contains now an
61308         alphabetical list of contributors and their contributions.
61310 2012-05-21  Richard Henderson  <rth@twiddle.net>
61312         * misc/getauxval.c (__getauxval): Use unsigned long int.
61313         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61314         (getauxval): Use unsigned long int.
61316 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61318         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61320 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61322         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61323         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61324         __alignof__ (long double).
61326 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61330 2012-05-20  Richard Henderson  <rth@twiddle.net>
61332         * misc/getauxval.c: New file.
61333         * misc/sys/auxv.h: New file.
61334         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61335         (routines): Add getauxval.
61336         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61337         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61338         * elf/dl-sysdep.c (_dl_auxv): Remove.
61339         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61340         * elf/dl-support.c (_dl_auxv): New variable.
61341         (_dl_aux_init): Initialize it.
61342         * manual/startup.texi (Auxiliary Vector): New node.
61343         * sysdeps/generic/bits/hwcap.h: New file.
61344         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61345         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61346         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61347         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61348         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61349         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61351         Update.
61352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61361 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61365 2012-05-19  David S. Miller  <davem@davemloft.net>
61367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61369 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61371         [BZ #14123]
61372         * math/s_ccosh.c: Include <float.h>
61373         (__ccosh): Avoid internal overflow calculating sinh and cosh
61374         values before multiplying by sin and cos values.
61375         * math/s_ccoshf.c: Likewise.
61376         * math/s_ccoshl.c: Likewise.
61377         * math/s_csin.c: Likewise.
61378         * math/s_csinf.c: Likewise.
61379         * math/s_csinl.c: Likewise.
61380         * math/s_csinh.c: Likewise.
61381         * math/s_csinhf.c: Likewise.
61382         * math/s_csinhl.c: Likewise.
61383         * math/libm-test.inc (ccos_test): Add more tests.
61384         (ccosh_test): Likewise.
61385         (csin_test): Likewise.
61386         (csinh_test): Likewise.
61387         * sysdeps/i386/fpu/libm-test-ulps: Update.
61388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61390 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61392         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61393         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61395         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61397 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61399         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61400         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61401         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61402         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61403         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61404         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61405         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61406         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61407         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61408         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61409         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61410         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61411         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61412         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61413         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61414         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61415         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61416         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61417         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61418         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61419         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61420         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61421         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61422         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61423         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61424         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61425         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61426         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61427         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61428         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61429         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61431 2012-05-18  Andreas Jaeger  <aj@suse.de>
61433         * csu/.gitignore: Delete.
61435 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61437         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61438         (timex): Use __syscall_slong_t.
61440 2012-05-18  Andreas Jaeger  <aj@suse.de>
61441             Carlos O'Donell  <carlos_odonell@mentor.com>
61443         * manual/install.texi (Configuring and compiling): Update
61444         description about files modified in the source directory.
61445         * INSTALL: Regenerated.
61447 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61449         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61450         value.  Use "or" to set return value to -1.
61451         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61452         negate return value.
61454 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61456         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61457         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61458         failure if the compiler has Graphite support disabled.
61459         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61460         Likewise.
61461         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61462         (CFLAGS-memmove.c): Likewise.
61463         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61464         Likewise.
61466 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61468         * sysdeps/x86_64/x32/_itoa.h: New file.
61470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61471         getdents system call only if kernel and user dirents have the
61472         same d_ino and d_off.
61474         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61475         LLONG_MAX != LONG_MAX.
61476         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61477         (_fitoa_word): Likewise.
61479         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61480         years.
61481         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61482         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61483         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61485         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61486         include <bits/wordsize.h>.  Check __x86_64__ instead of
61487         __WORDSIZE.
61488         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61489         if __x86_64__ is defined.  Use anonymous union on fpstate.
61491         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61492         anonymous union.
61494 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61496         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61497         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61498         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61499         Refer to _rtld_local_ro instead of _rtld_global_ro.
61500         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61501         Likewise.
61502         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61503         Likewise.
61504         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61505         Likewise.
61506         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61507         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61508         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61510         [BZ #10882]
61511         * sysdeps/powerpc/powerpc32/dl-machine.c
61512         (__elf_machine_runtime_setup) [PROF]: Don't reference
61513         _dl_prof_resolve.
61515 2012-05-18  Andreas Jaeger  <aj@suse.de>
61517         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61518         function only available for GCCs before 3.4 since GCC 3.4
61519         introduced a builtin.
61520         (lrint): Likewise.
61521         (llrintf): Likewise.
61522         (llrint): Likewise.
61523         (fmaxf): Likewise.
61524         (fmax): Likewise.
61525         (fminf): Likewise.
61526         (fmin): Likewise.
61527         (rint): Likewise.
61528         (rintf): Likewise.
61529         (nearbyint): Likewise.
61530         (nearbyintf): Likewise.
61531         (ceil): Likewise.
61532         (ceilf): Likewise.
61533         (floor): Likewise.
61534         (floorf): Likewise.
61536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61538         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61539         on both fields and cast pointer to __syscall_ulong_t.
61541         * bits/types.h (__fsword_t): New type.
61542         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61543         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61545         (__FSWORD_T_TYPE): Likewise.
61546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61547         (__FSWORD_T_TYPE): Likewise.
61548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61549         (__FSWORD_T_TYPE): Likewise.
61550         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61551         (__FSWORD_T_TYPE): Likewise.
61552         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61553         __SWORD_TYPE with __fsword_t.
61554         (statfs64): Likewise.
61556 2012-05-17  David S. Miller  <davem@davemloft.net>
61558         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61560 2012-05-17  Andreas Jaeger  <aj@suse.de>
61562         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61563         warning.
61565 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61567         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61569 2012-05-17  Andreas Jaeger  <aj@suse.de>
61571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61572         when it is used.
61574 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61576         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61578 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61580         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61581         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61583 2012-05-17  Andreas Jaeger  <aj@suse.de>
61584             Carlos O'Donell  <carlos_odonell@mentor.com>
61586         [BZ #14059]
61587         * sysdeps/x86_64/multiarch/init-arch.h
61588         (bit_YMM_Usable): Rename to...
61589         (bit_AVX_Usable): ... this.
61590         (bit_FMA4_Usable): New macro.
61591         (bit_XMM_state): New macro.
61592         (bit_YMM_state): New macro.
61593         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61594         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61595         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61596         (CPUID_OSXSAVE): New macro.
61597         (CPUID_AVX): New macro.
61598         (CPUID_FMA4): New macro.
61599         (index_YMM_Usable): Rename to...
61600         (index_AVX_Usable): ... this.
61601         (HAS_AVX): Use HAS_ARCH_FEATURE.
61602         (HAS_FMA4): Likewise.
61603         (HAS_YMM_USABLE): Remove.
61604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61605         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61606         are present.
61607         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61608         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61609         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61610         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61611         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61613 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61615         * math/libm-test.c: Support platforms without multiple rounding modes.
61616         * math/bug-nextafter.c: Support platforms without FP exceptions.
61617         * math/bug-nexttoward.c: Likewise.
61618         * math/test-fenv.c: Likewise.
61619         * math/test-misc.c: Likewise.
61620         * stdlib/bug-getcontext.c: Likewise.
61622 2012-05-17  Andreas Jaeger  <aj@suse.de>
61624         * manual/examples/search.c (critter_cmp): Change signature to
61625         avoid warnings.
61626         * manual/string.texi (Collation Functions): Likewise.
61628 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61630         * bits/types.h: Fold copyright years.
61631         * bits/typesizes.h: Likewise.
61632         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61636         * time/time.h: Likewise.
61638 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61640         [BZ #208]
61641         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61642         in instead of returning them.  Return void.
61643         (__libc_mallinfo): Accumulate over all arenas.
61644         (__malloc_stats): Adjust for change in int_mallinfo interface.
61646 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61648         [BZ #10375]
61649         * configure.in (NM): Add AC_CHECK_TOOL for it.
61650         (libc_extra_cflags): New substituted variable.
61651         Check for -fstack-protector being used implicitly.
61652         * configure: Regenerated.
61653         * config.make.in (config-extra-cflags): New variable,
61654         gets @libc_extra_cflags@.
61655         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61657         [BZ #10375]
61658         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61659         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61660         * configure: Regenerated.
61661         * config.make.in (CPPUNDEFS): New substituted variable.
61662         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61663         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61664         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61668         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61669         (mq_attr): Use __syscall_slong_t.
61671 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61673         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61674         Check __x86_64__ instead of __WORDSIZE.
61675         (_STAT_VER_LINUX): Likewise.
61676         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61677         __syscall_ulong_t and __syscall_slong_t.
61678         (stat64): Likewise.
61680 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61686         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61690         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61691         __syscall_ulong_t.
61693         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61694         include <bits/wordsize.h>.  Check __x86_64__ instead of
61695         __WORDSIZE.
61696         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61697         defined.
61698         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61701         include <bits/wordsize.h>.  Check __x86_64__ instead of
61702         __WORDSIZE.
61703         (user_regs_struct): Use "__extension__ unsigned long long"
61704         instead of "unsigned long" if __x86_64__ is defined.
61705         (user): Likewise.  Pad after pointer field if __ILP32__ is
61706         defined.
61708 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61710         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61711         versions 5 to 9.
61712         * configure: Regenerated.
61713         * manual/install.texi (texinfo): Increase version requirement to
61714         4.5 or later.
61715         * INSTALL: Regenerated.
61717         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61721         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61723         * sysdeps/x86_64/x32/ffs.c: New file.
61725         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61726         __syscall_ulong_t.
61727         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61728         defined.  Use __syscall_ulong_t.
61729         (shminfo): Use __syscall_ulong_t.
61730         (shm_info): Likewise.
61732         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61733         __syscall_ulong_t.
61735         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61736         <bits/wordsize.h>.
61737         (msgqnum_t): Use __syscall_ulong_t.
61738         (msglen_t): Likewise.
61739         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61740         __syscall_ulong_t.
61742         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61743         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61745         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61747         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61748         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61750         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61751         __syscall_slong_t.
61753         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61754         include <bits/wordsize.h>.  Check __x86_64__ instead of
61755         __WORDSIZE.
61757         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61758         "unsigned long long int" if __x86_64__ is defined.
61759         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61761         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61762         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61763         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61765         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61766         <stdint.h>.
61767         (GET_PC): Cast to uintptr_t first.
61768         (GET_FRAME): Likewise.
61769         (GET_STACK): Likewise.
61771         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61772         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61773         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61774         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61775         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61776         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61777         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61778         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61779         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61780         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61781         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61782         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61783         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61784         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61785         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61786         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61787         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61788         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61791         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61792         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61793         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61794         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61798         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61799         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61801 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61803         * Makerules (+depfiles): Also collect depfiles from .oS in
61804         $(extra-objs).
61805         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61806         .oS, $(libnldbl-routines)).
61808         * Makerules (native-compile-mkdep-flags): Define.
61809         * sunrpc/Makefile (extra-objs): Add $(addprefix
61810         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61811         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61812         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61813         calling $(make-target-directory).
61815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61817         * bits/types.h (__snseconds_t): Removed.
61818         * time/time.h (struct timespec): Replace __snseconds_t with
61819         __syscall_slong_t.
61820         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61821         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61822         Likewise.
61823         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61824         (__SNSECONDS_T_TYPE): Likewise.
61825         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61826         (__SNSECONDS_T_TYPE): Likewise.
61827         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61828         (__SNSECONDS_T_TYPE): Likewise.
61830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61832         * sysdeps/mach/hurd/bits/typesizes.h
61833         (__SYSCALL_SLONG_TYPE): New macro.
61834         (__SYSCALL_ULONG_TYPE): Likewise.
61836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61838         * bits/types.h (__syscall_slong_t): New type.
61839         (__syscall_ulong_t): Likewise.
61841         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61842         (__SYSCALL_ULONG_TYPE): Likewise.
61843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61844         (__SYSCALL_SLONG_TYPE): Likewise.
61845         (__SYSCALL_ULONG_TYPE): Likewise.
61846         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61847         (__SYSCALL_SLONG_TYPE): Likewise.
61848         (__SYSCALL_ULONG_TYPE): Likewise.
61849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61850         (__SYSCALL_SLONG_TYPE): Likewise.
61851         (__SYSCALL_ULONG_TYPE): Likewise.
61853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61855         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61856         Add sigaltstack-offsets.sym.
61857         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61858         <sigaltstack-offsets.h>.
61859         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61860         longjmp_msg pointer.
61861         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61862         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61863         signal stack.
61864         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61866 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61868         * elf/stackguard-macros.h: Remove file.
61869         * sysdeps/generic/stackguard-macros.h: New file.
61870         * sysdeps/i386/stackguard-macros.h: Likewise.
61871         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61872         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61873         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61874         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61875         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61876         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61877         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61878         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61879         <elf/stackguard-macros.h>.
61881         [BZ #14109]
61882         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61883         __aligned__ in attribute.
61884         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61885         (gregset_t): Likewise.
61887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61889         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61890         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61891         * sysdeps/x86_64/x32/Implies-after: New file.
61893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61895         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61896         and access return value for _dl_profile_fixup.  Use R10_LP to
61897         load frame size.
61899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61901         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61905         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61906         * sysdeps/x86_64/x32/sysdep.h: New file.
61908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61910         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61911         * sysdeps/x86_64/setjmp.S: Likewise.
61913 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61915         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61917         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61918         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61919         remove unused global constant.
61921 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61923         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61924         include of <not-cancel.h>.
61926 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61928         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61930 2012-05-15  Jeff Law  <law@redhat.com>
61931             Andreas Jaeger  <aj@suse.de>
61933         [BZ #13594]
61934         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61935         out from...
61936         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61937         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61938         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61939         code changing __hst_map_handle.map.
61941 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61943         * configure.in (sysnames): Look for Implies-before and Implies-after
61944         files.
61945         * configure: Regenerated.
61947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61950         8-byte data alignment with LP_SIZE alignment.
61952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61954         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61955         into R10_LP.
61957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61959         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61963         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61964         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61966         Likewise.
61967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61971         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61972         (stackinfo_sub_sp): Likewise.
61974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61977         RAX_LP.
61979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61982         into R*_LP.
61984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61986         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61987         sizes into R*_LP.
61989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61991         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61995         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61996         into R11_LP and load __x86_64_shared_cache_size_half into
61997         R8_LP.
61999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62001         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62002         R8_LP.
62004 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62007         logb for POWER7.
62008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62009         logbf for POWER7.
62010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62011         logbl for POWER7.
62012         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62013         powerpc32/power7/fpu/s_logb.c via #include.
62014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62015         powerpc32/power7/fpu/s_logbf.c via #include.
62016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62017         powerpc32/power7/fpu/s_logbl.c via #include.
62019 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62021         * README.libm: Remove file.
62023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62025         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62026         count for x32.  Use R*_LP and omit operand-size suffix.
62028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62030         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62031         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62032         * sysdeps/x86_64/x32/shlib-versions: New file.
62034 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62036         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62037         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62038         Use _dl_fatal_printf instead.
62040 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62042         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62043         set if not set by the user.  Do not allow for being unset.
62044         * sysdeps/unix/sysv/linux/configure: Regenerated.
62046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62048         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62049         the `q' suffix from lea and replace .quad with ASM_ADDR.
62051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62054         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62055         instead of $17.
62056         (PTR_DEMANGLE): Likewise.
62058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62060         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62061         (LP_OP): Likewise.
62062         (ASM_ADDR): Likewise.
62063         (RAX_LP): Likewise.
62064         (RBP_LP): Likewise.
62065         (RBX_LP): Likewise.
62066         (RCX_LP): Likewise.
62067         (RDI_LP): Likewise.
62068         (RSI_LP): Likewise.
62069         (RSP_LP): Likewise.
62070         (R8_LP): Likewise.
62071         (R9_LP): Likewise.
62072         (R10_LP): Likewise.
62073         (R10_LP): Likewise.
62074         (R11_LP): Likewise.
62075         (R12_LP): Likewise.
62076         (R13_LP): Likewise.
62077         (R14_LP): Likewise.
62078         (R15_LP): Likewise.
62080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62082         * sysdeps/x86_64/x32/dl-machine.h: New file.
62084 2012-05-14  Andreas Jaeger  <aj@suse.de>
62086         * manual/Makefile (subdir): Remove export of subdir.
62087         (all): Remove target.
62088         (.PHONY): Remove all from list.
62089         (mkinstalldirs): Remove.
62090         (.PHONY): Remove installdirs from list.
62091         ($(inst_infodir)/libc.info): Use make-target-directory.
62092         (installdirs): Remove.
62093         (subdir_%): Remove.
62094         (glibc-targets): Remove.
62095         (lib): Remove.
62096         (stubs): Remove.
62097         ($(objpfx)stubs ../po/manual.pot): Remove.
62098         ($(objpfx)stamp%): Remove.
62099         (make-target-directory): Remove.
62100         (subdir_install): Remove.
62101         (routines): Remove.
62102         (aux): Remove.
62103         (sources): Remove.
62104         (objects): Remove.
62105         (headers): Remove.
62107         [BZ #13750]
62108         * manual/.gitignore: Remove, it's not needed anymore.
62109         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62110         all files in it.
62111         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62112         directory.
62113         (texis): Renamed to $(objpfx)texis.
62114         (texis-path): New, contains path to generated files.
62115         (chapters.%): Use texis-path for complete path, add extra argument
62116         libc-texinfo.sh.
62117         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62118         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62119         (summary,texi, stamp-summary): Use complete path of
62120         files. Generate files in build dir.
62121         (dir-add.texi): Build in build dir.
62122         (libm-err.texi,stamp-libm-err): Likewise.
62123         (version.texi, stamp-version): Likewise.
62124         (.%c.texi): Likewise.
62125         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62126         (mostlyclean): Remove target.
62127         (realclean): Remove target.
62128         (generated): Add new variable with contents from mostlyclean and
62129         realclean, remove entries duplicated in common-mostlyclean, add
62130         stamp-libm-err and stamp-version.
62131         (generated-dirs): Add libc directory.
62132         ($(inst_infodir)/libc.info): Install files from build dir.
62134         * manual/install.texi (Configuring and compiling): Adjust since
62135         the info files are not part of the tar ball anymore.
62137 2012-05-14  Andreas Jaeger  <aj@suse.de>
62139         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62140         variable.
62142 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62144         [BZ #13717]
62145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62146         to 2.2.0 where earlier.
62147         * sysdeps/unix/sysv/linux/configure: Regenerated.
62148         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62149         Remove conditional code.
62150         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62151         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62152         Remove conditional code.
62153         [!__NR_lchown]: Likewise.
62154         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62155         [__NR_lchown]: Likewise.
62156         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62157         comment referencing __ASSUME_LCHOWN_SYSCALL.
62158         * sysdeps/unix/sysv/linux/i386/sigaction.c
62159         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62160         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62161         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62162         Remove conditional code.
62163         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62164         (__protocol_available): Remove #if 0 code.
62165         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62166         conditional code.
62167         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62168         * sysdeps/unix/sysv/linux/kernel-features.h
62169         (__ASSUME_GETCWD_SYSCALL): Don't define.
62170         (__ASSUME_REALTIME_SIGNALS): Likewise.
62171         (__ASSUME_PREAD_SYSCALL): Likewise.
62172         (__ASSUME_PWRITE_SYSCALL): Likewise.
62173         (__ASSUME_POLL_SYSCALL): Likewise.
62174         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62175         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62176         non-SPARC.
62177         (__ASSUME_SIOCGIFNAME): Don't define.
62178         (__ASSUME_MSG_NOSIGNAL): Likewise.
62179         (__ASSUME_SENDFILE): Define unconditionally.
62180         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62181         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62182         conditional code.
62183         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62184         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62185         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62186         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62187         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62188         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62189         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62194         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62200         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62206         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62214         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62215         Remove conditional code.
62216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62217         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62218         Remove conditional code.
62219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62220         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62221         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62222         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62223         Remove conditional code.
62224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62225         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62226         Remove conditional code.
62227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62228         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62229         Remove conditional code.
62230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62231         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62232         Remove conditional code.
62233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62234         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62235         Remove conditional code.
62236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62237         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62238         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62240         * sysdeps/unix/sysv/linux/sigaction.c
62241         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62242         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62243         * sysdeps/unix/sysv/linux/sigpending.c
62244         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62245         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62246         * sysdeps/unix/sysv/linux/sigprocmask.c
62247         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62248         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62249         * sysdeps/unix/sysv/linux/sigsuspend.c
62250         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62251         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62252         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62253         (__libc_missing_rt_sigs): Remove.
62254         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62255         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62256         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62257         Remove conditional code.
62258         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62259         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62260         return 1.
62261         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62262         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62263         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62264         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62266 2012-05-14  Andreas Jaeger  <aj@suse.de>
62268         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62269         it's not used in glibc.
62270         (__coshm1): Likewise.
62271         (__acosh1p): Likewise.
62272         (__sgn): Likewise.
62274         * manual/string.texi (Copying and Concatenation): Add missing
62275         variable in concat example.
62276         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62280         [BZ #14103]
62281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62282         __builtin_clzl with __builtin_clzll.
62284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62286         [BZ #14104]
62287         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62288         libc_freeres_ptr.
62290 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62292         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62293         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62294         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62295         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62297 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62299         * NEWS: Update ia64 info.
62301 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62303         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62304         used as bcopy.
62306 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62308         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62309         * sysdeps/unix/syscalls.list (dup3): Likewise.
62310         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62311         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62313 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62315         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62316         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62318 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62320         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62321         thread pointer.
62322         (TLS_IE): Use mov/add instead of movq/addq to load thread
62323         pointer.
62324         (TLS_GD_PREFIX): New.
62325         (TLS_GD): Use it.
62327 2012-05-11  David S. Miller  <davem@davemloft.net>
62329         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62330         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62331         (_FPU_SETCW): Likewise.
62333 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62335         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62336         is 32-byte aligned.
62338 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62340         [BZ #11837]
62341         * iconvdata/gb18030.c: Update tables.
62342         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62343         characters specially.
62344         (BODY for TO_LOOP): Add encoding of missing ranges.
62346 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62348         [BZ #13673]
62349         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62350         * sysdeps/mach/hurd/dup3.c: Likewise.
62351         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62352         * sysdeps/powerpc/memmove.c:: Likewise.
62354 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62357         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62359 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62361         * elf/elf.h (R_X86_64_RELATIVE64): New.
62362         (R_X86_64_NUM): Updated.
62363         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62364         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62365         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62366         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62367         tst-quad1pie tst-quad2pie
62368         (modules-names): Add tst-quadmod1 tst-quadmod2.
62369         ($(objpfx)tst-quad1): New dependency.
62370         ($(objpfx)tst-quad2): Likewise.
62371         ($(objpfx)tst-quad1pie): Likewise.
62372         ($(objpfx)tst-quad2pie): Likewise.
62373         * sysdeps/x86_64/tst-quad1.c: New file.
62374         * sysdeps/x86_64/tst-quad1pie.c: New file.
62375         * sysdeps/x86_64/tst-quad2.c: Likewise.
62376         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62377         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62378         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62379         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62380         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62384         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62385         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62386         * streams/stropts.h (t_scalar_t): Define type.
62388         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62389         (_PATH_PRESERVE): Set to "/var/lib".
62390         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62392         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62393         instead of int.
62395         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62396         if __dir_mkfile succeeded.
62398         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62399         checking for _hurd_dtablesize.  Unlock it right after having
62400         finished _hurd_dtable allocation.
62402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62404         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62405         * sysdeps/mach/hurd/configure: Regenerated.
62406         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62407         special-casing to...
62408         * sysdeps/gnu/configure.in: ... this new file.
62409         * sysdeps/unix/sysv/linux/configure: Regenerated.
62410         * sysdeps/gnu/configure: New generated file.
62412         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62413         for Linux: use nsec instead of usec, as well as:
62414         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62415         members of type struct timespec.
62416         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62417         New macros.
62418         (struct stat64): Likewise.
62419         (_STATBUF_ST_NSEC): New macro.
62420         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62422         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62423         __strtoul_internal rather than strtoul.
62425 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62427         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62428         and reject them.
62430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62432         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62433         which preserves existing values.
62434         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62438         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62439         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62440         greater than FD_SETSIZE.
62442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62444         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62445         allocated, call __vm_protect to finish enabling the existing space, and
62446         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62447         allocate the remainder.
62449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62451         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62452         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62456         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62457         sysdeps/mach/hurd/readlink.c.
62459         * posix/tst-sysconf.c (posix_options): Only use
62460         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62461         _POSIX_SYNCHRONIZED_IO when they are defined
62462         * sysdeps/mach/hurd/bits/posix_opt.h:
62463         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62464         (_XOPEN_REALTIME): Undefine macro.
62465         (_XOPEN_REALTIME_THREADS): Undefine macro.
62466         (_XOPEN_SHM): Undefine macro.
62467         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62468         macro to -1.
62469         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62470         macro to -1.
62471         (_POSIX_ASYNC_IO): Undefine macro.
62472         (_POSIX_PRIORITIZED_IO): Undefine macro.
62473         (_POSIX_SPIN_LOCKS): Define macro to -1.
62475         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62476         SA_NODEFER, SA_RESETHAND.
62477         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62478         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62479         F_DUPFD_CLOEXEC.
62481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62483         * elf/Makefile (pldd-modules): Define unconditionally.
62485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62487         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62491         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62492         Return ENOENT when name is empty.
62493         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62497         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62499         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62503         Fix mlock in all cases except non-readable pages.
62504         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62505         instead of VM_PROT_ALL as parameter to __vm_wire function.
62507         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62508         (__mkdir): When path is `/', just fail with EEXIST.
62509         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62513         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62514         <sys/uio.h> (for writev).
62515         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62516         and <sys/param.h> (for MIN).
62518 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62520         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62521         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62522         if interrupted.
62524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62526         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62527         Depend on against $(link-rpcuserlibs).
62529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62531         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62532         (__libc_stack_end): Do not use attribute_relro.
62533         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62534         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62535         to libthread-provided value.
62536         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62537         attribute_relro.
62539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62541         [BZ #3748]
62542         * bits/libc-lock.h (__libc_once_get): New macro.
62543         * sysdeps/mach/bits/libc-lock.h: Likewise.
62544         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62545         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62546         instead of using implementation details.
62548         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62549         * libio/freopen.c: Likewise.
62550         * libio/freopen64.c: Likewise.
62551         * misc/syslog.c: Likewise.
62552         * nscd/connections.c: Likewise.
62553         * nscd/netgroupcache.c: Likewise.
62554         * sysdeps/posix/getcwd.c: Likewise.
62556 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62558         * math/w_ilogbf.c: Add #include <limits.h>.
62560 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62562         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62563         path instead of returning without unlocking.
62565         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62566         immediate-write ioctls.
62567         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62571         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62572         __builtin_frame_address instead of making assumptions about the
62573         location of the return address relative to DATA.  Force early load of
62574         the return address.
62575         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62576         __builtin_frame_address.
62578         dup3 for GNU Hurd.
62579         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62580         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62581         implement dup3 and do some further code clean-ups.
62582         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62583         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62587         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62589         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62590         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62591         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62592         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62593         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62594         d->port.lock.
62596         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62597         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62598         when handler == SIG_ERR, not when handler != SIG_ERR.
62600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62602         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62603         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62604         definitions.
62606         accept4 for GNU Hurd.
62607         * include/sys/socket.h (__libc_accept4): New prototype.
62608         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62609         to implement __libc_accept4.
62610         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62611         __libc_accept4.
62612         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62614         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62615         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62616         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62617         signal-defines.sym.
62619 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62621         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62625         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62626         assertion on O_CLOEXEC flag.
62627         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62628         * hurd/intern-fd.c: Likewise.
62629         * hurd/port2fd.c: Likewise.
62631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62633         [BZ #3906]
62634         * bits/in.h (IPV6_PKTINFO): Define new macro.
62635         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62637 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62639         [BZ #13954]
62640         [BZ #13955]
62641         [BZ #13956]
62642         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62644         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62645         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62647         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62648         * math/libm-test.inc (logb_test) : Additional logb tests.
62650 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62651             Andreas Jaeger  <aj@suse.de>
62653         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62654         * configure: Regenerated.
62655         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62656         * config.make.in (link-obsolete-rpc): New substituted variable.
62657         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62658         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62659         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62660         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62661         so that libc.a contains the symbols.
62662         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62663         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62664         * sunrpc/auth_none.c: Likewise.
62665         * sunrpc/auth_unix.c: Likewise.
62666         * sunrpc/authdes_prot.c: Likewise.
62667         * sunrpc/authuxprot.c: Likewise.
62668         * sunrpc/clnt_gen.c: Likewise.
62669         * sunrpc/clnt_perr.c: Likewise.
62670         * sunrpc/clnt_raw.c: Likewise.
62671         * sunrpc/clnt_simp.c: Likewise.
62672         * sunrpc/clnt_tcp.c: Likewise.
62673         * sunrpc/clnt_udp.c: Likewise.
62674         * sunrpc/clnt_unix.c: Likewise.
62675         * sunrpc/des_crypt.c: Likewise.
62676         * sunrpc/des_soft.c: Likewise.
62677         * sunrpc/get_myaddr.c: Likewise.
62678         * sunrpc/key_call.c: Likewise.
62679         * sunrpc/key_prot.c: Likewise.
62680         * sunrpc/netname.c: Likewise.
62681         * sunrpc/pm_getmaps.c: Likewise.
62682         * sunrpc/pm_getport.c: Likewise.
62683         * sunrpc/pmap_clnt.c: Likewise.
62684         * sunrpc/pmap_prot.c: Likewise.
62685         * sunrpc/pmap_prot2.c: Likewise.
62686         * sunrpc/pmap_rmt.c: Likewise.
62687         * sunrpc/publickey.c: Likewise.
62688         * sunrpc/rpc_cmsg.c: Likewise.
62689         * sunrpc/rpc_common.c: Likewise.
62690         * sunrpc/rpc_dtable.c: Likewise.
62691         * sunrpc/rpc_prot.c: Likewise.
62692         * sunrpc/rpc_thread.c: Likewise.
62693         * sunrpc/rtime.c: Likewise.
62694         * sunrpc/svc.c: Likewise.
62695         * sunrpc/svc_auth.c: Likewise.
62696         * sunrpc/svc_raw.c: Likewise.
62697         * sunrpc/svc_run.c: Likewise.
62698         * sunrpc/svc_tcp.c: Likewise.
62699         * sunrpc/svc_udp.c: Likewise.
62700         * sunrpc/svc_unix.c: Likewise.
62701         * sunrpc/svcauth_des.c: Likewise.
62702         * sunrpc/xcrypt.c: Likewise.
62703         * sunrpc/xdr.c: Likewise.
62704         * sunrpc/xdr_array.c: Likewise.
62705         * sunrpc/xdr_float.c: Likewise.
62706         * sunrpc/xdr_intXX_t.c: Likewise.
62707         * sunrpc/xdr_mem.c: Likewise.
62708         * sunrpc/xdr_rec.c: Likewise.
62709         * sunrpc/xdr_ref.c: Likewise.
62710         * sunrpc/xdr_sizeof.c: Likewise.
62711         * sunrpc/xdr_stdio.c: Likewise.
62713 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62715         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62716         change.  Update copyright years.
62718 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62720         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62722 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62723             Joseph Myers  <joseph@codesourcery.com>
62724             Paul Pluzhnikov  <ppluzhnikov@google.com>
62726         [BZ #14012]
62727         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62728         requiring rpcgen.
62729         [cross-compiling] (extra-libs): Likewise.
62730         [cross-compiling] (extra-libs-others): Likewise.
62731         [cross-compiling] (librpcsvc-routines): Likewise.
62732         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62733         [cross-compiling] (omit-deps): Likewise.
62734         (sunrpc-CPPFLAGS): New variable.
62735         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62736         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62737         (cross-rpcgen-objs): New variable.
62738         (extra-objs): Append $(cross-rpcgen-objs).
62739         ($(cross-rpcgen-objs)): New rule.
62740         ($(objpfx)cross-rpcgen): Likewise.
62741         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62742         comment.
62743         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62744         ($(objpfx)x%.stmp): Likewise.
62745         * sunrpc/proto.h [IS_IN_build] (_): Define.
62746         [IS_IN_build] (_libc_intl_domainname): Likewise.
62748 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62751         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62752         and R_X86_64_TPOFF64.
62754 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62756         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62757         sysdeps/unix/sysv/syscalls.list.
62758         (stime): Likewise.
62759         (utime): Likewise.
62760         * sysdeps/unix/sysv/syscalls.list: Remove file.
62762 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62764         [BZ #3440]
62765         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62766         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62767         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62768         (__LC_IDENTIFICATION): Make these macros useful in #if
62769         expressions, as required by C99.
62771 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62773         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62774         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62775         after this.
62777 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62779         * stdlib/longlong.h: Updated from GCC.
62781 2012-05-09  Andreas Jaeger  <aj@suse.de>
62783         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62784         default is first entry.
62785         (run_mode): Set type.
62786         (main): Remove informal message about syslog.
62787         (options): Fix typo.
62789         [BZ #14053]
62790         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62791         to asm.
62792         (lrint): Likewise.
62793         (llrintf): Likewise.
62794         (llrint): Likewise.
62795         (rint): Likewise.
62796         (rintf): Likewise.
62797         (nearbyint): Likewise.
62798         (nearbyintf): Likewise.
62800 2012-05-09  Andreas Jaeger  <aj@suse.de>
62801             Pedro Alves  <palves@redhat.com>
62803         * nscd/nscd.c (run_mode): Use enum.
62804         (main): Cleanup coding style issue.
62806 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62807             Andreas Jaeger  <aj@suse.de>
62809         * nscd/nscd.c (go_background): Replaced with...
62810         (run_mode): ... this.
62811         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62812         (options): Add -F --foreground.
62813         (main): Implement it.
62814         (parse_opt): Parse it.
62816 2012-05-09  Andreas Jaeger  <aj@suse.de>
62818         [BZ #14083]
62819         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62820         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62821         -Wconversion warning.
62822         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62823         Likewise.
62825 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62827         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62828         == 0.
62829         (LC_ALL): Use macro-int-constant.
62830         (LC_COLLATE): Likewise.
62831         (LC_CTYPE): Likewise.
62832         (LC_MESSAGES): Likewise.
62833         (LC_MONETARY): Likewise.
62834         (LC_NUMERIC): Likewise.
62835         (LC_TIME): Likewise.
62836         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62837         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62839         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62840         Specify type.
62841         [C99-based standards] (float_t): Expect type.
62842         [C99-based standards] (double_t): Expect type.
62843         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62844         type.
62845         [C99-based standards] (HUGE_VALL): Likewise.
62846         [C99-based standards] (INFINITY): Likewise.
62847         [C99-based standards] (NAN): Likewise.
62848         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62849         [C99-based standards] (FP_NAN): Likewise.
62850         [C99-based standards] (FP_NORMAL): Likewise.
62851         [C99-based standards] (FP_SUBNORMAL): Likewise.
62852         [C99-based standards] (FP_ZERO): Likewise.
62853         [C99-based standards] (FP_FAST_FMA): Use
62854         optional-macro-int-constant.  Specify type.  Require == 1.
62855         [C99-based standards] (FP_FAST_FMAF): Likewise.
62856         [C99-based standards] (FP_FAST_FMAL): Likewise.
62857         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62858         [C99-based standards] (FP_ILOGBNAN): Likewise.
62859         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62860         Specify type.
62861         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62862         [C99-based standards] (math_errhandling): Specify type.
62863         [ISO99 || ISO11] (signgam): Do not allow.
62864         [non-C99-based standards] (copysignf): Do not allow.
62865         [non-C99-based standards] (exp2f): Likewise.
62866         [non-C99-based standards] (log2f): Likewise.
62867         [non-C99-based standards] (modff): Allow.
62868         [non-C99-based standards] (erff): Do not allow.
62869         [non-C99-based standards] (erfcf): Likewise.
62870         [non-C99-based standards] (gammaf): Likewise.
62871         [non-C99-based standards] (hypotf): Likewise.
62872         [non-C99-based standards] (j0f): Likewise.
62873         [non-C99-based standards] (j1f): Likewise.
62874         [non-C99-based standards] (jnf): Likewise.
62875         [non-C99-based standards] (lgammaf): Likewise.
62876         [non-C99-based standards] (tgammaf): Likewise.
62877         [non-C99-based standards] (y0f): Likewise.
62878         [non-C99-based standards] (y1f): Likewise.
62879         [non-C99-based standards] (ynf): Likewise.
62880         [non-C99-based standards] (isnanf): Likewise.
62881         [non-C99-based standards] (acoshf): Likewise.
62882         [non-C99-based standards] (asinhf): Likewise.
62883         [non-C99-based standards] (atanhf): Likewise.
62884         [non-C99-based standards] (cbrtf): Likewise.
62885         [non-C99-based standards] (expm1f): Likewise.
62886         [non-C99-based standards] (ilogbf): Likewise.
62887         [non-C99-based standards] (log1pf): Likewise.
62888         [non-C99-based standards] (logbf): Likewise.
62889         [non-C99-based standards] (nextafterf): Likewise.
62890         [non-C99-based standards] (remainderf): Likewise.
62891         [non-C99-based standards] (rintf): Likewise.
62892         [non-C99-based standards] (scalbf): Likewise.
62893         [non-C99-based standards] (copysignl): Likewise.
62894         [non-C99-based standards] (exp2l): Likewise.
62895         [non-C99-based standards] (log2l): Likewise.
62896         [non-C99-based standards] (modfl): Allow.
62897         [non-C99-based standards] (erfl): Do not allow.
62898         [non-C99-based standards] (erfcl): Likewise.
62899         [non-C99-based standards] (gammal): Likewise.
62900         [non-C99-based standards] (hypotl): Likewise.
62901         [non-C99-based standards] (j0l): Likewise.
62902         [non-C99-based standards] (j1l): Likewise.
62903         [non-C99-based standards] (jnl): Likewise.
62904         [non-C99-based standards] (lgammal): Likewise.
62905         [non-C99-based standards] (tgammal): Likewise.
62906         [non-C99-based standards] (y0l): Likewise.
62907         [non-C99-based standards] (y1l): Likewise.
62908         [non-C99-based standards] (ynl): Likewise.
62909         [non-C99-based standards] (isnanl): Likewise.
62910         [non-C99-based standards] (acoshl): Likewise.
62911         [non-C99-based standards] (asinhl): Likewise.
62912         [non-C99-based standards] (atanhl): Likewise.
62913         [non-C99-based standards] (cbrtl): Likewise.
62914         [non-C99-based standards] (expm1l): Likewise.
62915         [non-C99-based standards] (ilogbl): Likewise.
62916         [non-C99-based standards] (log1pl): Likewise.
62917         [non-C99-based standards] (logbl): Likewise.
62918         [non-C99-based standards] (nextafterl): Likewise.
62919         [non-C99-based standards] (remainderl): Likewise.
62920         [non-C99-based standards] (rintl): Likewise.
62921         [non-C99-based standards] (scalbl): Likewise.
62922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62923         [non-C99-based standards] (FP_*): Do not allow.
62924         [C99-based standards] (FP_*): Change to
62925         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62926         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62927         allow.
62928         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62929         (SIG_ERR): Likewise.
62930         [X/Open-based standards] (SIG_HOLD): Likewise.
62931         (SIG_IGN): Likewise.
62932         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62933         positive value.
62934         (SIGFPE): Likewise.
62935         (SIGILL): Likewise.
62936         (SIGINT): Likewise.
62937         (SIGSEGV): Likewise.
62938         (SIGTER): Likewise.
62939         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62940         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62941         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62942         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62943         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62944         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62945         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62946         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62947         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62948         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62949         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62950         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62951         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62952         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62953         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62954         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62955         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62956         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62957         [X/Open-based standards] (SIGTRAP): Likewise.
62958         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62959         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62960         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62961         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62962         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62963         allow.
62965 2012-05-08  Ian Wienand  <ianw@vmware.com>
62967         [BZ #14080]
62968         * time/tzset.c (__tzset_parse_tz): Update default rules for
62969         daylight time changes in the Energy Policy Act of 2005.
62971 2012-05-09  Andreas Jaeger  <aj@suse.de>
62973         [BZ #13983]
62974         * elf/ldconfig.c (parse_conf): Change string to make clear that
62975         ldconfig only issued a warning if ld.so.conf does not exist.
62977 2012-05-08  David S. Miller  <davem@davemloft.net>
62979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62980         movxtod instead of popping the value on the stack.
62982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62984 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62986         * config.h.in: Add HAVE_ARM_PCS_VFP.
62988 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62990         [BZ #13979]
62991         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62992         checking but the checks are disabled for any reason.
62994 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62996         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62997         and ELF64_R_TYPE with ELFW(R_TYPE).
62999 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63001         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63002         (ulimit): Likewise.
63004         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63005         (settimeofday): Likewise.
63007 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63009         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63010         a struct th_u2 inside the union, and move tu_block/tu_code into
63011         a new th_u3 union of tu_block/tu_code inside of that.  Move
63012         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63013         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63014         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63015         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63016         (th_stuff): Change to th_u1.tu_stuff.
63017         (th_data): Define.
63018         (th_msg): Change to th_u1.th_u2.tu_data.
63020 2012-05-07  David S. Miller  <davem@davemloft.net>
63022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63024         [BZ #14074]
63025         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63026         (SETUP_PIC_REG): Use it.
63027         (SETUP_PIC_REG_LEAF): Use it.
63029 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63031         [BZ #13885]
63032         [BZ #13923]
63033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63034         USE_AS_EXPM1L.
63035         (EXPL_FINITE): Likewise.
63036         (FLDLOG): Likewise.
63037         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63038         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63039         e_expl.S.
63040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63041         USE_AS_EXPM1L.
63042         (EXPL_FINITE): Likewise.
63043         (FLDLOG): Likewise.
63044         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63045         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63046         e_expl.S.
63047         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63048         test of -max_value argument for long double.
63049         * sysdeps/i386/fpu/libm-test-ulps: Update.
63050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63052 2012-05-06  David S. Miller  <davem@davemloft.net>
63054         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63055         quad soft-float symbols whose references which are compiler
63056         generated.
63057         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63059 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63061         [BZ #13884]
63062         [BZ #13914]
63063         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63064         USE_AS_EXP10L.
63065         (EXPL_FINITE): Likewise.
63066         (FLDLOG): Likewise.
63067         (c0): Likewise.
63068         (c1): Likewise.
63069         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63070         Adjust comments for base varying.
63071         (__expl_finite): Change alias to EXPL_FINITE.
63072         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63073         e_expl.S.
63074         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63075         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63076         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63077         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63079         USE_AS_EXP10L.
63080         (EXPL_FINITE): Likewise.
63081         (FLDLOG): Likewise.
63082         (c0): Likewise.
63083         (c1): Likewise.
63084         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63085         Adjust comments for base varying.
63086         (__expl_finite): Change alias to EXPL_FINITE.
63087         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63088         tests for bugs.
63089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63091         [BZ #14064]
63092         * math/libm-test.inc (check_float_internal): Correct ulp
63093         calculation for subnormal expected results.
63095 2012-05-06  Andreas Jaeger  <aj@suse.de>
63097         * Makeconfig (+math-flags): New, set to -frounding-math.
63098         (+cflags): Add +math-flags so that all of glibc gets compiled with
63099         it.
63101         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63103 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63105         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63106         Disable one test.
63108         [BZ #13787]
63109         [BZ #13922]
63110         [BZ #14036]
63111         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63112         (__ieee754_expl): Allow for and saturate large arguments.
63113         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63114         (u_threshold): Likewise.
63115         (__exp): Call __ieee754_exp before checking for overflow and
63116         underflow.
63117         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63118         (u_threshold): Likewise.
63119         (__expf): Call __ieee754_expf before checking for overflow and
63120         underflow.
63121         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63122         (u_threshold): Likewise.
63123         (__expl): Call __ieee754_expl before checking for overflow and
63124         underflow.
63125         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63126         (__ieee754_expl): Allow for and saturate large arguments.
63127         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63128         missing overflow exception on overflow.
63129         (expm1_test): Do not allow missing overflow exception on overflow.
63131         * sysdeps/i386/fpu/e_expl.c: Move to ...
63132         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63133         rather than using inline asm.
63134         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63135         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63136         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63138         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63139         (nice): Likewise.
63140         (poll): Likewise.
63141         (signal): Likewise.
63142         (time): Likewise.
63143         (times): Likewise.
63145 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63147         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63148         sysdeps/unix/common/syscalls.list.
63149         (fchmod): Likewise.
63150         (fchown): Likewise.
63151         (ftruncate): Likewise.
63152         (getrusage): Likewise.
63153         (gettimeofday): Likewise.
63154         (setpgid): Likewise.
63155         (setregid): Likewise.
63156         (setreuid): Likewise.
63157         (sigaction): Likewise.
63158         (truncate): Likewise.
63159         (vhangup): Likewise.
63160         * sysdeps/unix/common/syscalls.list: Remove file.
63161         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63162         * sysdeps/unix/sysv/linux/Implies: Likewise.
63164 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63168         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63169         Moved to ...
63170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63171         Here.
63172         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63173         to ...
63174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63175         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63176         to ...
63177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63178         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63179         to ...
63180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63181         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63182         to ...
63183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63185         to ...
63186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63187         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63188         to ...
63189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63190         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63191         to ...
63192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63193         Here.
63194         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63195         to ...
63196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63197         Here.
63198         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63199         to ...
63200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63201         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63202         Moved to ...
63203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63204         Here.
63205         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63206         to ...
63207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63209 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63211         * sysdeps/unix/common/bits/dirent.h: Remove file.
63212         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63214         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63215         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63216         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63217         * sysdeps/unix/bsd/isatty.c: Likewise.
63218         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63219         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63220         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63222 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63224         [BZ #13563]
63225         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63226         long double comparison inaccuracies.
63227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63230 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63232         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63233         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63235 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63237         [BZ #14049]
63238         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63239         nonzero digits before rounding a hex value.
63240         * stdlib/tst-strtod.c (tests): Add another test.
63242 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63244         * sysdeps/s390/fpu/libm-test-ulps: Update.
63246 2012-05-03  Andreas Jaeger  <aj@suse.de>
63248         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63249         does not get optimized out.
63250         (malloc_opt_barrier): New.
63252 2012-05-03  Andreas Jaeger  <aj@suse.de>
63253             Roland McGrath  <roland@hack.frob.com>
63255         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63256         intermediate file deletion.
63257         (generated): Add .symlist files.
63259 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63261         [BZ #13775]
63262         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63263         Redirect under this condition.
63264         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63265         [__USE_GNU] (__dprintf_chk): Not under this condition.
63266         [__USE_GNU] (__vdprintf_chk): Likewise.
63267         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63268         under this condition.
63269         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63270         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63271         [__USE_XOPEN2K8] (vdprintf): Likewise.
63272         [__USE_GNU] (__dprintf_chk): Not under this condition.
63273         [__USE_GNU] (__vdprintf_chk): Likewise.
63274         [__USE_GNU] (dprintf): Likewise.
63275         [__USE_GNU] (vdprintf): Likewise.
63277 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63279         * elf/Makefile (common-generated): Set this instead of generated for
63280         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63281         $(all-built-dso)-derived lists.
63283 2012-05-03  Andreas Jaeger  <aj@suse.de>
63285         * sysdeps/i386/fpu/libm-test-ulps: Update.
63287         * FAQ: Removed.
63288         * FAQ.in: Likewise.
63289         * scripts/gen-FAQ.pl: Likewise.
63290         * manual/install.texi (Installation): Point to online location of
63291         FAQ.
63292         * Makefile (files-for-dist): Remove FAQ.
63293         (FAQ): Remove.
63295 2012-05-02  Allan McRae  <allan@archlinux.org>
63297         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63298         (LDFLAGS-reldepmod5.so): Likewise.
63299         (LDFLAGS-reldep6mod1.so): Likewise.
63300         (LDFLAGS-reldep6mod4.so): Likewise.
63301         (LDFLAGS-reldep8mod3.so): Likewise.
63302         (LDFLAGS-unload4mod1.so): Likewise.
63303         (LDFLAGS-unload4mod2.so): Likewise.
63304         (LDFLAGS-tst-initorder): Likewise.
63305         (LDFLAGS-tst-initordera2.so): Likewise.
63306         (LDFLAGS-tst-initordera3.so): Likewise.
63307         (LDFLAGS-tst-initordera4.so): Likewise.
63308         (LDFLAGS-tst-initorderb2.so): Likewise.
63309         (LDFLAGS-noload): Likewise.
63310         (LDFLAGS-next): Likewise.
63311         (LDFLAGS-order2mod1.so): Likewise.
63312         (LDFLAGS-order2mod2.so): Likewise.
63313         (LDFLAGS-tst-initorder2): Likewise.
63314         (LDFLAGS-tst-initorder2a.so): Likewise.
63315         (LDFLAGS-tst-initorder2b.so): Likewise.
63316         (LDFLAGS-tst-initorder2c.so): Likewise.
63317         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63319 2012-05-02  David S. Miller  <davem@davemloft.net>
63321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63323 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63325         [BZ #14055]
63326         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63328 2012-05-02  Andreas Jaeger  <aj@suse.de>
63330         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63331         since we manipulate rounding mode.
63332         (CPPFLAGS-test-idouble.c): Likewise.
63333         (CPPFLAGS-test-ifloat.c): Likewise.
63334         (CFLAGS-test-ldouble.c): Likewise.
63335         (CFLAGS-test-double.c): Likewise.
63336         (CFLAGS-test-float.c): Likewise.
63337         (CFLAGS-test-misc.c): Likewise.
63338         (CFLAGS-test-test-fenv.c): Likewise.
63340 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63342         [BZ #2550]
63343         [BZ #2570]
63344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63345         comparisons to determine direction to adjust input.
63347 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63349         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63350         output to the target.
63352         * scripts/localplt.awk: New file.
63353         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63354         (check-localplt-CFLAGS): Variable removed.
63355         ($(all-built-dso:=.jmprel)): New static pattern rule.
63356         (generated): Add those targets.
63357         (localplt-built-dso): New variable.
63358         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63360         * elf/check-localplt.c: File removed.
63362         * scripts/check-execstack.awk: New file.
63363         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63364         (check-execstack-CFLAGS): Variable removed.
63365         ($(objpfx)check-execstack.h): Target removed.
63366         ($(objpfx)execstack-default): New target.
63367         (generated): Add that instead of check-execstack.h.
63368         ($(all-built-dso:=.phdr)): New static pattern rule.
63369         (generated): Add those targets.
63370         * elf/check-execstack.c: File removed.
63372         * scripts/check-textrel.awk: New file.
63373         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63374         (check-textrel-CFLAGS): Variable removed.
63375         (all-built-dso): Use := to define.o
63376         ($(all-built-dso:=.dyn)): New static pattern rule.
63377         (generated): Add those targets.
63378         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63379         * config.make.in (READELF): New substituted variable.
63380         * elf/check-textrel.c: File removed.
63382 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63384         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63385         allow.
63386         * conform/data/ctype.h-data [C99-based standards] (isblank):
63387         Expect function.
63388         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63389         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63391         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63392         Specify type.  Require positive value.
63393         (EILSEQ): Likewise.
63394         (ERANGE): Likewise.
63395         [ISO || POSIX] (EILSEQ): Do not expect.
63396         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63397         Specify type.  Require positive value.
63398         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63399         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63400         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63401         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63402         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63403         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63404         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63405         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63406         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63407         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63408         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63409         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63410         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63411         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63412         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63413         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63414         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63415         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63416         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63418         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63419         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63421         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63422         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63423         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63424         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63425         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63426         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63427         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63428         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63429         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63430         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63431         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63432         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63433         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63434         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63435         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63436         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63437         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63438         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63439         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63440         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63441         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63442         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63443         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63444         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63445         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63446         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63447         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63448         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63449         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63461         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63462         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63463         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63464         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63472         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63473         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63474         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63475         Require >= 2.
63476         (FLT_ROUNDS): Expect as macro, not constant.
63477         (FLT_MANT_DIG): Use macro-int-constant.
63478         (DBL_MANT_DIG): Likewise.
63479         (LDBL_MANT_DIG): Likewise.
63480         (FLT_DIG): Likewise.
63481         (DBL_DIG): Likewise.
63482         (LDBL_DIG): Likewise.
63483         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63484         (DBL_MIN_EXP): Likewise.
63485         (LDBL_MIN_EXP): Likewise.
63486         (FLT_MAX_EXP): Use macro-int-constant.
63487         (DBL_MAX_EXP): Likewise.
63488         (LDBL_MAX_EXP): Likewise.
63489         (FLT_MAX_10_EXP): Likewise.
63490         (DBL_MAX_10_EXP): Likewise.
63491         (LDBL_MAX_10_EXP): Likewise.
63492         (FLT_MAX): Use macro-constant.
63493         (DBL_MAX): Likewise.
63494         (LDBL_MAX): Likewise.
63495         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63496         (DBL_EPSILON): Likewise.
63497         (LDBL_EPSILON): Likewise.
63498         (FLT_MIN): Likewise.
63499         (DBL_MIN): Likewise.
63500         (LDBL_MIN): Likewise.
63501         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63502         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63503         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63504         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63505         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63506         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63507         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63508         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63509         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63510         [ISO11] (FLT_TRUE_MIN): Likewise.
63511         [ISO11] (LDBL_TRUE_MIN): Likewise.
63512         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63513         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63514         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63515         (SCHAR_MAX): Likewise.
63516         (UCHAR_MAX): Likewise.
63517         (CHAR_MIN): Likewise.
63518         (CHAR_MAX): Likewise.
63519         (MB_LEN_MAX): Use macro-int-constant.
63520         (SHRT_MIN): Use macro-int-constant.  Specify type.
63521         (SHRT_MAX): Likewise.
63522         (USHRT_MAX): Likewise.
63523         (INT_MAX): Likewise.
63524         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63525         bound negative.
63526         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63527         bound with "U".
63528         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63529         bound with "L".
63530         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63531         bound negative.  Suffix upper bound with "L".
63532         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63533         bound with "UL".
63534         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63535         Specify type.
63536         [C99-based standards] (LLONG_MAX): Likewise.
63537         [C99-based standards] (ULLONG_MAX): Likewise.
63538         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63539         == 0.
63540         [ISO11] (max_align_t): Require type.
63541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63543         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63544         from $CFLAGS, without defining away __attribute__ calls.
63545         (checknamespace): Use $CFLAGS_namespace.
63547         * conform/conformtest.pl (@keywords): Only include C99 keywords
63548         for standards based on C99 or C11.
63550         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63551         Disable tests.
63552         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63553         UNIX98]: Likewise.
63555         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63556         usability of symbols in #if.
63558         * conform/conformtest.pl: If macro or constant types start
63559         "promoted:", expect the symbol to be of the following type
63560         promoted by the integer promotions.
63562         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63563         in one place.  Also handle "macro-constant".
63565         * conform/conformtest.pl: Only accept expected macro values with
63566         "==".  Parse all "macro" lines in one place.
63567         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63569         * conform/conformtest.pl: Handle braced types on "constant" lines
63570         instead of handling "typed-constant".
63571         * conform/data/signal.h-data: Use "constant" instead of
63572         "typed-constant".
63574         * conform/conformtest.pl: Handle "optional-" at start of lines in
63575         one place rather than duplicating several cases.  Handle each
63576         format of "macro" line with initial "optional-".
63578         * conform/conformtest.pl: Only accept expected constant or
63579         optional-constant values with "==".  Parse all "constant" lines in
63580         one place.  Parse all "optional-constant" lines in one place.
63581         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63582         * conform/data/fmtmsg.h-data: Likewise.
63583         * conform/data/netinet/in.h-data: Likewise.
63584         * conform/data/tar.h-data: Likewise.
63585         * conform/data/limits.h-data: Use "==" form on "constant" and
63586         "optional-constant" lines.
63588         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63589         Use -std=c99 for XOPEN2K.
63590         (@knownproblems): Remove.
63591         (newtoken): Don't check %isknown.
63593         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63594         Do not expect macro.
63595         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63596         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63597         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63598         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63599         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63600         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63601         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63602         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63603         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63604         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63605         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63606         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63607         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63608         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63609         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63610         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63611         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63612         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63613         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63614         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63615         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63616         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63617         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63618         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63619         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63620         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63621         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63622         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63623         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63624         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63625         [XPG3] (acosh): Likewise.
63626         [XPG3] (asinh): Likewise.
63627         [XPG3] (atanh): Likewise.
63628         [XPG3] (cbrt): Likewise.
63629         [XPG3] (expm1): Likewise.
63630         [XPG3] (ilogb): Likewise.
63631         [XPG3] (log1p): Likewise.
63632         [XPG3] (logb): Likewise.
63633         [XPG3] (nextafter): Likewise.
63634         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63635         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63636         [XPG3] (remainder): Likewise.
63637         [XPG3] (rint): Likewise.
63638         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63639         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63640         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63641         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63642         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63643         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63644         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63645         [UNIX98 || XOPEN2K] (scalb): Expect.
63646         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63647         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63648         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63649         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63650         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63651         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63652         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63653         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63655         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63656         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63657         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63658         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63664         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63665         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63666         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63670         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63671         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63672         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63673         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63674         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63675         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63676         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63677         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63678         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63681         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63682         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63690         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63691         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63692         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63728         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63729         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63730         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63731         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63732         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63733         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63734         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63735         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63736         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63737         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63738         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63739         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63740         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63741         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63742         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63743         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63744         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63745         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63746         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63747         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63748         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63749         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63750         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63751         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63752         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63753         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63754         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63755         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63756         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63757         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63758         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63759         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63760         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63761         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63762         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63763         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63764         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63765         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63766         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63767         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63768         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63769         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63770         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63771         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63772         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63773         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63774         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63775         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63776         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63777         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63778         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63780         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63781         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63782         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63784         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63785         _XOPEN_SOURCE_EXTENDED for XPG4.
63787         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63789         * Makeconfig (localtime): Remove variable.
63790         (inst_localtime-file): Likewise.
63792 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63795         Update.
63796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63797         Update.
63798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63799         Update.
63800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63801         Update.
63802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63803         Update.
63804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63805         Update.
63806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63807         Update.
63808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63809         Update.
63810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63811         Update.
63813 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63815         [BZ #2550]
63816         [BZ #2570]
63817         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63818         comparisons to determine direction to adjust input.
63819         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63820         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63821         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63822         Likewise.
63823         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63824         Likewise.
63825         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63826         Likewise.
63827         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63828         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63829         Likewise.
63830         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63831         Likewise.
63832         * math/libm-test.inc (nexttoward_test): Add more tests.
63834 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63836         [BZ #14040]
63837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63838         in version GLIBC_2.1, not GLIBC_2.0.
63839         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63840         Likewise.
63842 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63844         [BZ #13942]
63845         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63846         (1 - x) * (1 + x).
63847         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63848         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63849         * math/libm-test.inc (acos_test): Add more tests.
63850         (asin_test): Likewise.
63851         * sysdeps/i386/fpu/libm-test-ulps: Update.
63852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63854         [BZ #14034]
63855         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63856         of square root.
63857         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63859         * math/libm-test.inc (acos_test_tonearest): New function.
63860         (acos_test_towardzero): Likewise.
63861         (acos_test_downward): Likewise.
63862         (acos_test_upward): Likewise.
63863         (asin_test_tonearest): Likewise.
63864         (asin_test_towardzero): Likewise.
63865         (asin_test_downward): Likewise.
63866         (asin_test_upward): Likewise.
63867         (main): Call the new functions.
63868         * sysdeps/i386/fpu/libm-test-ulps: Update.
63869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63871         [BZ #13884]
63872         [BZ #13924]
63873         * math/e_exp10.c: Include <float.h>.
63874         (__ieee754_exp10): Handle underflow here rather than multiplying
63875         large negative argument by M_LN10.
63876         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63877         of __ieee754_expf.
63878         * math/e_exp10l.c: Include <float.h>.
63879         (__ieee754_exp10l): Handle underflow here rather than multiplying
63880         large negative argument by M_LN10l.
63881         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63882         spurious overflow exception on underflow.
63884 2012-04-29  Marek Polacek  <polacek@redhat.com>
63886         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63887         (__fortify_function): New macro.
63888         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63889         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63890         __extern_always_inline.
63891         * libio/bits/stdio2.h: Likewise.
63892         * libio/bits/stdio.h: Likewise.
63893         * string/string.h: Likewise.
63894         * string/bits/string3.h: Likewise.
63895         * include/stdio.h: Likewise.
63896         * stdlib/bits/stdlib.h: Likewise.
63897         * stdlib/stdlib.h: Likewise.
63898         * rt/bits/mqueue2.h: Likewise.
63899         * rt/mqueue.h: Likewise.
63900         * posix/bits/unistd.h: Likewise.
63901         * posix/unistd.h: Likewise.
63902         * io/bits/poll2.h: Likewise.
63903         * io/bits/fcntl2.h: Likewise.
63904         * io/fcntl.h: Likewise.
63905         * io/sys/poll.h: Likewise.
63906         * misc/bits/syslog.h: Likewise.
63907         * misc/bits/syslog-ldbl.h: Likewise.
63908         * misc/sys/syslog.h: Likewise.
63909         * socket/bits/socket2.h: Likewise.
63910         * socket/sys/socket.h: Likewise.
63911         * debug/tst-chk1.c: Likewise.
63912         * wcsmbs/bits/wchar2.h: Likewise.
63913         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63914         * wcsmbs/wchar.h: Likewise.
63916 2012-04-29  Andreas Jaeger  <aj@suse.de>
63918         * Makerules (tests): Remove enable-check-abi protection.
63919         (check-abi-warn): Remove.
63920         (check-abi-%): Remove check-abi-warn usage.
63922         * configure.in: Remove check-abi configure option.
63923         * configure: Regenerated.
63924         * config.make.in (enable-check-abi): Remove.
63926 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63928         [BZ #14033]
63929         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63930         double functions to double *_finite functions.
63932         [BZ #13941]
63933         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63934         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63935         LDBL_MIN_EXP.
63936         * stdio-common/Makefile (tests): Add tst-sprintf3.
63937         * stdio-common/tst-sprintf3.c: New file.
63939         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63940         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63942 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63944         * conform/conformtest.pl: Remove duplicate typed-constant
63945         handling.
63947 2012-04-28  David S. Miller  <davem@davemloft.net>
63949         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63950         (check-abi-%): Remove AWK script prerequisite and explicit
63951         abilist directory.
63952         (check-abi): Rewrite to just diff the symlist with the abilist.
63953         (config-tls, config-abi-config): Delete, no longer used.
63954         (update-abi-%): Remove AWK script and explicit abilist directory.
63955         (update-abi): Rewrite to simply compare and conditionally copy the
63956         symlist and the sysdep abilist file.  Remove update-abi-config
63957         checks.
63958         * abilist/ld.abilist: Remove.
63959         * abilist/libBrokenLocale.abilist: Remove.
63960         * abilist/libanl.abilist: Remove.
63961         * abilist/libcrypt.abilist: Remove.
63962         * abilist/libdl.abilist: Remove.
63963         * abilist/librt.abilist: Remove.
63964         * abilist/libthread_db.abilist: Remove.
63965         * abilist/libutil.abilist: Remove.
63966         * scripts/extract-abilist.awk: Remove.
63967         * scripts/merge-abilist.awk: Remove.
63968         * sysdeps/generic/libcidn.abilist: New file.
63969         * sysdeps/generic/libnss_compat.abilist: New file.
63970         * sysdeps/generic/libnss_db.abilist: New file.
63971         * sysdeps/generic/libnss_dns.abilist: New file.
63972         * sysdeps/generic/libnss_files.abilist: New file.
63973         * sysdeps/generic/libnss_hesiod.abilist: New file.
63974         * sysdeps/generic/libnss_nis.abilist: New file.
63975         * sysdeps/generic/libnss_nisplus.abilist: New file.
63976         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63977         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63978         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63979         file.
63980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63981         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63982         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63983         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63984         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63985         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63986         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63987         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63988         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63989         file.
63990         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63991         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63992         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63993         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63994         file.
63995         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63996         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63997         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63998         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63999         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64000         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64001         file.
64002         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64003         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64004         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64005         file.
64006         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64008         New file.
64009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64010         New file.
64011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64012         New file.
64013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64014         New file.
64015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64016         New file.
64017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64018         New file.
64019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64020         New file.
64021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64022         New file.
64023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64024         New file.
64025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64026         New file.
64027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64028         New file.
64029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64030         New file.
64031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64032         New file.
64033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64034         file.
64035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64036         New file.
64037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64038         New file.
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64040         file.
64041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64042         New file.
64043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64044         New file.
64045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64046         file.
64047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64048         New file.
64049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64050         New file.
64051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64052         New file.
64053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64054         New file.
64055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64056         New file.
64057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64058         New file.
64059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64061         file.
64062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64063         New file.
64064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64065         file.
64066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64067         file.
64068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64069         file.
64070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64071         file.
64072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64073         file.
64074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64075         New file.
64076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64077         file.
64078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64079         file.
64080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64081         New file.
64082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64083         file.
64084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64086         file.
64087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64088         New file.
64089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64090         file.
64091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64092         file.
64093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64094         file.
64095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64096         file.
64097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64098         file.
64099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64100         New file.
64101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64102         file.
64103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64104         file.
64105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64106         New file.
64107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64108         file.
64109         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64110         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64111         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64112         file.
64113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64114         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64115         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64116         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64117         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64118         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64119         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64120         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64121         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64122         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64125         file.
64126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64127         New file.
64128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64129         file.
64130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64131         file.
64132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64133         file.
64134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64135         file.
64136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64137         file.
64138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64139         New file.
64140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64141         New file.
64142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64143         file.
64144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64145         New file.
64146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64147         file.
64148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64150         file.
64151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64152         New file.
64153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64154         file.
64155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64156         file.
64157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64158         file.
64159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64160         file.
64161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64162         file.
64163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64164         New file.
64165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64166         New file.
64167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64168         file.
64169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64170         New file.
64171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64172         file.
64174 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64176         * conform/conformtest.pl: Fix typo in handling typed-constant from
64177         allow-header.
64179 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64181         * README: Cut down references to pre-2.6 Linux kernels and
64182         Linuxthreads.  Update lists of configurations in libc and ports
64183         and sort alphabetically.  Say "or newer" with Linux kernel version
64184         requirements.
64186         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64188 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64190         [BZ #887]
64191         * math/libm-test.inc (logb_test_downward): New test to expose
64192         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64193         rounding mode.
64195 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64197         [BZ #14027]
64198         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64199         to be done.
64200         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64201         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64203 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64205         * sysdeps/unix/i386/brk.S: Remove file.
64206         * sysdeps/unix/i386/dl-brk.S: Likewise.
64207         * sysdeps/unix/i386/pipe.S: Likewise.
64208         * sysdeps/unix/i386/sigreturn.S: Likewise.
64209         * sysdeps/unix/i386/syscall.S: Likewise.
64210         * sysdeps/unix/i386/vfork.S: Likewise.
64211         * sysdeps/unix/i386/wait.S: Likewise.
64213         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64214         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64216         * configure.in (arm*-none*): Do not allow without
64217         --enable-hacker-mode.
64218         (netbsd*): Remove case setting base_os.
64219         (386bsd*): Likewise.
64220         (freebsd*): Likewise.
64221         (bsdi*): Likewise.
64222         (osf*): Likewise.
64223         (sunos*): Likewise.
64224         (ultrix*): Likewise.
64225         (newsos*): Likewise.
64226         (dynix*): Likewise.
64227         (*bsd*): Likewise.
64228         (sysv*): Likewise.
64229         (isc*): Likewise.
64230         (esix*): Likewise.
64231         (sco*): Likewise.
64232         (minix*): Likewise.
64233         (irix4*): Likewise.
64234         (irix6*): Likewise.
64235         (solaris[2-9]*): Likewise.
64236         (none): Likewise.
64237         * configure: Regenerated.
64239 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64241         [BZ #11521]
64242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64243         overflow or cancellation in calculating denominator.
64244         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64245         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64246         down expression to avoid unexpected rounding in newer GCCs.
64247         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64249 2012-04-26  David S. Miller  <davem@davemloft.net>
64251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64252         long-double compat symbols.
64253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64267 2012-04-25  David S. Miller  <davem@davemloft.net>
64269         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64270         HWCAP_* values only after the memory barriers have been defined.
64271         (atomic_full_barrier): Define.
64272         (atomic_read_barrier): Define.
64273         (atomic_write_barrier): Define.
64275 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64277         * shlib-versions: Add libgcc_s version information.
64278         * sysdeps/generic/libgcc_s.h: Remove.
64279         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64280         libgcc_s.h.
64281         * sysdeps/gnu/unwind-resume.c: Likewise.
64282         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64284 2012-04-25  David S. Miller  <davem@davemloft.net>
64286         * sysdeps/unix/sparc/brk.S: Delete.
64287         * sysdeps/unix/sparc/dl-brk.S: Delete.
64288         * sysdeps/unix/sparc/pipe.S: Delete.
64289         * sysdeps/unix/sparc/sysdep.S: Delete.
64290         * sysdeps/unix/sparc/sysdep.h: Delete.
64291         * sysdeps/unix/sparc/vfork.S: Delete.
64292         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64293         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64294         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64295         (ret_ERRVAL, r0, r1, MOVE): Define.
64296         (JUMPTARGET): Remove.
64297         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64298         sysdeps/unix/sparc/sysdep.h
64299         (ENTRY, END): Remove.
64300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64302 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64304         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64305         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64306         -DIS_IN_build.
64308         * timezone/README: Update upstream location and email address for
64309         tzcode and tzdata.
64310         * timezone/zdump.c: Update from tzcode 2012b.
64311         * timezone/zic.c: Likewise.
64313         * configure.in (libc_cv_as_needed): Remove test.
64314         * configure: Regenerated.
64315         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64316         conditional definition.
64317         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64318         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64319         * config.make.in (have-as-needed): Remove variable.
64321 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64322             Paul Pluzhnikov  <ppluzhnikov@google.com>
64324         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64325         strings correctly.
64327 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64329         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64330         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64331         * sysdeps/sh/strlen.S: Likewise.
64333 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64335         * sysdeps/unix/fork.S: Remove file.
64336         * sysdeps/unix/i386/fork.S: Likewise.
64337         * sysdeps/unix/sparc/fork.S: Likewise.
64339         * sysdeps/unix/system.c: Remove file.
64340         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64342         * sysdeps/unix/getegid.S: Remove file.
64343         * sysdeps/unix/geteuid.S: Likewise.
64345 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64347         * scripts/check-localplt.awk: New file.
64348         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64349         of diff.
64350         * scripts/data/localplt-generic.data: Add a comment.
64352         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64353         NODE when __dir_mkfile failed.
64354         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64355         Reported by Ludovic Courtès <ludo@gnu.org>.
64357 2012-04-24  Andreas Jaeger  <aj@suse.de>
64359         * Makerules (common-clean): Also remove gen-as-const-headers
64360         files.
64362 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64364         * Makerules (native-compile): Do not change working directory for
64365         build.  Use $(OUTPUT_OPTION) in command.
64366         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64368 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64370         [BZ #13886]
64371         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64372         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64373         * math/libm-test.inc (floor_test): Add more tests.
64374         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64376 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64378         * sysdeps/unix/getdents.c: Remove file.
64379         * sysdeps/unix/sysv/getdents.c: Likewise.
64380         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64382         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64383         sysdeps/unix/mman/syscalls.list.
64384         (mmap): Likewise.
64385         (mprotect): Likewise.
64386         (msync): Likewise.
64387         (munmap): Likewise.
64388         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64389         * sysdeps/unix/mman/syscalls.list: Remove.
64390         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64392         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64393         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64394         * configure: Regenerated.
64395         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64396         $(libgcc_s_suffix).
64397         * config.make.in (libgcc_s_suffix): Remove variable.
64399 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64401         * sysdeps/unix/sysv/gethostname.c: Move to ...
64402         * sysdeps/posix/gethostname.c: ... here.
64404         * sysdeps/unix/execve.S: Remove file.
64406         * sysdeps/unix/_exit.S: Remove file.
64408 2012-04-23  Andreas Jaeger  <aj@suse.de>
64410         [BZ #13739]
64411         * manual/Makefile: Remove make dist support, there's no
64412         need for a stand-alone documentation tar ball.
64413         (TEXI2DVI): Define always, it's not in Makeconfig.
64414         (dist): Removed.
64415         (tar-it): Removed.
64416         (edition): Removed.
64417         (glibc-doc-$(edition).tar): Removed
64418         (%.Z): Removed.
64419         (%.gz): Removed.
64420         (%.uu): Removed.
64421         (ETAGS): Remove, it's in Makeconfig.
64422         (move-if-change): Remove, it's in Makeconfig.
64424 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64426         [BZ #13970]
64427         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64428         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64429         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64430         (strtod_l, strtof_l, strtold_l): Remove __wur.
64431         It is not necessarily an error to ignore strtol's return value.
64432         One can reliably look at the stored endptr to decide whether
64433         the number had valid syntax.
64435 2012-04-21  Andreas Jaeger  <aj@suse.de>
64437         [BZ #13739]
64438         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64440 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64442         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64443         * sysdeps/unix/sysv/Versions: Remove file.
64445 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64447         [BZ #13927]
64448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64450 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64452         [BZ #7064]
64453         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64454         version from __vm86.
64456 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64458         * sysdeps/unix/common/lxstat.c: Remove file.
64459         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64461         * sysdeps/unix/sysv/Makefile: Remove file.
64463         * sysdeps/unix/sysv/direct.h: Remove file.
64465         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64466         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64467         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64468         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64469         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64470         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64471         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64473         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64475         * sysdeps/unix/xmknod.c: Remove file.
64476         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64478         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64480         * sysdeps/unix/sysv/i386/time.S: Remove file.
64482         * sysdeps/unix/fxstat.c: Remove file.
64483         * sysdeps/unix/xstat.c: Likewise.
64484         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64486         * sysdeps/unix/sysv/sigaction.c: Remove file.
64488         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64489         (sysdep_headers): Remove variable.
64490         [termio.h not in sysdep_headers] (generated): Likewise.
64491         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64492         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64493         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64494         * sysdeps/unix/sysv/tcflow.c: Likewise.
64495         * sysdeps/unix/sysv/tcflush.c: Likewise.
64496         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64497         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64498         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64499         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64500         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64502         * sysdeps/unix/siglist.c: Remove file.
64504         * sysdeps/unix/getppid.S: Remove file.
64506         * sysdeps/unix/mkdir.c: Remove file.
64507         * sysdeps/unix/rmdir.c: Likewise.
64509 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64511         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64512         ERR_MAX value.
64513         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64514         errlist-compat value.
64516 2012-04-18  David S. Miller  <davem@davemloft.net>
64518         * sysdeps/generic/memcopy.h (reg_char): Delete.
64519         * debug/strcat_chk.c: Use char, not reg_char.
64520         * debug/strcpy_chk.c: Likewise.
64521         * debug/strncat_chk.c: Likewise.
64522         * debug/strncpy_chk.c: Likewise.
64523         * string/memchr.c: Likewise.
64524         * string/memrchr.c: Likewise.
64525         * string/rawmemchr.c: Likewise.
64526         * string/strcat.c: Likewise.
64527         * string/strchr.c: Likewise.
64528         * string/strchrnul.c: Likewise.
64529         * string/strcmp.c: Likewise.
64530         * string/strcpy.c: Likewise.
64531         * string/strncat.c: Likewise.
64532         * string/strncmp.c: Likewise.
64533         * string/strncpy.c: Likewise.
64535 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64537         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64538         __builtin_memcopy is called when src and dest ranges are known to not
64539         overlap.
64541 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64543         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64544         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64545         fwd_align_merge macro call.
64546         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64547         bwd_align_merge macro call.
64548         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64550 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64553         bwd_align_merge macros.
64554         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64555         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64556         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64558 2012-04-18  David S. Miller  <davem@davemloft.net>
64560         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64562 2012-04-18  Andreas Jaeger  <aj@suse.de>
64564         [BZ# 6794]
64565         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64566         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64567         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64569         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64570         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64571         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64573         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64574         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64575         Adjust for changed ldbl-128 files.
64577         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64578         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64579         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64581 2012-04-17  David S. Miller  <davem@davemloft.net>
64583         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64585 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64587         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64588         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64589         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64590         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64591         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64592         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64594 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64596         [BZ #6794]
64597         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64598         * math/libm-test.inc: Add ilogb errno and exception tests.
64599         * math/w_ilogb.c: New file: ilogb wrapper.
64600         * math/w_ilogbf.c: New file: ilogbf wrapper.
64601         * math/w_ilogbl.c: New file: ilogbl wrapper.
64602         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64603         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64604         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64605         exception being thrown with 0.0 as argument.
64606         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64607         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64608         exception being thrown with 0.0 as argument.
64609         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64610         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64611         exception being thrown with 0.0 as argument.
64612         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64613         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64614         exception being thrown with 0.0 as argument.
64615         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64616         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64617         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64618         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64619         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64620         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64621         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64622         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64623         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64625 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64627         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64628         with altivec.
64630 2012-04-16  Marek Polacek  <polacek@redhat.com>
64632         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64634 2012-04-16  Marek Polacek  <polacek@redhat.com>
64636         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64637         operands of fdivp instruction.
64639 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64641         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64642         * elf/tst-auditmod3b.c: Likewise.
64643         * elf/tst-auditmod4b.c: Likewise.
64644         * elf/tst-auditmod5b.c: Likewise.
64645         * elf/tst-auditmod6b.c: Likewise.
64646         * elf/tst-auditmod6c.c: Likewise.
64647         * elf/tst-auditmod7b.c: Likewise.
64648         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64649         * sysdeps/x86_64/preconfigure.in: Likewise.
64650         * sysdeps/x86_64/preconfigure: Regenerated.
64652 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64654         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64655         __ILP32__.
64657 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64660         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64662 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64664         [BZ #13973]
64665         * locale/iso-639.def: Fix gl language name. Spotted by
64666         Yaron Shahrabani.
64668 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64670         [BZ #2074]
64671         * libio/libio.h (__io_write_fn): Update comment.
64673 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64675         [BZ #2074]
64676         * stdio.texi (Hook Functions): The user provided writer function
64677         is not allowed to return -1.
64679 2012-04-11  David S. Miller  <davem@davemloft.net>
64681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64683 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64685         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64686         Add a leading slash to rtkaio.
64688 2012-04-11  Jim Meyering  <meyering@redhat.com>
64690         [BZ #11959]
64691         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64692         It is not necessarily an error to ignore fwrite's return
64693         value.  One can reliably use ferror to test for errors after
64694         the fact.
64696 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64698         * bits/types.h (__snseconds_t): New type.
64699         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64701         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64703         (__SNSECONDS_T_TYPE): Likewise.
64704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64705         (__SNSECONDS_T_TYPE): Likewise.
64706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64707         (__SNSECONDS_T_TYPE): Likewise.
64709 2012-04-10  Andreas Jaeger  <aj@suse.de>
64711         [BZ #2636]
64712         * manual/time.texi (Processor Time): Return type of times is
64713         elapsed real time since an arbitrary point in the past.
64714         (CPU Time): Move CLK_TCK from here...
64715         (Processor Time): ...to here.  Correct description.
64716         * manual/conf.texi (Constants for Sysconf): Correct description of
64717         _SC_CLK_TCK.
64719 2012-04-10  David S. Miller  <davem@davemloft.net>
64721         [BZ #13967]
64722         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64723         where the is a gap between DT_REL(A) and DT_JMPREL.
64725 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64727         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64728         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64729         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64731 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64733         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64734         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64735         (dl_main): Handle --inhibit-cache.
64736         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64737         _dl_inhibit_cache.
64738         * elf/dl-load.c (_dl_map_object): Use it.
64739         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64741 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64743         [BZ #13872]
64744         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64745         (__ieee754_powl): Saturate large exponents rather than testing for
64746         overflow of y*log2(x).
64747         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64748         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64749         exceptions.
64751         [BZ #11521]
64752         * math/s_ctan.c: Include <float.h>.
64753         (__ctan): Avoid internal overflow or cancellation in calculating
64754         denominator.
64755         * math/s_ctanf.c: Likewise.
64756         * math/s_ctanl.c: Likewise.
64757         * math/s_ctanh.c: Likewise.
64758         * math/s_ctanhf.c: Likewise.
64759         * math/s_ctanhl.c: Likewise.
64760         * math/libm-test.inc (ctan_test): Add more tests.
64761         (ctanh_test): Likewise.
64762         * sysdeps/i386/fpu/libm-test-ulps: Update.
64763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64765 2012-04-09  Andreas Jaeger  <aj@suse.de>
64767         [BZ #6894]
64768         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64769         is an optional BSD extension.
64771         [BZ #10254]
64772         * manual/stdio.texi (Opening Streams): Document additional fopen
64773         parameters.
64775 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64777         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64778         %eax without telling the compiler.
64780 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64782         [BZ # 13963]
64783         * manual/install.texi: Use sourceware.org.
64785 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64787         [BZ #13873]
64788         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64789         (__ieee754_pow): Generate overflow and underflow using huge*huge
64790         and tiny*tiny rather than just returning constant infinity or zero
64791         for large exponents.
64792         * math/libm-test.inc (pow_test): Require overflow exceptions for
64793         applicable cases of large exponents.
64795         [BZ #706]
64796         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64797         (__ieee754_pow): Use iterative multiplication algorithm only for
64798         integer exponents with absolute value below 1024.  Check for odd
64799         integer exponents when using algorithm for real exponents.
64800         * math/libm-test.inc (pow_test): Add more tests.
64801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64803 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64805         [BZ #13705]
64806         * math/libm-test.inc (exp_test): Do not allow overflow exception
64807         on underflow test.
64809 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64811         [BZ #13705]
64812         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64813         instead of __kernel_standard_f.
64815 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64817         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64818         * sysdeps/x86_64/memset_chk.S: Likewise.
64820 2012-04-08  Andreas Jaeger  <aj@suse.de>
64822         [BZ #10153]
64823         * manual/startup.texi (Environment Access): Describe return value
64824         for putenv and setenv.
64826         [BZ #6895]
64827         * manual/filesys.texi (Directory Entries): Add description for
64828         DT_LNK.
64830         [BZ #6890]
64831         * manual/filesys.texi (Directory Entries): Clarify that it's file
64832         system not operating system in the description of DT_UNKNOWN.
64834         [BZ #6578]
64835         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64837 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64839         [BZ #6649]
64840         * manual/llio.texi (Opening and Closing Files): Add cross
64841         reference to explain mode argument.
64843 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64845         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64846         * sysdeps/x86_64/memset_chk.S: Likewise.
64848 2012-04-07  David S. Miller  <davem@davemloft.net>
64850         * elf/elf.h (R_SPARC_WDISP10): Define.
64851         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64852         R_SPARC_SIZE32.
64853         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64854         R_SPARC_SIZE64 and R_SPARC_H34.
64856 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64859         conditions and remove no longer applicable assertion.
64861 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64863         * bits/byteswap.h: Include <features.h>.
64864         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64865         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64867 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64869         * bits/byteswap.h (__bswap_16): Removed.
64870         Include <bits/byteswap-16.h> to get __bswap_16.
64871         * sysdeps/i386/bits/byteswap.h: Likewise.
64872         * sysdeps/s390/bits/byteswap.h: Likewise.
64873         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64874         * bits/byteswap-16.h: New file.
64875         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64876         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64877         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64878         * string/Makefile (headers): Add bits/byteswap-16.h.
64880 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64882         [BZ #13895]
64883         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64884         extra indirection.
64885         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64886         * nss/tst-nss-static.c: New.
64888 2012-04-06  Robert Millan  <rmh@gnu.org>
64890         [BZ #6486]
64891         * manual/llio.texi (File Position Primitive): lseek
64892         refers to WHENCE when it really means OFFSET.
64894 2012-04-06  Andreas Jaeger  <aj@suse.de>
64896         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64897         strncmp declarations.
64899         * abilist/libc.abilist: Add __poll and __ppoll.
64901 2012-04-05  David S. Miller  <davem@davemloft.net>
64903         * scripts/check-local-headers.sh: Accept a host triplet in the
64904         path matched by the exclude regexp.
64906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64907         definition.
64908         * sysdeps/powerpc/powerpc32/dl-machine.h
64909         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64910         * sysdeps/s390/s390-32/dl-machine.h
64911         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64912         * sysdeps/sparc/sparc32/dl-machine.h
64913         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64914         * sysdeps/sparc/sparc64/dl-machine.h
64915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64917         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64918         lazy binding.
64919         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64920         undefined symbol errors.
64922         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64923         DT_NEEDED entries.
64925 2012-04-05  Michael Matz  <matz@suse.de>
64927         [BZ #13592]
64928         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64930 2012-04-05  Andreas Jaeger  <aj@suse.de>
64932         [BZ #13908]
64933         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64934         comment.
64936 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64938         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64939         which ROUND is no valid rounding mode.
64941 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64943         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64944         read again.
64945         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64949         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64950         an exception using FPU order intentionally.
64952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64954         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64955         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64956         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64957         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64959 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64961         [BZ #12340]
64962         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64963         EINVAL when BUFLEN is too smal.
64965 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64967         [BZ #13553]
64968         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64969         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64971 2012-04-03  Andreas Jaeger  <aj@suse.de>
64973         [BZ #13938]
64974         * manual/setjmp.texi (System V contexts): Fix sentence.
64976         [BZ #13926]
64977         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64978         New macro for this case.
64979         [!__GNUC__] (__bswap_64): New inline function for this case.
64980         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64981         * bits/byteswap.h: Likewise.
64982         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64983         ull, guard with __GLIBC_HAVE_LONG_LONG.
64985         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64986         __GLIBC_HAVE_LONG_LONG.
64988         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64989         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64991 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64993         [BZ #13691]
64994         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64995         inptr and inend, rather than using last_ch.
64997 2012-04-02  David S. Miller  <davem@davemloft.net>
64999         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65000         * stdio-common/printf-parse.h (read_int): Change return type to
65001         'int', return -1 on INT_MAX overflow.
65002         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65003         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65004         overflows INT_MAX.  Check for overflow of in-format-string precision
65005         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65006         SIZE_MAX not INT_MAX for integer overflow test.
65007         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65008         skip the construct in the format string but do not record anything.
65009         * stdio-common/bug22.c: Adjust to test both width/prevision
65010         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65011         explicitly for proper errno values.
65013 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65015         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65016         CHAR_MAX.
65017         * string/test-strcmp.c [! WIDE]: Likewise.
65018         * time/tst-mktime2.c: Likewise for INT_MAX.
65019         * string/test-string.h: #include <sys/param.h> for MIN.
65021         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65022         * sysdeps/i386/init-first.c (init): Likewise.
65023         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65024         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65025         * sysdeps/sh/init-first.c (init): Likewise.
65027 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65029         * po/ru.po: Update from translation team.
65030         * po/vi.po: Likewise.
65032 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65034         * resolv/nss_dns/dns-host.c: Merge copyright years.
65036 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65038         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65039         Optimize memcpy with prefetch if
65040         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65041         src, dst pointers have unequal 16 byte alignments.
65043 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65045         [BZ #13928]
65046         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65047         from a CNAME entry and return the minimum ttl for the query.
65048         (gaih_getanswer_slice): Likewise.
65050 2012-03-30  Jeff Law  <law@redhat.com>
65052         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65053         due to long keys.
65054         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65055         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65057         * resolv/nss_dns/dns-host.c: Update copyright year.
65059 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65061         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65062         requests to save a system call.  Fix check that all bytes are sent.
65064         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65065         comments for sendmmsg.
65067 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65069         [BZ #13691]
65070         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65071         with only 1 character between 0x0041 and 0x01b0.
65072         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65073         * wcsmbs/tst-mbsnrtowcs.c: New file.
65075 2012-03-29  David S. Miller  <davem@davemloft.net>
65077         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65078         small copies by hand.
65080 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65082         [BZ #13761]
65083         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65084         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65085         group memberships.
65087 2012-03-28  David S. Miller  <davem@davemloft.net>
65089         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65090         that branches into memcpy.
65091         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65094         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65095         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65096         bits.
65097         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65098         implementation too.
65099         * sysdeps/sparc/mempcpy.S: New file.
65101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65102         the IFUNC routine in the libc case.
65103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65105         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65106         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65107         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65108         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65109         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65110         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65111         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65112         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65114         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65115         loop to 256 bytes instead of 64 bytes and fix test signedness.
65117         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65118         * sysdeps/sparc/sparc32/Makefile: rather than here...
65119         * sysdeps/sparc/sparc64/Makefile: and here.
65121 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65123         * malloc/mallocbug.c: Avoid warnings about unused variables.
65125 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65127         [BZ #13760]
65128         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65129         in the right place. Discard and retry query if response is
65130         larger than input buffer size.
65132 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65134         [BZ #369]
65135         [BZ #2678]
65136         [BZ #3866]
65137         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65138         x for large integer exponent.
65139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65140         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65141         sign of result as needed afterwards.
65142         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65143         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65144         result for underflowing pow the same as for overflow.
65145         (__kernel_standard_l): Handle powl overflow and underflow here
65146         rather than calling __kernel_standard.
65147         * math/libm-test.inc (pow_test): Add more tests.
65149         [BZ #3868]
65150         [BZ #13879]
65151         [BZ #13910]
65152         [BZ #13911]
65153         [BZ #13912]
65154         [BZ #13913]
65155         [BZ #13915]
65156         [BZ #13916]
65157         [BZ #13917]
65158         [BZ #13918]
65159         [BZ #13919]
65160         [BZ #13920]
65161         [BZ #13921]
65162         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65163         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65164         (__kernel_standard_l): New function.
65165         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65166         __kernel_standard.
65167         * math/w_acosl.c (__acosl): Likewise.
65168         * math/w_asinl.c (__asinl): Likewise.
65169         * math/w_atan2l.c (__atan2l): Likewise.
65170         * math/w_atanhl.c (__atanhl): Likewise.
65171         * math/w_coshl.c (__coshl): Likewise.
65172         * math/w_exp10l.c (__exp10l): Likewise.
65173         * math/w_exp2l.c (__exp2l): Likewise.
65174         * math/w_fmodl.c (__fmodl): Likewise.
65175         * math/w_hypotl.c (__hypotl): Likewise.
65176         * math/w_j0l.c (__j0l, __y0l): Likewise.
65177         * math/w_j1l.c (__j1l, __y1l): Likewise.
65178         * math/w_jnl.c (__jnl, __ynl): Likewise.
65179         * math/w_lgammal.c (__lgammal): Likewise.
65180         * math/w_log10l.c (__log10l): Likewise.
65181         * math/w_log2l.c (__log2l): Likewise.
65182         * math/w_logl.c (__logl): Likewise.
65183         * math/w_powl.c (__powl): Likewise.
65184         * math/w_remainderl.c (__remainderl): Likewise.
65185         * math/w_scalbl.c (sysv_scalbl): Likewise.
65186         * math/w_sinhl.c (__sinhl): Likewise.
65187         * math/w_sqrtl.c (__sqrtl): Likewise.
65188         * math/w_tgammal.c (__tgammal): Likewise.
65189         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65190         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65191         * math/libm-test.inc (acos_test): Add more tests.
65192         (acosh_test): Likewise.
65193         (asin_test): Likewise.
65194         (atanh_test): Likewise.
65195         (exp_test): Likewise.
65196         (exp10_test): Likewise.
65197         (exp2_test): Likewise.
65198         (expm1_test): Likewise.
65199         (lgamma_test): Likewise.
65200         (log_test): Likewise.
65201         (log10_test): Likewise.
65202         (log1p_test): Likewise.
65203         (log2_test): Likewise.
65204         (pow_test): Do not allow some spurious overflow exceptions.
65205         (sqrt_test): Add more tests.
65206         (tgamma_test): Likewise.
65207         (y0_test): Likewise.
65208         (y1_test): Likewise.
65209         (yn_test): Likewise.
65211 2012-03-27  Anton Blanchard  <anton@samba.org>
65213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65214         MAP_HUGETLB.
65215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65216         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65217         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65219 2012-03-27  David S. Miller  <davem@davemloft.net>
65221         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65223         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65224         have-as-vis3 check.
65226 2012-03-27  Andreas Jaeger  <aj@suse.de>
65228         * sysdeps/x86_64/elf/configure.in: Moved to ...
65229         * sysdeps/x86_64/configure.in: ... here.
65230         * sysdeps/x86_64/elf/start.S: Moved to ...
65231         * sysdeps/x86_64/start.S: ... here.
65232         * sysdeps/x86_64/elf/configure: Delete.
65234         * sysdeps/x86_64/configure.in: Merge contents from
65235         sysdeps/i386/configure.in (without i686 check).
65237         * sysdeps/i386/elf/Versions: Merge into ...
65238         * sysdeps/i386/Versions: ... this.
65239         * sysdeps/i386/elf/Versions: Delete file.
65240         * sysdeps/i386/elf/start.S: Moved to ...
65241         * sysdeps/i386/start.S: ...here.
65242         * sysdeps/i386/elf/configure.in: Merge into...
65243         * sysdeps/i386/configure.in: ...here.
65244         * sysdeps/i386/elf/configure.in: Delete file.
65245         * sysdeps/i386/elf/configure: Delete file.
65247         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65248         * debug/backtracesyms.c: ... here.
65249         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65250         * debug/backtracesymsfd.c: ... here.
65251         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65252         * sysdeps/generic/ifunc-sel.h: ... here.
65254         * sysdeps/unix/i386/start.c: Delete file.
65255         * sysdeps/unix/sparc/start.c: Delete file.
65256         * sysdeps/unix/start.c: Delete file.
65258         * sysdeps/sh/elf/configure.in: Moved to ...
65259         * sysdeps/sh/configure.in: ... here.
65260         * sysdeps/sh/elf/start.S: Moved to ...
65261         * sysdeps/sh/start.S: ... here.
65262         * sysdeps/sh/elf/configure: Delete file.
65264         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65265         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65266         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65267         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65268         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65269         * sysdeps/powerpc/powerpc64/start.S: here.
65270         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65271         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65272         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65273         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65274         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65276         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65277         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65278         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65279         * sysdeps/powerpc/powerpc32/start.S: ... here.
65280         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65281         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65282         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65284         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65285         * sysdeps/powerpc/ifunc-sel.h: ... here.
65286         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65287         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65289         * sysdeps/sparc/elf/configure.in: Moved to ...
65290         * sysdeps/sparc/configure.in: ... here.
65291         * sysdeps/sparc/elf/configure: Delete file.
65292         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65293         * sysdeps/sparc/sparc32/start.S: ... here.
65294         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65295         * sysdeps/sparc/sparc64/start.S: ... here.
65296         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65297         * sysdeps/sparc/sparc32/Makefile: ... this.
65298         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65299         * sysdeps/sparc/sparc64/Makefile: ... this.
65301         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65302         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65303         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65304         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65305         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65306         * sysdeps/s390/s390-32/setjmp.S: ... here.
65307         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65308         * sysdeps/s390/s390-32/configure.in: ... here.
65309         * sysdeps/s390/s390-32/elf/configure: Delete file.
65310         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65311         * sysdeps/s390/s390-32/start.S: ... here.
65313         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65314         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65315         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65316         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65317         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65318         * sysdeps/s390/s390-64/setjmp.S: ... here.
65319         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65320         * sysdeps/s390/s390-64/configure.in: ... here
65321         * sysdeps/s390/s390-64/elf/configure: Delete file.
65322         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65323         * sysdeps/s390/s390-64/start.S: ... here.
65324         * sysdeps/s390/s390-64/elf/configure: Delete.
65326         * configure.in: Remove support for elf directories in sysdeps.
65328         * configure: Regenerated.
65329         * sysdeps/i386/configure: Regenerated.
65330         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65331         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65332         * sysdeps/s390/s390-32/configure: Regenerated.
65333         * sysdeps/s390/s390-64/configure: Regenerated.
65334         * sysdeps/sh/configure: Regenerated.
65335         * sysdeps/sparc/configure: Regenerated.
65336         * sysdeps/x86_64/configure: Regenerated.
65338 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65343         denormal result into account.
65345 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65347         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65348         Reported by Allan McRae <allan@archlinux.org>.
65350 2012-03-23  Jeff Law  <law@redhat.com>
65352         * nss/getnssent.c (__nss_getent): Fix typo.
65354 2012-03-23  David S. Miller  <davem@davemloft.net>
65356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65358 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65360         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65361         to pad to uint64_t for each field.
65362         (dl_tls_index): Replace unsigned long with uint64_t.
65364 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65365         Paul Pluzhnikov  <ppluzhnikov@google.com>
65367         [BZ #6528]
65368         * grp/Makefile (otherlibs): Don't set it.
65369         * inet/Makefile (otherlibs): Likewise.
65370         * login/Makefile (otherlibs): Likewise.
65371         * nscd/Makefile (otherlibs): Likewise.
65372         * posix/Makefile (otherlibs): Likewise.
65373         * pwd/Makefile (otherlibs): Likewise.
65374         * rt/Makefile (otherlibs): Likewise.
65375         * sunrpc/Makefile (otherlibs): Likewise.
65376         * nss/Makefile (otherlibs): Likewise.
65377         Add libnss_files to routines and static-only-routines.
65378         ($(objpfx)getent): Remove rule.
65379         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65380         static-only-routines.
65382 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65384         [BZ #13892]
65385         * math/s_cexp.c: Include <float.h>.
65386         (__cexp): Handle exp result overflowing not necessarily
65387         overflowing both real and imaginary parts of result.
65388         * math/s_cexpf.c: Likewise.
65389         * math/s_cexpl.c: Likewise.
65390         * math/libm-test.inc (cexp_test): Add more tests.
65391         * sysdeps/i386/fpu/libm-test-ulps: Update.
65392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65394 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65396         * include/link.h (ELFW): New macro.
65397         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65398         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65400 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65402         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65403         with uint64_t.
65405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65407         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65408         declaration.
65409         (struct La_x32_retval): Likewise.
65411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65413         * sysdeps/x86_64/preconfigure.in: New file.
65414         * sysdeps/x86_64/preconfigure: New generated file.
65416 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65418         [BZ #13824]
65419         * math/e_exp2l.c: Include <float.h>.
65420         (__ieee754_exp2l): Handle overflow and underflow cases
65421         separately.  Only pass fractional part of argument to
65422         __ieee754_expl.
65423         * math/libm-test.inc (exp2_test): Add more tests.
65425         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65426         negating x to take absolute value.
65427         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65428         Likewise.
65429         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65430         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65431         Likewise.
65432         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65433         computing low part if x was negated.
65434         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65436 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65438         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65439         la_x32_gnu_pltexit.
65440         (pltexit): Cast int_retval to ptrdiff_t.
65441         * elf/tst-auditmod3b.c: Likewise.
65442         * elf/tst-auditmod4b.c: Likewise.
65443         * elf/tst-auditmod5b.c: Likewise.
65444         * elf/tst-auditmod6b.c: Likewise.
65445         * elf/tst-auditmod6c.c: Likewise.
65446         * elf/tst-auditmod7b.c: Likewise.
65448         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65449         and x32_gnu_pltexit.
65451         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65452         __ELF_NATIVE_CLASS.
65453         (La_x32_regs): New macro.
65454         (La_x32_retval): Likewise.
65455         (la_x32_gnu_pltenter): New function prototype.
65456         (la_x32_gnu_pltexit): Likewise.
65458 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65461         exponent.
65463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65465         * configure.in (libc_cv_cc_nofma): Check for option to disable
65466         generation of FMA instructions.
65467         * configure: Regenerate.
65468         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65469         * sysdeps/ieee754/dbl-64/Makefile: New file.
65470         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65471         Remove brandred-fma4.
65472         (CFLAGS-brandred-fma4.c): Remove.
65473         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65474         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65475         define.
65476         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65477         define.
65479 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65481         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65482         LLONG_MAX != LONG_MAX.
65483         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65484         (_fitoa_word): Likewise.
65485         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65486         LLONG_MAX != LONG_MAX.
65487         * stdio-common/_itowa.h: Include <_itoa.h>.
65488         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65489         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65490         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65491         only if not defined.
65492         (_ITOA_WORD_TYPE): Likewise.
65493         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65494         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65496 2012-03-21  David S. Miller  <davem@davemloft.net>
65498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65500 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65502         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65503         of x86_64 when setting libc_cv_slibdir, libdir and
65504         libc_cv_localedir.
65505         * sysdeps/unix/sysv/linux/configure: Regenerated.
65507 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65509         * manual/lang.texi (Old Varargs): Remove section.
65510         (How Variadic): Update menu.
65511         (va_start): Do not mention varargs.h.
65513 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65514             Joseph Myers  <joseph@codesourcery.com>
65516         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65517         link test.
65518         * configure: Regenerated.
65520 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65522         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65523         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65524         conformtest.pl
65526 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65528         * NOTES: Remove.
65529         * Makefile (files-for-dist): Remove NOTES.
65530         (NOTES): Remove rule.
65531         * README: Don't refer to NOTES.
65532         * manual/creature.texi: Don't include macros.texi.
65533         * manual/intro.texi (creature.texi): Remove comment referring to
65534         NOTES.
65536         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65537         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65538         * configure: Regenerated.
65539         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65540         LIBC_TRY_CC_OPTION.
65541         (libc_cv_as_i686): Likewise.
65542         (libc_cv_cc_avx): Likewise.
65543         (libc_cv_cc_sse2avx): Likewise.
65544         (libc_cv_cc_fma4): Likewise.
65545         (libc_cv_cc_novzeroupper): Likewise.
65546         * sysdeps/i386/configure: Regenerated.
65548         [BZ #13883]
65549         * sysdeps/i386/fpu/s_cexp.S: Remove.
65550         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65551         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65552         * math/libm-test.inc (cexp_test): Add more tests.
65553         * sysdeps/i386/fpu/libm-test-ulps: Update.
65554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65556 2012-03-21  Allan McRae  <allan@archlinux.org>
65558         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65560 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65562         [BZ #13871]
65563         * math/w_exp2.c: Do not include <float.h>.
65564         (o_threshold, u_threshold): Remove.
65565         (__exp2): Calculate result before checking finiteness and calling
65566         __kernel_standard.
65567         * math/w_exp2f.c: Likewise.
65568         * math/w_exp2l.c: Likewise.
65569         * math/libm-test.inc (exp2_test): Require overflow exception for
65570         1e6 input.
65572         [BZ #3866]
65573         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65574         range of signed 64-bit integers before using fistpll.  Remove
65575         checks for whether integers fit in mantissa bits.
65576         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65577         the range of signed 32-bit integers before using fistpl.  Remove
65578         checks for whether integers fit in mantissa bits.
65579         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65580         (__ieee754_powl): Test for y outside the range of signed 64-bit
65581         integers before using fistpll.  Reduce 64-bit values to 63-bit
65582         ones as needed.
65583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65584         divide-by-zero is raised for zero to large negative powers.
65585         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65586         (__ieee754_powl): Test for y outside the range of signed 64-bit
65587         integers before using fistpll.  Reduce 64-bit values to 63-bit
65588         ones as needed.
65589         * math/libm-test.inc (pow_test): Add more tests.
65591 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65593         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65594         <stdio-common/_itoa.h>.
65595         * debug/segfault.c: Likewise.
65596         * elf/dl-cache.c: Likewise.
65597         * elf/dl-minimal.c: Likewise.
65598         * elf/dl-misc.c: Likewise.
65599         * elf/dl-sysdep.c: Likewise.
65600         * elf/dl-version.c: Likewise.
65601         * elf/rtld.c: Likewise.
65602         * hurd/hurdsock.c: Likewise.
65603         * hurd/lookup-retry.c: Likewise.
65604         * malloc/malloc.c: Likewise.
65605         * malloc/mtrace.c: Likewise.
65606         * nscd/nscd_getgr_r.c: Likewise.
65607         * nscd/nscd_getpw_r.c: Likewise.
65608         * nscd/nscd_getserv_r.c: Likewise.
65609         * posix/getopt_init.c: Likewise.
65610         * posix/wordexp.c: Likewise.
65611         * stdio-common/_itoa.c: Likewise.
65612         * stdio-common/printf_fphex.c: Likewise.
65613         * stdio-common/vfprintf.c: Likewise.
65614         * string/_strerror.c: Likewise.
65615         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65616         * sysdeps/i386/i686/hp-timing.h: Likewise.
65617         * sysdeps/mach/_strerror.c: Likewise.
65618         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65619         * sysdeps/mach/hurd/sethostid.c: Likewise.
65620         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65621         * sysdeps/mach/xpg-strerror.c: Likewise.
65622         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65623         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65624         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65625         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65626         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65627         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65629         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65630         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65631         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65632         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65633         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65634         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65635         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65636         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65637         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65638         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65639         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65640         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65641         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65642         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65644         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65646         * stdio-common/_itoa.h: Moved to ...
65647         * sysdeps/generic/_itoa.h: Here.
65649         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65651         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65652         instead of "_itoa.h" and "_itowa.h".
65653         * stdio-common/vfprintf.: Likewise.
65655 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65657         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65658         <bits/wordsize.h>.
65659         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65660         (__signbit): Likwise.
65661         (llrintf): Likwise.
65662         (llrint): Likwise.
65664 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65666         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65667         __WORDSIZE != 64.
65669 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65671         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65672         OVERFLOW_EXCEPTION_OK.
65673         * math/libm-test.inc ("Philosophy"): Update comment about
65674         exception testing.
65675         (OVERFLOW_EXCEPTION): Define.
65676         (OVERFLOW_EXCEPTION_OK): Likewise.
65677         (INVALID_EXCEPTION_OK): Renumber.
65678         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65679         (IGNORE_ZERO_INF_SIGN): Likewise.
65680         (test_exceptions): Handle FE_OVERFLOW.
65681         (exp10_test): Expect overflow exceptions.
65682         (exp2_test): Likewise.
65683         (expm1_test): Likewise.
65684         (nextafter_test): Likewise.
65685         (pow_test): Likewise.
65686         (scalbn_test): Likewise.
65687         (scalbln_test): Likewise.
65689 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65691         * sysdeps/x86_64/bits/atomic.h
65692         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65693         64bit integer.
65694         (atomic_exchange_acq): Likewise.
65695         (__arch_exchange_and_add_body): Likewise.
65696         (__arch_add_body): Likewise.
65697         (atomic_add_negative): Likewise.
65698         (atomic_add_zero): Likewise.
65700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65702         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65703         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65707         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65708         Check __x86_64__ instead of __WORDSIZE.
65710 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65712         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65714 2012-03-19  David S. Miller  <davem@davemloft.net>
65716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65718         * sysdeps/sparc/fpu/fenv_private.h: New file.
65719         * sysdeps/sparc/fpu/math_private.h: Use it.
65720         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65721         Remove.
65722         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65723         (libc_feholdexcept_setroundl): Remove.
65724         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65725         Remove.
65726         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65727         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65731         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65732         int64_t instead of long int.
65733         (INSERT_WORDS64): Likwise.
65735 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65738         _Unwind_GetCFA return to _Unwind_Ptr first.
65740 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65742         [BZ #13629]
65743         * math/s_clog.c: Include <float.h>.
65744         (__clog): Scale large or subnormal inputs.
65745         * math/s_clogf.c: Likewise.
65746         * math/s_clogl.c: Likewise.
65747         * math/s_clog10.c: Include <float.h>.
65748         (M_LOG10_2): Define.
65749         (__clog10): Scale large or subnormal inputs.
65750         * math/s_clog10f.c: Likewise.
65751         * math/s_clog10l.c: Likewise.
65752         * math/libm-test.inc (clog_test): Add more tests.
65753         (clog10_test): Likewise.
65754         * sysdeps/i386/fpu/libm-test-ulps: Update.
65755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65757         [BZ #11451]
65758         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65759         x and y.
65760         * math/libm-test.inc (atan2_test): Add another test.
65762         * Makerules (common-objdir-compile): Remove.
65763         * sysdeps/unix/Makefile (config-generated): Do not add
65764         $(unix-generated) to variable.
65765         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65766         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65767         Remove rule.
65768         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65769         Likewise.
65770         [generic bits/local_lim.h] (before-compile): Do not append to
65771         variable.
65772         [generic bits/local_lim.h] (common-generated): Likewise.
65773         [generic sys/param.h] (before-compile): Do not append to variable.
65774         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65775         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65776         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65777         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65778         include.
65779         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65780         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65781         [generic sys/param.h] ($(addprefix
65782         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65783         [generic sys/param.h] (common-generated): Do not append to
65784         variable.
65785         [generic sys/param.h] (sysdep_headers): Likewise.
65786         [generic bits/errno.h] (before-compile): Do not append to
65787         variable.
65788         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65789         rule.
65790         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65791         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65792         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65793         [generic bits/errno.h] (common-generated): Do not append to
65794         variable.
65795         [generic bits/ioctls.h] (before-compile): Do not append to
65796         variable.
65797         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65798         rule.
65799         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65800         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65801         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65802         rule.
65803         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65804         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65805         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65806         [generic bits/ioctls.h] (common-generated): Do not append to
65807         variable.
65808         [generic sys/syscall.h] (syscall.h): Remove variable.
65809         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65810         rule.
65811         [generic sys/syscall.h] (before-compile): Do not append to
65812         variable.
65813         [generic sys/syscall.h] (common-generated): Likewise.
65814         * sysdeps/unix/errnos-tmpl.c: Remove file.
65815         * sysdeps/unix/errnos.awk: Likewise.
65816         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65817         * sysdeps/unix/ioctls.awk: Likewise.
65818         * sysdeps/unix/mk-local_lim.c: Likewise.
65819         * sysdeps/unix/snarf-ioctls: Likewise.
65821 2012-03-19  Richard Henderson  <rth@twiddle.net>
65823         * sysdeps/i386/fpu/fenv_private.h: New file.
65824         * sysdeps/i386/fpu/math_private.h: Use it.
65825         (math_opt_barrier, math_force_eval): Remove.
65826         (libc_feholdexcept_setround_53bit): Remove.
65827         (libc_feupdateenv_53bit): Remove.
65828         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65829         (math_opt_barrier, math_force_eval): Remove.
65830         (libc_feholdexcept): Remove.
65831         (libc_feholdexcept_setround): Remove.
65832         (libc_fetestexcept, libc_fesetenv): Remove.
65833         (libc_feupdateenv_test): Remove.
65834         (libc_feupdateenv, libc_feholdsetround): Remove.
65835         (libc_feresetround): Remove.
65837         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65838         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65840         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65841         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65842         (libc_feupdateenv_testl): New.
65843         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65844         (libc_feupdateenv_testf): New.
65845         (libc_feupdateenv): Use libc_feupdateenv_test.
65846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65847         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65849         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65850         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65851         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65852         (libc_feresetround_noex): New.
65853         (libc_feresetround_noexf): New.
65854         (libc_feresetround_noexl): New.
65855         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65856         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65857         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65858         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65859         SET_RESTORE_ROUND.
65860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65862         (__cos): Likewise.
65863         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65865         SET_RESTORE_ROUND_NOEX.
65866         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65867         SET_RESTORE_ROUND_NOEXF.
65868         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65869         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65870         (libc_feholdsetroundf): New.
65871         (libc_feresetround, libc_feresetroundf): New.
65873         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65874         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65875         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65877         * sysdeps/generic/math_private.h: Include <fenv.h>.
65878         (default_libc_feholdexcept): New.
65879         (default_libc_feholdexcept_setround): New.
65880         (default_libc_fesetenv, default_libc_feupdateenv): New.
65881         (libc_feholdexcept): Only define if undefined.
65882         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65883         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65884         (libc_feholdexcept_setroundl): Likewise.
65885         (libc_feholdexcept_setround_53bit): Likewise.
65886         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65887         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65888         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65889         (libc_feupdateenv_53bit): Likewise.
65890         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65891         (libc_feholdexcept): Convert from macro to inline function.
65892         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65893         (libc_fesetenv, libc_feupdateenv): Likewise.
65895         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65896         not previously defined.
65897         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65898         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65899         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65900         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65901         * sysdeps/ieee754/flt-32/math_private.h: New file.
65902         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65903         math_private.h below SET_FLOAT_WORD.
65904         (__isnan, __isinf_ns, __finite): Remove.
65905         (__isnanf, __isinf_nsf, __finitef): Remove.
65907 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65911 2012-03-17  David S. Miller  <davem@davemloft.net>
65913         [BZ #6471]
65914         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65915         for 2.16.
65917 2012-03-16  David S. Miller  <davem@davemloft.net>
65919         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65920         warnings.
65922         [BZ #6471]
65923         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65924         properly.
65925         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65926         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65927         sysdep_routines when subdir is sysvipc.
65928         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65929         __getshmlba helper.
65931         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65935         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65936         [__LP64__].
65938 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65940         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65941         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65942         (__lround): Renamed to ...
65943         (__llround): This.  Replace long int with long long int.
65944         Define lround functions as aliases of llround functions.
65945         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65947 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65949         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65950         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65951         adresses to uintptr_t.  Replace "long int" and "unsigned long
65952         int" with "greg_t" on va_arg.
65954 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65956         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65957         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65959         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65960         Move e_machine check before EI_CLASS check.  Handle x32
65961         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65962         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65963         SKIP_EM_IA_64 and include
65964         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65966         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65967         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65968         (add_system_dir): New macro.
65970         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65971         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65973 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65975         [BZ #2551]
65976         [BZ #2552]
65977         [BZ #2553]
65978         [BZ #2554]
65979         [BZ #2562]
65980         [BZ #2563]
65981         [BZ #2565]
65982         [BZ #2566]
65983         [BZ #2576]
65984         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65985         (y0): Likewise.
65986         * math/w_j0f.c (j0f): Likewise.
65987         (y0f): Likewise.
65988         * math/w_j0l.c (__j0l): Likewise.
65989         (__y0l): Likewise.
65990         * math/w_j1.c (j1): Likewise.
65991         (y1): Likewise.
65992         * math/w_j1f.c (j1f): Likewise.
65993         (y1f): Likewise.
65994         * math/w_j1l.c (__j1l): Likewise.
65995         (__y1l): Likewise.
65996         * math/w_jn.c (jn): Likewise.
65997         (yn): Likewise.
65998         * math/w_jnf.c (jnf): Likewise.
65999         (ynf): Likewise.
66000         * math/w_jnl.c (__jnl): Likewise.
66001         (__ynl): Likewise.
66002         * math/libm-test.inc (j0_test): Add more tests.
66003         (j1_test): Likewise.
66004         (jn_test): Likewise.  Add trailing semicolon to existing test.
66005         (y0_test): Likewise.
66006         (y1_test): Likewise.
66007         * sysdeps/i386/fpu/libm-test-ulps: Update.
66008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66010         [BZ #13851]
66011         [BZ #13854]
66012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66013         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66014         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66015         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66016         (__tanl): Set errno for infinite argument.
66017         * sysdeps/i386/fpu/mptan.c: Remove.
66018         * sysdeps/i386/fpu/s_tan.S: Likewise.
66019         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66020         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66021         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66022         * math/libm-test.inc (tan_test): Add more tests and enable more
66023         tests for double and long double.
66024         * sysdeps/i386/fpu/libm-test-ulps: Update.
66025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66027 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66029         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66030         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66032 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66034         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66035         * configure.in: Use it for both main tree and add-ons.
66036         * configure: Regenerated.
66038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66040         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66042 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66044         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66045         in comment.
66047         [BZ #13851]
66048         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66049         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66050         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66051         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66052         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66053         infinite argument.
66054         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66055         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66056         != 0 for prec == 2.
66057         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66058         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66059         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66060         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66061         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66062         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66063         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66064         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66065         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66066         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66067         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66068         * math/libm-test.inc (cos_test): Add more tests and enable more
66069         tests for long double.
66070         (sin_test): Likewise.
66071         (sincos_test): Likewise.
66072         * sysdeps/i386/fpu/libm-test-ulps: Update.
66073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66075 2012-03-16  David S. Miller  <davem@davemloft.net>
66077         * sysdeps/sparc/fpu/math_private.h: New file.
66079 2012-03-15  David S. Miller  <davem@davemloft.net>
66081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66082         file.
66083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66085         file.
66086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66092         sysdep routines.
66093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66095         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66096         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66098         * sysdeps/sparc/sparc-ifunc.h: New file.
66099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66100         sparc-ifunc.h
66101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66103         Likewise.
66104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66105         Likewise.
66106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66110         Likewise.
66111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66116         Likewise.
66117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66118         Likewise.
66119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66140         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66144 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66146         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66147         scaling.
66148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66150 2012-03-15  Andreas Jaeger  <aj@suse.de>
66152         [BZ #13852]
66153         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66154         ieee754/flt-32 implementation for sin, cos and sincos.
66155         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66156         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66157         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66158         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66159         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66160         ieee754/flt-32 implementation for tan.
66162         * math/libm-test.inc (cos_test): Enable some large input tests for
66163         float as well
66164         (sin_test): Likewise.
66165         (sincos_test): Likewise.
66166         (tan_test): Add tests for large input.
66168         * sysdeps/i386/fpu/libm-test-ulps: Update.
66170 2012-03-15  Andreas Jaeger  <aj@suse.de>
66172         [BZ #13658]
66173         * math/libm-test.inc (cos_test): Add more test cases.
66174         (sin_test): Likewise.
66175         (sincos_test): Likewise.
66177 2012-03-15  Andreas Jaeger  <aj@suse.de>
66179         [BZ #13837]
66180         * math/libm-test.inc (cos_test): Add a test case for large input
66181         value.
66182         (sin_test): Likewise.
66183         (sincos_test): Likewise.
66185 2012-03-15  Andreas Jaeger  <aj@suse.de>
66186             Joseph Myers  <joseph@codesourcery.com>
66188         [BZ #13658]
66189         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66190         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66191         * sysdeps/i386/fpu/branred.c: Likewise.
66192         * sysdeps/i386/fpu/dosincos.c: Likewise.
66193         * sysdeps/i386/fpu/mpa.c: Likewise.
66194         * sysdeps/i386/fpu/s_cos.S: Likewise.
66195         * sysdeps/i386/fpu/s_sin.S: Likewise.
66196         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66197         * sysdeps/i386/fpu/sincos32.c: Likewise.
66199         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66200         Define.
66201         (libc_feupdateenv_53bit): Define.
66202         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66203         Define.
66204         (libc_feupdateenv_53bit): Define.
66206         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66207         53 bit (without extend i386 double precision).
66209         * math/libm-test.inc (sincos_test): Add tests for large input.
66210         (sin): Likewise.
66211         (cos): Likewise.
66213         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66215 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66219 2012-03-15  David S. Miller  <davem@davemloft.net>
66221         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66222         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66223         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66224         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66237         file.
66238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66240         file.
66241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66243         file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66246         file.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66249         fmin/fmax sysdep routines.
66250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66252 2012-03-14  David S. Miller  <davem@davemloft.net>
66254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66259         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66275         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66283         routines.
66284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66285         file.
66286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66288         file.
66289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66291         file.
66292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66294         file.
66295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66297         file.
66298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66300         file.
66301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66302         file.
66303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66304         file.
66305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66306         file.
66307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66308         New file.
66309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66310         file.
66311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66312         file.
66313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66315         file.
66316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66318         file.
66319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66321         file.
66322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66324         VIS3 routines.
66326         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66327         New file.
66329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66331         * sysdeps/sparc/configure.in: New file.
66332         * sysdeps/sparc/configure: Generate.
66333         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66334         * configure: Regenerate.
66335         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66336         * config.make.in (have-as-vis3): New.
66337         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66338         available use -Av9d instead of -Av9a.
66339         * sysdeps/sparc/sparc64/Makefile: Likewise.
66340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66342         New file.
66343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66344         file.
66345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66346         New file.
66347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66348         file.
66349         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66355         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66356         fzeros/fnegs to load 0x80000000 into a float register instead of
66357         using the stack.
66358         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66360 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66363         bits/syscall.h.
66364         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66365         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66366         ($(inst_includedir)/bits/syscall.h): Remove rule.
66367         ($(objpfx)bits/syscall.d): Include instead of
66368         $(objpfx)syscall-list.d.
66369         (generated): Change syscall-list.h and syscall-list.d to
66370         bits/syscall.h and bits/syscall.d.
66372 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66374         [BZ #13846]
66375         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66377 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66379         [BZ #13841]
66380         * math/s_csqrt.c: Include <float.h>.
66381         (__csqrt): Scale large or subnormal inputs.
66382         * math/s_csqrtf.c: Likewise.
66383         * math/s_csqrtl.c: Likewise.
66384         * math/libm-test.inc (csqrt_test): Add more tests.
66385         * sysdeps/i386/fpu/libm-test-ulps: Update.
66386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66388         [BZ #13840]
66389         * math/libm-test.inc (hypot_test): Add more tests.
66391 2012-03-13  David S. Miller  <davem@davemloft.net>
66393         [BZ #13840]
66394         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66395         double-precision for the calculation instead of scaling.
66397 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66399         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66400         manipulate bits before adding and subtracting TWO52[sx].
66401         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66403         Likewise.
66404         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66406 2012-03-13  David S. Miller  <davem@davemloft.net>
66408         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66409         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66411         rtld-global-offsets.h
66412         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66414         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66415         large parameters.
66417         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66419         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66420         'err' in the ifdef scope in which it is actually used.
66422         * nss/nss_db/db-init.c: Include string.h
66424 2012-03-12  David S. Miller  <davem@davemloft.net>
66426         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66427         masking out of the most significant byte of random value used.
66428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66429         Fix coding style in previous change.
66431         * sysdeps/unix/sysv/linux/kernel-features.h
66432         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66433         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66434         expression.
66435         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66436         later.
66438 2012-03-11  David S. Miller  <davem@davemloft.net>
66440         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66441         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66442         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66443         for 'resultvar' otherwise things get truncated on 64-bit.
66445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66446         Fix masking out of the most significant byte of random value used.
66448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66450 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66454 2012-03-09  David S. Miller  <davem@davemloft.net>
66456         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66457         variables with appropriate CPP guards.
66458         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66459         from the frame pointer, not the stack pointer.  Correct layout
66460         comments.  Fix test on resulting framesize and the management of
66461         the outregs buffer for pltexit.  Preserve floating point return
66462         values across _dl_call_pltexit call.
66463         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66464         framesize and the management of the outregs buffer for pltexit.
66465         Preserve floating point return values across _dl_call_pltexit
66466         call.
66467         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66468         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66469         (la_sparc64_gnu_pltexit): New functions.
66470         (print_exit): Fix format string for return register value.
66472 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66474         * sunrpc/Makefile (others): Add rpcgen.
66475         ($(objpfx)rpcgen): Remove special build rule and dependency on
66476         libc.
66477         * sunrpc/rpcgen.c: New file.
66479 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66481         [BZ #13673]
66482         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66483         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66484         * sysdeps/i386/crti.S: Likewise.
66485         * sysdeps/i386/crtn.S: Likewise.
66486         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66487         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66488         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66489         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66490         * sysdeps/sh/crti.S: Likewise.
66491         * sysdeps/sh/crtn.S: Likewise.
66492         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66494         [BZ #13673]
66495         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66496         with URL.
66497         * locale/programs/locfile-kw.gperf: Likewise.
66498         * locale/programs/charmap-kw.h: Regenerated.
66499         * locale/programs/locfile-kw.h: Likewise.
66501         [BZ #13673]
66502         * intl/plural.y: Replace FSF snail mail address with URL.
66503         * intl/plural.c: Regenerated.
66505 2012-03-09  Richard Henderson  <rth@twiddle.net>
66507         * include/math_private.h: Remove file.
66508         * math/math_private.h: Move file ...
66509         * sysdeps/generic/math_private.h: ... here.
66511         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66512         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66513         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66515         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66516         and <math_private.h>.
66517         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66518         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66519         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66520         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66521         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66522         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66523         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66525         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66526         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66531         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66532         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66541         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66542         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66543         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66547         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66550         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66557         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66558         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66559         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66560         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66561         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66562         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66563         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66564         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66565         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66566         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66567         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66568         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66572         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66575         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66576         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66577         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66578         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66580         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66581         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66582         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66583         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66584         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66585         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66595         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66597         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66605         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66606         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66607         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66608         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66609         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66610         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66611         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66612         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66613         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66614         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66617         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66618         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66619         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66620         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66621         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66622         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66623         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66624         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66625         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66627         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66628         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66629         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66630         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66631         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66632         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66633         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66634         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66635         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66636         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66637         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66638         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66639         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66640         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66641         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66643         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66644         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66645         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66646         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66647         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66648         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66649         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66650         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66651         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66652         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66653         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66654         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66655         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66656         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66657         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66658         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66659         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66660         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66662         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66663         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66664         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66665         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66666         * sysdeps/ieee754/k_standard.c: Likewise.
66667         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66668         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66670         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66671         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66672         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66673         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66674         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66727         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66729         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66734         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66744         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66752         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66753         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66757         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66758         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66759         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66760         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66763         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66772         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66774         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66775         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66779         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66781         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66782         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66783         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66785         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66790         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66791         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66792         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66793         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66794         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66795         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66796         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66797         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66798         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66799         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66800         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66801         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66805         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66806         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66808         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66810         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66811         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66815         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66816         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66818         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66820         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66824         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66826         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66827         * sysdeps/ieee754/s_lib_version.c: Likewise.
66828         * sysdeps/ieee754/s_matherr.c: Likewise.
66829         * sysdeps/ieee754/s_signgam.c: Likewise.
66830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66833         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66834         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66835         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66836         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66837         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66838         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66839         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66840         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66841         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66842         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66844         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66845         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66846         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66848         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66852 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66854         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66855         * sunrpc/rpc_main.c: Likewise.
66856         * sunrpc/rpc_svcout.c: Likewise.
66858 2012-03-09  David S. Miller  <davem@davemloft.net>
66860         * include/math_private.h: New file.
66862 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66864         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66865         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66866         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66867         from <bits/socket_type.h>.
66868         (enum __socket_type): Don't define here.
66869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66871         bits/socket_type.h.
66873         [BZ #13566]
66874         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66875         checking __USE_GNU.
66877         * Makerules ($(inst_includedir)/%.h): New rule.
66878         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66879         (install-others): Remove variable setting.
66880         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66882 2012-03-08  Richard Henderson  <rth@twiddle.net>
66884         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66885         from macro to inline function; merge with the
66886         !__LIBC_INTERNAL_MATH_INLINES version.
66887         (__ieee754_sqrtf): Likewise.
66889         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66890         to inline function.
66891         (__rintf, __floor, __floorf): Likewise.
66893         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66894         macro to inline function.
66895         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66897         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66898         not <math/math_private.h>.
66900 2012-03-08  David S. Miller  <davem@davemloft.net>
66902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66903         copyright year.
66904         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66906 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66908         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66909         normalization.
66910         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66913 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66915         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66916         be defined individually, they must be defined as a block.  Define
66917         S for printing a string instead of hidint the different by using a
66918         macro for adding the 'l'.
66919         * stdio-common/tst-fphex-wide.c: Adjust.
66921 2012-03-07  Marek Polacek  <polacek@redhat.com>
66923         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66925 2012-03-08  Marek Polacek  <polacek@redhat.com>
66927         [BZ #13806]
66928         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66929         * stdio-common/tst-fphex.c: Define a few macros to make the
66930         test reusable.  Use them.
66931         * stdio-common/tst-fphex-wide.c: New file.
66933 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66935         [BZ #6911]
66936         * manual/macros.texi (gnusystems): New macro.
66937         (nongnusystems): Likewise.
66938         (gnulinuxhurdsystems): Likewise.
66939         (gnuhurdsystems): Likewise..
66940         (gnulinuxsystems): Likewise.
66941         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66942         variants of the GNU system, not "GNU system".
66943         * manual/conf.texi: Likewise.
66944         * manual/errno.texi: Likewise.  Update example of errno macro
66945         expansion.
66946         * manual/filesys.texi: Likewise.
66947         (getumask): Document as specific to GNU/Hurd.
66948         * manual/install.texi: Likewise.  Reword some references to
66949         GNU/Linux.
66950         * manual/intro.texi: Likewise.
66951         * manual/io.texi: Likewise.
66952         (File Name Portability): Detail which constraints are inapplicable
66953         to all GNU systems and which are only inapplicable to GNU/Hurd.
66954         * manual/job.texi: Likewise.
66955         * manual/llio.texi: Likewise.
66956         (O_NOCTTY): Document as present on GNU/Linux.
66957         * manual/maint.texi: Likewise.
66958         * manual/memory.texi: Likewise.
66959         * manual/pattern.texi: Likewise.
66960         * manual/pipe.texi: Likewise.
66961         * manual/process.texi: Likewise.
66962         * manual/resource.texi: Likewise.
66963         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66964         child on GNU/Hurd.
66965         * manual/setjmp.texi: Likewise.
66966         * manual/signal.texi: Likewise.
66967         * manual/startup.texi: Likewise.
66968         * manual/stdio.texi: Likewise.
66969         * manual/terminal.texi: Likewise.
66970         (ONLCR): Document as POSIX.
66971         (OXTABS): Document availability on GNU/Linux as XTABS.
66972         (ONOEOT): Document availability separately from other bits.
66973         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66974         * manual/time.texi: Likewise.
66975         * manual/users.texi: Likewise.
66976         * INSTALL: Regenerated.
66977         * sysdeps/gnu/errlist.c: Regenerated.
66979         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66980         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66981         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66982         puts.
66983         * configure: Regenerated.
66985 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66987         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66988         default includes instead of AC_HEADER_CHECK.
66989         * sysdeps/i386/configure: Regenerated.
66991         [BZ #10716]
66992         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66993         * math/s_cacoshf.c (__cacoshf): Likewise.
66994         * math/s_cacoshl.c (__cacoshl): Likewise.
66995         * math/s_casinh.c (__casinh): Set signs of result from argument.
66996         * math/s_casinhf.c (__casinhf): Likewise.
66997         * math/s_casinhl.c (__casinhl): Likewise.
66998         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66999         (casinh_test): Add more tests.
67000         * sysdeps/i386/fpu/libm-test-ulps: Update.
67001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67003 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67005         * po/zh_TW.po: Update from translation team.
67007         * login/Makefile (distribute): Remove variable.
67008         * catgets/Makefile: Likewise.
67009         * mach/Makefile: Likewise.
67010         * malloc/Makefile: Likewise.
67011         * misc/Makefile: Likewise.
67012         * iconv/Makefile: Likewise.
67013         * nscd/Makefile: Likewise.
67014         * hurd/Makefile: Likewise.
67015         * manual/Makefile: Likewise.
67016         * locale/Makefile: Likewise.
67017         * intl/Makefile: Likewise.
67018         * conform/Makefile: Likewise.
67019         * nss/Makefile: Likewise.
67020         * time/Makefile: Likewise.
67021         * soft-fp/Makefile: Likewise.
67022         * dirent/Makefile: Likewise.
67023         * gmon/Makefile: Likewise.
67024         * po/Makefile: Likewise.
67025         * rt/Makefile: Likewise.
67026         * socket/Makefile: Likewise.
67027         * math/Makefile: Likewise.
67028         * signal/Makefile: Likewise.
67029         * debug/Makefile: Likewise.
67030         * elf/Makefile: Likewise.
67031         * timezone/Makefile: Likewise.
67032         * stdlib/Makefile: Likewise.
67033         * iconvdata/Makefile: Likewise.
67034         * sunrpc/Makefile: Likewise.
67035         * io/Makefile: Likewise.
67036         * argp/Makefile: Likewise.
67037         * inet/Makefile: Likewise.
67038         * hesiod/Makefile: Likewise.
67039         * grp/Makefile: Likewise.
67040         * csu/Makefile: Likewise.
67041         * wctype/Makefile: Likewise.
67042         * crypt/Makefile: Likewise.
67043         * libio/Makefile: Likewise.
67044         * string/Makefile: Likewise.
67045         * nis/Makefile: Likewise.
67046         * resolv/Makefile: Likewise.
67047         * stdio-common/Makefile: Likewise.
67048         * wcsmbs/Makefile: Likewise.
67049         * dlfcn/Makefile: Likewise.
67050         * posix/Makefile: Likewise.
67052         [BZ #6959]
67053         * timezone/Makefile: Don't install timezone files, just the programs
67054         and scripts.
67056 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67058         * nss/databases.def: Add missing gshadow entry.
67060         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67062 2012-03-06  Marek Polacek  <polacek@redhat.com>
67064         [BZ #13726]
67065         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67066         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67067         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67068         * stdio-common/tst-long-dbl-fphex.c: New file.
67070 2012-03-06  David S. Miller  <davem@davemloft.net>
67072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67073         (set_obp_int): New function.
67074         (get_obp_int): New function.
67075         (__get_clockfreq_via_dev_openprom): Likewise.
67076         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67077         Avoid unused variable warnings on 'val' and use builtin_expect.
67078         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67079         __builtin_expect.
67080         (INLINE_CLONE_SYSCALL): Likewise.
67082 2012-03-05  David S. Miller  <davem@davemloft.net>
67084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67086 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67091         only for |x| >= 40.
67092         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67094 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67097         Replace gettimeofday with __vdso_gettimeofday.
67099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67100         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67101         __vdso_clock_gettime and __vdso_getcpu.
67103         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67104         time with __vdso_time.
67106 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67108         * manual/lang.texi (size_t): Note types to which size_t may be
67109         equivalent with the GNU C Library, but do not describe when
67110         differences between them are significant.
67112 2012-03-05  Andreas Jaeger  <aj@suse.de>
67114         * sysdeps/i386/fpu/libm-test-ulps: Update.
67116 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67118         [BZ #3976]
67119         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67120         (__ieee754_pow): Save and restore rounding mode and use
67121         round-to-nearest for main computations.
67122         * math/libm-test.inc (pow_test_tonearest): New function.
67123         (pow_test_towardzero): Likewise.
67124         (pow_test_downward): Likewise.
67125         (pow_test_upward): Likewise.
67126         (main): Call the new functions.
67127         * sysdeps/i386/fpu/libm-test-ulps: Update.
67128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67130         [BZ #3976]
67131         * math/libm-test.inc (cosh_test_tonearest): New function.
67132         (cosh_test_towardzero): Likewise.
67133         (cosh_test_downward): Likewise.
67134         (cosh_test_upward): Likewise.
67135         (sinh_test_tonearest): Likewise.
67136         (sinh_test_towardzero): Likewise.
67137         (sinh_test_downward): Likewise.
67138         (sinh_test_upward): Likewise.
67139         (main): Call the new functions.
67140         * sysdeps/i386/fpu/libm-test-ulps: Update.
67141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67143 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67145         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67146         default stack guard is set in last bytes.
67147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67149 2012-03-05  Kees Cook  <keescook@chromium.org>
67151         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67153         [BZ #13656]
67154         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67155         possibly allocate from heap instead of stack.
67156         * stdio-common/bug-vfprintf-nargs.c: New file.
67157         * stdio-common/Makefile (tests): Add nargs overflow test.
67159 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67163 2012-03-03  Marek Polacek  <polacek@redhat.com>
67165         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67166         * math/math_private.h: Likewise.
67167         * stdlib/tst-strtod.c: Likewise.
67168         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67169         * sysdeps/x86_64/bits/atomic.h: Likewise.
67171 2012-03-02  David S. Miller  <davem@davemloft.net>
67173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67177         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67178         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67179         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67180         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67182 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67184         [BZ #13792]
67185         * manual/examples/README: New file, says the example source files
67186         can be used under GPL>=2.
67187         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67188         line containing just "*/".
67189         * manual/examples/add.c: Add copyright header (GPL>=2).
67190         * manual/examples/argp-ex1.c: Likewise.
67191         * manual/examples/argp-ex2.c: Likewise.
67192         * manual/examples/argp-ex3.c: Likewise.
67193         * manual/examples/argp-ex4.c: Likewise.
67194         * manual/examples/atexit.c: Likewise.
67195         * manual/examples/db.c: Likewise.
67196         * manual/examples/dir.c: Likewise.
67197         * manual/examples/dir2.c: Likewise.
67198         * manual/examples/execinfo.c: Likewise.
67199         * manual/examples/filecli.c: Likewise.
67200         * manual/examples/filesrv.c: Likewise.
67201         * manual/examples/fmtmsgexpl.c: Likewise.
67202         * manual/examples/genpass.c: Likewise.
67203         * manual/examples/inetcli.c: Likewise.
67204         * manual/examples/inetsrv.c: Likewise.
67205         * manual/examples/isockad.c: Likewise.
67206         * manual/examples/longopt.c: Likewise.
67207         * manual/examples/memopen.c: Likewise.
67208         * manual/examples/memstrm.c: Likewise.
67209         * manual/examples/mkfsock.c: Likewise.
67210         * manual/examples/mkisock.c: Likewise.
67211         * manual/examples/mygetpass.c: Likewise.
67212         * manual/examples/pipe.c: Likewise.
67213         * manual/examples/popen.c: Likewise.
67214         * manual/examples/rprintf.c: Likewise.
67215         * manual/examples/search.c: Likewise.
67216         * manual/examples/select.c: Likewise.
67217         * manual/examples/setjmp.c: Likewise.
67218         * manual/examples/sigh1.c: Likewise.
67219         * manual/examples/sigusr.c: Likewise.
67220         * manual/examples/stpcpy.c: Likewise.
67221         * manual/examples/strdupa.c: Likewise.
67222         * manual/examples/strftim.c: Likewise.
67223         * manual/examples/strncat.c: Likewise.
67224         * manual/examples/subopt.c: Likewise.
67225         * manual/examples/swapcontext.c: Likewise.
67226         * manual/examples/termios.c: Likewise.
67227         * manual/examples/testopt.c: Likewise.
67228         * manual/examples/testpass.c: Likewise.
67229         * manual/examples/timeval_subtract.c: Likewise.
67231         [BZ #13792]
67232         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67233         function to ...
67234         * manual/timeval_subtract.c.texi: ... here, new file.
67236 2012-03-02  David S. Miller  <davem@davemloft.net>
67238         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67240 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67242         [BZ #3976]
67243         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67244         (__sin): Save and restore rounding mode and use round-to-nearest
67245         for all computations.
67246         (__cos): Save and restore rounding mode and use round-to-nearest
67247         for all computations.
67248         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67249         <fenv.h>.
67250         (tan): Save and restore rounding mode and use round-to-nearest for
67251         all computations.
67252         * math/libm-test.inc (cos_test_tonearest): New function.
67253         (cos_test_towardzero): Likewise.
67254         (cos_test_downward): Likewise.
67255         (cos_test_upward): Likewise.
67256         (sin_test_tonearest): Likewise.
67257         (sin_test_towardzero): Likewise.
67258         (sin_test_downward): Likewise.
67259         (sin_test_upward): Likewise.
67260         (tan_test_tonearest): Likewise.
67261         (tan_test_towardzero): Likewise.
67262         (tan_test_downward): Likewise.
67263         (tan_test_upward): Likewise.
67264         (main): Call the new functions.
67265         * sysdeps/i386/fpu/libm-test-ulps: Update.
67266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67268         [BZ #10135]
67269         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67270         small n, then large n, before computing and testing k+n.
67271         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67273         Likewise.
67274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67275         Likewise.
67276         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67277         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67284         * math/libm-test.inc (scalbn_test): Add more tests.
67285         (scalbln_test): Likewise.
67287         * manual/filesys.texi (mode_t): Describe constraints on size and
67288         signedness, not exact equivalence to a particular type.
67289         (ino_t): Likewise.
67290         (ino64_t): Likewise.
67291         (dev_t): Likewise.
67292         (nlink_t): Likewise.
67293         (blkcnt_t): Likewise.
67294         (blkcnt64_t): Likewise.
67295         * manual/llio.texi (off_t): Likewise.
67297         [BZ #3976]
67298         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67299         (__ieee754_exp): Save and restore rounding mode and use
67300         round-to-nearest for all computations.
67301         * math/libm-test.inc (exp_test_tonearest): New function.
67302         (exp_test_towardzero): Likewise.
67303         (exp_test_downward): Likewise.
67304         (exp_test_upward): Likewise.
67305         (main): Call the new functions.
67306         * sysdeps/i386/fpu/libm-test-ulps: Update.
67307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67309 2012-03-01  Chris Demetriou  <cgd@google.com>
67311         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67312         have predictable order.
67314 2012-03-01  David S. Miller  <davem@davemloft.net>
67316         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67318         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67319         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67320         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67321         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67323         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67324         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67325         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67327         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67328         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67329         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67330         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67331         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67336         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67337         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67339         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67340         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67341         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67342         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67343         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67346         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67347         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67348         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67349         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67353         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67355         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67356         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67357         * sysdeps/sparc/elf/configure: Regenerated.
67359 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67361         * configure.in (AS, LD): Require binutils 2.20 or later.
67362         * configure: Regenerated.
67363         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67364         as required minimum version.
67365         * INSTALL: Regenerated.
67367         [BZ #2541]
67368         [BZ #4108]
67369         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67370         before squaring exponent.
67371         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67372         bottom long double and 27 bits of top long double before squaring
67373         exponent.
67374         * math/libm-test.inc (erfc_test): Add more tests.
67375         * sysdeps/i386/fpu/libm-test-ulps: Update.
67376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67379 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67381         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67382         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67383         containing bit-fields.
67384         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67385         * soft-fp/single.h (_FP_UNION_S): Likewise.
67386         * soft-fp/double.h (_FP_UNION_D): Likewise.
67388 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67390         [BZ #13786]
67391         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67392         not include ../strcmp.S.
67393         [USE_AS_STRNCASECMP_L]: Likewise.
67394         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67395         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67396         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67397         (__strncasecmp_l_ia32): Define as alias to
67398         __strncasecmp_l_nonascii.
67400         [BZ #5794]
67401         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67402         * sysdeps/i386/fpu/libm-test-ulps: Update.
67403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67405         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67408 2012-02-29  Jeff Law  <law@redhat.com>
67410         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67411         out of bounds read.
67413 2012-02-29  Marek Polacek  <polacek@redhat.com>
67415         [BZ #13706]
67416         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67417         * elf/Makefile: Add rules to run tst-unused-dep.out.
67419 2012-02-28  David S. Miller  <davem@davemloft.net>
67421         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67422         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67423         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67424         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67425         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67426         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67428 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67430         * math/libm-test.inc (llround_test): Move one test from
67431         lround_test.  Use TEST_f_L in moved test.
67432         (lround_test): Move misplaced test to llround_test.  Add testcase
67433         from bug 2561.
67435 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67437         * sysdeps/x86_64/fpu/e_expf.S: New file.
67438         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67440 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67442         [BZ #13637]
67443         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67444         of remain_len that may cause incomplete multi-byte character and
67445         false match.
67446         * posix/bug-regex33.c: New file.
67447         * posix/Makefile (tests): Add bug-regex33.
67449 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67451         * manual/macros.texi: New file.
67452         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67453         * manual/libc.texinfo: Include macros.texi.
67454         * manual/creatute.texi: Likewise.
67455         * manual/install.texi: Likewise.
67456         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67457         @glibcadj{} in references to the GNU C Library.
67458         * manual/charset.texi: Likewise.
67459         * manual/conf.texi: Likewise.
67460         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67461         when not using those macros.
67462         * manual/creature.texi: Likewise.
67463         * manual/crypt.texi: Likewise.
67464         * manual/errno.texi: Likewise.
67465         * manual/filesys.texi: Likewise.
67466         * manual/header.texi: Likewise.
67467         * manual/install.texi: Likewise.
67468         * manual/intro.texi: Likewise.
67469         * manual/io.texi: Likewise.
67470         * manual/job.texi: Likewise.
67471         * manual/lang.texi: Likewise.
67472         * manual/libc.texiinfo: Likewise.
67473         * manual/llio.texi: Likewise.
67474         * manual/locale.texi: Likewise.
67475         * manual/maint.texi: Likewise.
67476         * manual/math.texi: Likewise.
67477         * manual/memory.texi: Likewise.
67478         * manual/message.texi: Likewise.
67479         * manual/nss.texi: Likewise.
67480         * manual/pattern.texi: Likewise.
67481         * manual/process.texi: Likewise.
67482         * manual/resource.texi: Likewise.
67483         * manual/search.texi: Likewise.
67484         * manual/setjmp.texi: Likewise.
67485         * manual/signal.texi: Likewise.
67486         * manual/socket.texi: Likewise.
67487         * manual/startup.texi: Likewise.
67488         * manual/stdio.texi: Likewise.
67489         * manual/string.texi: Likewise.
67490         * manual/sysinfo.texi: Likewise.
67491         * manual/syslog.texi: Likewise.
67492         * manual/terminal.texi: Likewise.
67493         * manual/time.texi: Likewise.
67494         * manual/users.texi: Likewise.
67495         * INSTALL: Regenerated.
67496         * NOTES: Regenerated.
67497         * sysdeps/gnu/errlist.c: Regenerated.
67499 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67501         * include/dirent.h: Include <dirstream.h> before
67502         <dirent/dirent.h>.
67504 2012-02-28  David S. Miller  <davem@davemloft.net>
67506         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67507         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67508         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67509         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67511 2012-02-27  David S. Miller  <davem@davemloft.net>
67513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67515         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67516         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67519         frame pointer instead of stack pointer relative arg slot.
67520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67521         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67522         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67524 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67526         [BZ #3992]
67527         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67529 2012-02-27  David S. Miller  <davem@davemloft.net>
67531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67537         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67538         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67540 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67542         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67543         later.  Allow versions 5-9.
67544         * configure: Regenerated.
67545         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67546         required minimum version and 4.6 as recommended version.  Do not
67547         mention bugs in GCC 2.7 and 2.8.
67548         * INSTALL: Regenerated.
67550 2012-02-27  David S. Miller  <davem@davemloft.net>
67552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67558         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67559         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67561         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67562         manipulate bits before adding and subtracting TWO112[sx].
67563         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67565 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67567         [BZ #13775]
67568         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67569         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67570         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67571         being in POSIX, because they are in 1003.1-2008.
67573         * rt/tst-aio.c: Include <fcntl.h>.
67574         * rt/tst-aio7.c: Likewise.
67575         * rt/tst-aio64.c: Likewise.
67577         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67581         * manual/install.texi (--with-headers): Describe headers as
67582         interface headers, not private headers.
67583         (Specific advice for GNU/Linux systems): Describe use of headers
67584         from "make headers_install", not private headers from older
67585         kernels.
67586         * INSTALL: Regenerated.
67587         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67588         Change to 2.6.19.
67589         * sysdeps/unix/sysv/linux/configure: Regenerated.
67591         * manual/llio.texi (fclean): Remove documentation.
67593         * manual/Makefile (libc-texi-generated): New variable.  Include
67594         version.texi.
67595         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67596         $(libc-texi-generated), not duplicated list of files.
67597         (version.texi, stamp-version): New rules.
67598         (realclean): Remove $(libc-texi-generated), not individual files
67599         from that list.  Do not remove dir-add.texinfo.
67600         * manual/libc.texinfo: Comment out uses of edition numbers and
67601         references to printed manual.  Remove last-updated dates.
67602         (EDITION): Comment out.
67603         (ISBN): Likewise.
67604         (VERSION, UPDATED): Remove.
67605         (version.texi): Include.
67607 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67609         * sysdeps/posix/spawni.c: Include <signal.h>.
67610         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67611         * sysdeps/pthread/aio_fsync.c: Likewise.
67613 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67615         * conform/Makefile (tests): Run only when not cross-compiling and
67616         when fast-check is not defined.
67618         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67619         * conform/data/limits.h-data: Fixes for POSIX2008.
67620         * conform/run-conformtest.sh: Run all tests.
67621         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67622         headers.
67623         * include/bits/dlfcn.h: Likewise.
67624         * include/langinfo.h: Likewise.
67625         * include/monetary.h: Likewise.
67626         * include/sys/poll.h: Likewise.
67628         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67629         for __USE_GNU.
67630         * posix/spawn.h: Define __need_sigset_t.
67631         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67632         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67633         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67634         to get sigevent_t only.
67635         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67636         only for __USE_GNU.
67637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67638         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67639         process_vm_writev only for __USE_GNU.
67640         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67642         * conform/Makefile: For now ignore errors from run-conformtest.
67643         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67644         POSIX to avoid namespace pollution.  Don't prepend headers.
67645         * conform/data/aio.h-data: Fixes for POSIX testing.
67646         * conform/data/fcntl.h-data: Likewise.
67647         * conform/data/glob.h-data: Likewise.
67648         * conform/data/grp.h-data: Likewise.
67649         * conform/data/pthread.h-data: Likewise.
67650         * conform/data/pwd.h-data: Likewise.
67651         * conform/data/signal.h-data: Likewise.
67652         * conform/data/spawn.h-data: Likewise.
67653         * conform/data/stdio.h-data: Likewise.
67654         * conform/data/stdlib.h-data: Likewise.
67655         * conform/data/stropts.h-data: Likewise.
67656         * conform/data/sys/mman.h-data: Likewise.
67657         * conform/data/sys/stat.h-data: Likewise.
67658         * conform/data/sys/types.h-data: Likewise.
67659         * conform/data/sys/wait.h-data: Likewise.
67660         * conform/data/time.h-data: Likewise.
67661         * conform/data/unistd.h-data: Likewise.
67662         * conform/data/utime.h-data: Likewise.
67664         * io/sys/stat.h: fchmod was always in POSIX.
67665         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67666         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67667         * rt/aio.h: Define __need_timespec before including <time.h>.
67668         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67669         struct.  Add forward declaration of pthread_attr_t and use it in
67670         sigevent.
67671         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67673         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67674         always remove CLK_TCK definition.
67676 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67678         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67680 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67682         * conform/run-conformtest.sh: New file.
67683         * conform/Makefile: Run run-conformtest for tests.
67684         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67685         support.
67687         * conform/data/uchar.h-data: New file.
67688         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67689         * conform/data/arpa/inet.h-data: Likewise.
67690         * conform/data/assert.h-data: Likewise.
67691         * conform/data/complex.h-data: Likewise.
67692         * conform/data/cpio.h-data: Likewise.
67693         * conform/data/ctype.h-data: Likewise.
67694         * conform/data/dirent.h-data: Likewise.
67695         * conform/data/dlfcn.h-data: Likewise.
67696         * conform/data/errno.h-data: Likewise.
67697         * conform/data/fcntl.h-data: Likewise.
67698         * conform/data/float.h-data: Likewise.
67699         * conform/data/fmtmsg.h-data: Likewise.
67700         * conform/data/fnmatch.h-data: Likewise.
67701         * conform/data/ftw.h-data: Likewise.
67702         * conform/data/glob.h-data: Likewise.
67703         * conform/data/grp.h-data: Likewise.
67704         * conform/data/iconv.h-data: Likewise.
67705         * conform/data/inttypes.h-data: Likewise.
67706         * conform/data/langinfo.h-data: Likewise.
67707         * conform/data/libgen.h-data: Likewise.
67708         * conform/data/limits.h-data: Likewise.
67709         * conform/data/locale.h-data: Likewise.
67710         * conform/data/math.h-data: Likewise.
67711         * conform/data/monetary.h-data: Likewise.
67712         * conform/data/mqueue.h-data: Likewise.
67713         * conform/data/ndbm.h-data: Likewise.
67714         * conform/data/net/if.h-data: Likewise.
67715         * conform/data/netdb.h-data: Likewise.
67716         * conform/data/netinet/in.h-data: Likewise.
67717         * conform/data/nl_types.h-data: Likewise.
67718         * conform/data/poll.h-data: Likewise.
67719         * conform/data/pthread.h-data: Likewise.
67720         * conform/data/pwd.h-data: Likewise.
67721         * conform/data/regex.h-data: Likewise.
67722         * conform/data/sched.h-data: Likewise.
67723         * conform/data/search.h-data: Likewise.
67724         * conform/data/semaphore.h-data: Likewise.
67725         * conform/data/setjmp.h-data: Likewise.
67726         * conform/data/signal.h-data: Likewise.
67727         * conform/data/spawn.h-data: Likewise.
67728         * conform/data/stdarg.h-data: Likewise.
67729         * conform/data/stdio.h-data: Likewise.
67730         * conform/data/stdlib.h-data: Likewise.
67731         * conform/data/string.h-data: Likewise.
67732         * conform/data/strings.h-data: Likewise.
67733         * conform/data/stropts.h-data: Likewise.
67734         * conform/data/sys/ipc.h-data: Likewise.
67735         * conform/data/sys/mman.h-data: Likewise.
67736         * conform/data/sys/msg.h-data: Likewise.
67737         * conform/data/sys/resource.h-data: Likewise.
67738         * conform/data/sys/select.h-data: Likewise.
67739         * conform/data/sys/sem.h-data: Likewise.
67740         * conform/data/sys/shm.h-data: Likewise.
67741         * conform/data/sys/socket.h-data: Likewise.
67742         * conform/data/sys/stat.h-data: Likewise.
67743         * conform/data/sys/statvfs.h-data: Likewise.
67744         * conform/data/sys/time.h-data: Likewise.
67745         * conform/data/sys/timeb.h-data: Likewise.
67746         * conform/data/sys/times.h-data: Likewise.
67747         * conform/data/sys/types.h-data: Likewise.
67748         * conform/data/sys/uio.h-data: Likewise.
67749         * conform/data/sys/un.h-data: Likewise.
67750         * conform/data/sys/utsname.h-data: Likewise.
67751         * conform/data/sys/wait.h-data: Likewise.
67752         * conform/data/syslog.h-data: Likewise.
67753         * conform/data/tar.h-data: Likewise.
67754         * conform/data/termios.h-data: Likewise.
67755         * conform/data/utime.h-data: Likewise.
67756         * conform/data/utmpx.h-data: Likewise.
67757         * conform/data/varargs.h-data: Likewise.
67758         * conform/data/wchar.h-data: Likewise.
67759         * conform/data/wctype.h-data: Likewise.
67760         * conform/data/wordexp.h-data: Likewise.
67762         * include/stropts.h: New file.
67763         * include/uchar.h: New file.
67764         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67765         * include/assert.h: Likewise.
67766         * include/ctype.h: Likewise.
67767         * include/dirent.h: Likewise.
67768         * include/dlfcn.h: Likewise.
67769         * include/fcntl.h: Likewise.
67770         * include/fnmatch.h: Likewise.
67771         * include/glob.h: Likewise.
67772         * include/grp.h: Likewise.
67773         * include/libio.h: Likewise.
67774         * include/locale.h: Likewise.
67775         * include/math.h: Likewise.
67776         * include/net/if.h: Likewise.
67777         * include/netdb.h: Likewise.
67778         * include/netinet/in.h: Likewise.
67779         * include/pthread.h: Likewise.
67780         * include/pwd.h: Likewise.
67781         * include/regex.h: Likewise.
67782         * include/sched.h: Likewise.
67783         * include/search.h: Likewise.
67784         * include/setjmp.h: Likewise.
67785         * include/signal.h: Likewise.
67786         * include/stdio.h: Likewise.
67787         * include/stdlib.h: Likewise.
67788         * include/string.h: Likewise.
67789         * include/sys/cdefs.h: Likewise.
67790         * include/sys/mman.h: Likewise.
67791         * include/sys/msg.h: Likewise.
67792         * include/sys/resource.h: Likewise.
67793         * include/sys/select.h: Likewise.
67794         * include/sys/socket.h: Likewise.
67795         * include/sys/stat.h: Likewise.
67796         * include/sys/statvfs.h: Likewise.
67797         * include/sys/time.h: Likewise.
67798         * include/sys/times.h: Likewise.
67799         * include/sys/uio.h: Likewise.
67800         * include/sys/utsname.h: Likewise.
67801         * include/sys/wait.h: Likewise.
67802         * include/termios.h: Likewise.
67803         * include/time.h: Likewise.
67804         * include/ulimit.h: Likewise.
67805         * include/unistd.h: Likewise.
67806         * include/utime.h: Likewise.
67807         * include/wchar.h: Likewise.
67808         * include/wctype.h: Likewise.
67809         * include/wordexp.h: Likewise.
67811         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67813         * time/time.h: TIME_UTC must be a macro.
67814         Make timespec_get available for ISO C11 only as well.
67816 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67818         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67819         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67821 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67823         * configure.in: Use -o not -a in test for unsupported multi-arch.
67825 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67827         * manual/texinfo.tex: Update to version 2012-01-19.16.
67829 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67831         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67833 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67835         [BZ #13738]
67836         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67837         * manual/fdl-1.3.texi: New file.
67838         * manual/fdl-1.1.texi: File removed.
67840         [BZ #13738]
67841         * manual/libc.texinfo (FDL_VERSION): New @set.
67842         Use it for mention of FDL in cover text.
67843         (Documentation License): Use it in @include file name.
67845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67846             Roland McGrath  <roland@hack.frob.com>
67848         [BZ #5461]
67849         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67850         (not LONG_LONG_MAX and LONG_LONG_MIN.
67851         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67852         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67853         name.
67854         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67858         [BZ #2547]
67859         [BZ #11365]
67860         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67861         manipulate bits before adding and subtracting TWO23[sx].
67862         * math/libm-test.inc (nearbyint_test): Add more tests.
67864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67866         [BZ #2548]
67867         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67868         bits before adding and subtracting TWO23[sx].
67869         * math/libm-test.inc (rint_test): Add more tests.
67870         (rint_test_tonearest): Likewise.
67871         (rint_test_towardzero): Likewise.
67872         (rint_test_downward): Likewise.
67873         (rint_test_upward: Likewise.
67875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67877         [BZ #10110]
67878         * include/stdc-predef.h: New file.  Extracted from features.h.
67879         * include/features.h: Include stdc-predef.h.
67880         * Makefile (headers): Add stdc-predef.h.
67881         * CONFORMANCE (Compiler limitations): Update.
67883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67885         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67887 2012-02-21  David S. Miller  <davem@davemloft.net>
67889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67890         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67892 2012-02-20  David S. Miller  <davem@davemloft.net>
67894         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67895         using a normal save/restore sequence, rather than allocating a
67896         dummy stack frame just to store a frame pointer and restore.
67897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67899 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67901         * manual/install.texi: Fix stray word in line-wrapped comment.
67903 2012-02-20  David S. Miller  <davem@davemloft.net>
67905         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67906         both binutils and gcc support GOTDATA.
67908         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67909         "rd %pc" in the PIC register setup sequences.
67911         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67912         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67913         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67914         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67915         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67917         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67918         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67920         (SYSCALL_ERROR_HANDLER): Likewise.
67921         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67922         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67924         (SYSCALL_ERROR_HANDLER): Likewise.
67926         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67927         (HAVE_GCC_GOTDATA): New.
67928         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67929         relocation support in both binutils and gcc.
67930         * sysdeps/sparc/elf/configure: Regenerate.
67932         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67933         * sysdeps/sparc/sparc32/elf/configure: Delete.
67934         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67935         * sysdeps/sparc/sparc64/elf/configure: Delete.
67936         * sysdeps/sparc/elf/configure.in: New file.
67937         * sysdeps/sparc/elf/configure: Generate.
67939         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67940         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67941         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67942         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67943         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67945 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67947         * manual/install.texi: Do not mention specific glibc version
67948         numbers.
67949         * manual/libc.texinfo (VERSION, UPDATED): Update.
67950         (@copying): Use @copyright{} and range of years.
67952 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67954         [BZ #13695]
67955         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67956         [crti.S not in sysdirs] (generated): Do not append.
67957         [crti.S not in sysdirs] (omit-deps): Likewise.
67958         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67959         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67960         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67961         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67962         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67963         Likewise.
67964         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67965         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67966         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67967         * csu/defs.awk: Remove file.
67968         * sysdeps/generic/initfini.c: Likewise.
67969         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67970         variable.
67971         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67972         Likewise.
67974 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67976         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67977         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67978         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67979         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67980         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67981         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67982         <bits/epoll.h>.
67983         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67984         (__EPOLL_PACKED): Define to empty if not defined by
67985         <bits/epoll.h>.
67986         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67988         bits/epoll.h.
67990 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67992         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67993         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67994         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67996         <bits/timerfd.h>.
67997         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67999         bits/timerfd.h.
68001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68003         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68004         in C locale.
68005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68006         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68007         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68010 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68015 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68017         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68018         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68019         defined.
68020         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68021         Likewise.
68022         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68023         entry for 2.16.
68025 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68027         * math/w_acos.c: Use non-signaling floating-point comparisons.
68028         * math/w_acosf.c: Likewise.
68029         * math/w_acosh.c: Likewise.
68030         * math/w_acoshf.c: Likewise.
68031         * math/w_acoshl.c: Likewise.
68032         * math/w_acosl.c: Likewise.
68033         * math/w_asin.c: Likewise.
68034         * math/w_asinf.c: Likewise.
68035         * math/w_asinl.c: Likewise.
68036         * math/w_atanh.c: Likewise.
68037         * math/w_atanhf.c: Likewise.
68038         * math/w_atanhl.c: Likewise.
68039         * math/w_exp2.c: Likewise.
68040         * math/w_exp2f.c: Likewise.
68041         * math/w_exp2l.c: Likewise.
68042         * math/w_j0.c: Likewise.
68043         * math/w_j0f.c: Likewise.
68044         * math/w_j0l.c: Likewise.
68045         * math/w_j1.c: Likewise.
68046         * math/w_j1f.c: Likewise.
68047         * math/w_j1l.c: Likewise.
68048         * math/w_jn.c: Likewise.
68049         * math/w_jnf.c: Likewise.
68050         * math/w_log.c: Likewise.
68051         * math/w_log10.c: Likewise.
68052         * math/w_log10f.c: Likewise.
68053         * math/w_log10l.c: Likewise.
68054         * math/w_log2.c: Likewise.
68055         * math/w_log2f.c: Likewise.
68056         * math/w_log2l.c: Likewise.
68057         * math/w_logf.c: Likewise.
68058         * math/w_logl.c: Likewise.
68059         * math/w_sqrt.c: Likewise.
68060         * math/w_sqrtf.c: Likewise.
68061         * math/w_sqrtl.c: Likewise.
68062         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68063         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68065         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68068 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68070         [BZ #9739]
68071         * manual/string.texi (strnlen): Use correct parameter name in
68072         equivalent expression.
68074 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68076         [BZ #11174]
68077         * manual/users.texi (seteuid): Consistently use neweuid for
68078         argument name.
68080 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68082         [BZ #13704]
68083         * manual/nss.texi (Services in the NSS configuration): Correct
68084         list of services in example configuration file.
68086 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68088         [BZ #11322]
68089         * manual/arith.texi: Remove statements about negative zero
68090         behaving identically to zero.
68092 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68094         [BZ #5993]
68095         * manual/install.texi: Do not document upgrading from libc5.
68097 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68099         [BZ #4596]
68100         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68102 2012-02-18  David S. Miller  <davem@davemloft.net>
68104         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68105         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68106         %o7 across the call.
68107         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68108         instead.
68109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68110         SETUP_PIC_REG_LEAF.
68111         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68112         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68113         * sysdeps/sparc/crtn.S: Likewise.
68115 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68117         * aout/Makefile: Remove.
68119 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68121         [BZ #13058]
68122         * manual/examples/argp-ex1.c (main): Format definition in GNU
68123         style.
68124         * manual/examples/argp-ex2.c (main): Likewise.
68125         * manual/examples/argp-ex3.c (main): Likewise.
68126         * manual/examples/argp-ex4.c (main): Likewise.
68127         * manual/examples/longopt.c (main): Use new-style prototype
68128         definition.
68129         * manual/examples/strncat.c (main): Specify return type and use
68130         (void) for arguments.
68131         * manual/examples/subopt.c (main): Use char **argv argument.
68133 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68135         [BZ #5077]
68136         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68137         rounding modes.
68139 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68141         [BZ #6907]
68142         * manual/string.texi (strchr): Change when strchrnul is
68143         recommended.
68145 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68147         [BZ #174]
68148         * manual/locale.texi (setlocale): Document LOCPATH.
68150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68152         [BZ #10210]
68153         * manual/process.texi (execle): Move @dots{} before last argument.
68155 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68157         [BZ #12047]
68158         * manual/charset.texi (Generic Charset Conversion): Fix typo
68159         (LC_TYPE -> LC_CTYPE).
68161 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68163         [BZ #5805]
68164         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68165         (scalbnf): Likewise.
68166         (scalbnl): Likewise.
68167         (scalbln): Likewise.
68168         (scalblnf): Likewise.
68169         (scalblnl): Likewise.
68170         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68171         (vwarnx): Likewise.
68172         (verr): Likewise.
68173         (verrx): Likewise.
68174         * manual/filesys.texi (telldir): Use braces around return type.
68175         * manual/llio.texi (mmap): Add space after comma.
68176         (mmap64): Likewise.
68177         * manual/math.texi (jn): Use @var{} on parameter names.
68178         (jnf): Likewise.
68179         (jnl): Likewise.
68180         (yn): Likewise.
68181         (ynf): Likewise.
68182         (ynl): Likewise.
68183         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68184         line.
68185         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68186         "...".
68187         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68188         (sched_get_priority_max): Likewise.
68189         * manual/signal.texi (sigvec): Add space after comma.
68190         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68191         names.
68192         (if_indextoname): Likewise.
68193         (if_freenameindex): Likewise.
68194         (sendto): Use ',' instead of '.' in prototype.
68195         * manual/startup.texi (syscall): Use @dots{} instead of literal
68196         "...".
68197         * manual/stdio.texi (__fpending): Separate initial words of
68198         paragraph from @deftypefun line.
68199         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68200         "...".
68201         (vsyslog): Use @var{} on parameter names.
68202         * manual/terminal.texi (stty): Use @var{} on parameter names.
68203         * manual/users.texi (getutmp): Use @var{} on parameter names.
68204         (getutmpx): Likewise.
68206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68208         [BZ #6884]
68209         * manual/stdio.texi (fopen): Fix typos in description of
68210         ",ccs=STRING".
68212 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68214         [BZ #4026]
68215         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68216         get clock_id definition.
68218 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68220         [BZ #4822]
68221         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68222         (madvise): Cast every argument to void on its own.
68224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68226         [BZ #9902]
68227         * manual/startup.texi (Exit Status): Fix typo.
68229 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68231         [BZ #10140]
68232         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68233         * manual/examples/argp-ex2.c: Likewise.
68234         * manual/examples/argp-ex3.c: Likewise.
68236 2012-02-16  Richard Henderson  <rth@redhat.com>
68238         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68239         * sysdeps/s390/s390-32/initfini.c: Remove.
68240         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68241         * sysdeps/s390/s390-64/initfini.c: Remove.
68243 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68245         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68246         compiler output for sysdeps/generic/initfini.c.
68247         * sysdeps/sh/elf/initfini.c: Remove file.
68249 2012-02-16  David S. Miller  <davem@davemloft.net>
68251         [BZ #11494]
68252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68254         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68255         * sysdeps/sparc/crti.S: New file.
68256         * sysdeps/sparc/crtn.S: New file.
68257         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68258         * sysdeps/sparc/sparc64/Makefile: Likewise.
68260 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68262         [BZ #3335]
68263         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68265 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68267         [BZ #4822]
68268         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68270         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68271         (write, read, close): Likewise.
68272         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68274 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68276         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68277         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68278         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68279         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68280         <bits/signalfd.h>.
68281         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68283         bits/signalfd.h.
68285 2012-02-14  Marek Polacek  <polacek@redhat.com>
68287         * sysdeps/x86_64/crti.S: New file.
68288         * sysdeps/x86_64/crtn.S: New file.
68289         * sysdeps/x86_64/elf/initfini.c: Remove file.
68291 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68293         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68294         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68295         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68296         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68297         <bits/inotify.h>.
68298         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68300         bits/inotify.h.
68302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68304         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68305         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68306         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68307         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68308         <bits/eventfd.h>.
68309         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68311         bits/eventfd.h.
68313 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68315         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68316         __feraiseexcept instead of feraiseexcept.
68318         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68319         nanosleep invocations.
68320         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68321         strings, and add error checking for a nanosleep invocations.
68323 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68325         Replace FSF snail mail address with URLs, as per GNU coding standards.
68326         Most of the snail mail addresses were wrong anyway, and omitting
68327         them makes the source code easier to maintain.  Almost all of the
68328         changes are to license notices and to locale LC_IDENTIFICATION
68329         addresses, except for this one:
68330         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68331         not its snail mail address.
68333 2012-02-09  Richard Henderson  <rth@twiddle.net>
68335         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68336         of kernel-features.h.
68338         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68340 2012-02-08  Marek Polacek  <polacek@redhat.com>
68342         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68343         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68344         * sysdeps/gnu/_G_config.h: Likewise.
68345         * sysdeps/generic/_G_config.h: Likewise.
68347 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68349         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68350         tests.
68351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68353         * sysdeps/powerpc/powerpc32/crti.S: New file.
68354         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68355         * sysdeps/powerpc/powerpc64/crti.S: New file.
68356         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68358         * Makeconfig (have-initfini): Don't set.
68359         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68360         * configure.in (nopic_initfini): Don't substitute.
68361         * config.h.in (HAVE_INITFINI): Don't #undef.
68362         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68363         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68365 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68367         Support crti.S and crtn.S provided directly by architectures.
68368         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68369         [crti.S in sysdirs] (omit-deps): Likewise.
68370         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68371         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68372         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68373         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68374         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68375         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68376         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68377         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68378         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68379         compiler output for sysdeps/generic/initfini.c.
68380         * sysdeps/i386/elf/Makefile: Remove file.
68381         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68383 2012-02-07  Marek Polacek  <polacek@redhat.com>
68385         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68386         * sysdeps/gnu/_G_config.h: Likewise.
68387         * sysdeps/mach/hurd/_G_config.h: Likewise.
68389 2012-02-07  Marek Polacek  <polacek@redhat.com>
68391         * math/Makefile (tests): Add tst-CMPLX2.
68392         * math/tst-CMPLX2.c: New file.
68394 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68396         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68398         * math/libm-test.inc (jn_test): Add missing L suffix.
68400 2012-02-06  Marek Polacek  <polacek@redhat.com>
68402         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68403         * sysdeps/i386/fpu/e_powf.S: Likewise.
68404         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68405         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68406         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68407         * sysdeps/i386/fpu/e_pow.S: Likewise.
68408         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68409         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68410         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68411         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68412         * sysdeps/i386/fpu/e_log2.S: Likewise.
68413         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68414         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68415         * sysdeps/i386/fpu/e_powl.S: Likewise.
68416         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68418         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68419         * sysdeps/i386/fpu/e_logl.S: Likewise.
68420         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68421         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68422         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68423         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68424         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68425         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68426         * sysdeps/i386/fpu/e_log.S: Likewise.
68427         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68429         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68430         * sysdeps/i386/fpu/e_logf.S: Likewise.
68431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68432         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68433         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68434         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68435         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68436         * sysdeps/i386/fpu/e_log10.S: Likewise.
68437         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68439         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68440         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68441         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68442         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68443         * sysdeps/i386/asm-syntax.h: Likewise.
68444         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68445         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68446         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68447         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68448         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68450         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68451         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68452         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68453         * sysdeps/powerpc/sysdep.h: Likewise.
68454         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68455         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68457 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68459         [BZ #411]
68460         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68462 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68464         * sysdeps/i386/sysdep.h: Include <features.h>.
68465         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68466         version.
68468 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68470         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68471         Define.
68472         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68473         LOAD_PIC_REG_STR.
68475 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68477         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68478         (SETUP_PIC_REG): Use GET_PC_THUNK.
68479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68480         macro.
68482 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68484         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68485         for non-PIC compilation.
68486         (SETUP_PIC_REG): Add .p2align directive.
68487         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68488         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68489         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68490         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68491         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68492         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68493         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68495         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68496         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68497         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68498         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68499         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68500         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68501         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68502         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68503         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68504         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68505         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68506         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68507         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68509         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68510         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68513         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68515         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68516         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68517         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68518         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68519         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68520         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68521         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68522         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68524         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68525         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68526         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68527         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68529 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68531         * math/tst-CMPLX.c: Include <stdio.h>.
68533 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68535         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68536         float.
68537         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68538         * sysdeps/sparc/bits/mathdef.h: Likewise.
68540 2012-01-31  Marek Polacek  <polacek@redhat.com>
68542         * libio/libio.h: Don't define _PARAMS.
68543         * locale/programs/config.h: Don't define PARAMS.
68544         * stdlib/strtol_l.c: Likewise.
68545         (__strtol_l): Remove PARAMS from the prototype.
68547 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68549         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68550         names.  Just use the correct names.  Remove unnecessary wrapper
68551         functions.
68552         * malloc/arena.c: Likewise.
68553         * malloc/hooks.c: Likewise.
68555         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68556         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68557         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68559 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68561         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68562         into tail calls.
68563         (update_get_addr): New function.
68564         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68565         GET_ADDR_MODULE parameter.
68567 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68569         * crypt/cert.c: Remove __STDC__ conditionals.
68570         * crypt/crypt-entry.c: Likewise.
68571         * crypt/crypt_util.c: Likewise.
68572         * libio/filedoalloc.c: Likewise.
68573         * libio/fileops.c: Likewise.
68574         * libio/genops.c: Likewise.
68575         * libio/iofclose.c: Likewise.
68576         * libio/iofdopen.c: Likewise.
68577         * libio/iofopen.c: Likewise.
68578         * libio/iofopen64.c: Likewise.
68579         * libio/iogetdelim.c: Likewise.
68580         * libio/iopopen.c: Likewise.
68581         * libio/obprintf.c: Likewise.
68582         * libio/oldfileops.c: Likewise.
68583         * libio/oldiofclose.c: Likewise.
68584         * libio/oldiofdopen.c: Likewise.
68585         * libio/oldiofopen.c: Likewise.
68586         * libio/oldiopopen.c: Likewise.
68587         * libio/wfiledoalloc.c: Likewise.
68588         * libio/wgenops.c: Likewise.
68589         * locale/programs/xmalloc.c: Likewise.
68590         * misc/syslog.c: Likewise.
68591         * stdio-common/xbug.c: Likewise.
68592         * string/memchr.c: Likewise.
68593         * string/memcmp.c: Likewise.
68594         * string/memrchr.c: Likewise.
68595         * string/rawmemchr.c: Likewise.
68596         * sysdeps/posix/getcwd.c: Likewise.
68597         * time/strftime_l.c: Likewise.
68599 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68601         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68602         * config.make.in (config-cflags-sse2avx): Define.
68603         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68604         Fix typo.
68606 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68608         * scripts/config.guess: Update from upstream config git repository.
68609         * scripts/config.sub: Likewise.
68611 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68613         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68614         (EM_NUM): Update.
68615         (R_TILEPRO_*, R_TILEGX_*): New macros.
68617         * scripts/firstversions.awk: Fix bug in version range handling.
68619         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68621         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68623         * include/sys/epoll.h: New file.
68624         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68625         libc_hidden_def.
68627 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68629         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68630         Avoid unnecessary __WORDSIZE == 64 test.
68631         (fmaxf): Use VEX format if possible.
68632         (fmax): Likewise.
68633         (fminf): Likewise.
68634         (fmin): Likewise.
68636         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68637         * math/math_private.h: Remove libc_fegetround* and
68638         libc_fesetround*.
68639         * sysdeps/i386/configure.in: Check for -msse2avx.
68640         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68641         also if SSE2AVX is defined.
68642         Remove libc_fegetround* and libc_fesetround*.
68643         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68644         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68646         of HAS_YMM_USABLE.
68647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68653         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68655 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68657         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68658         size is not set.
68659         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68661 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68663         [BZ #13618]
68664         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68665         relocation.
68666         * Makeconfig (libm): Define.
68667         * elf/Makefile: Add rules to build and run tst-relsort1.
68668         * elf/tst-relsort1.c: New file.
68669         * elf/tst-relsort1mod1.c: New file.
68670         * elf/tst-relsort1mod2.c: New file.
68672 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68674         * math/s_ldexp.c: Remove __STDC__ conditionals.
68675         * math/s_ldexpf.c: Likewise.
68676         * math/s_ldexpl.c: Likewise.
68677         * math/s_nextafter.c: Likewise.
68678         * math/s_nexttowardf.c: Likewise.
68679         * math/s_significand.c: Likewise.
68680         * math/s_significandf.c: Likewise.
68681         * math/s_significandl.c: Likewise.
68682         * math/w_jnl.c: Likewise.
68683         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68684         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68685         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68686         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68687         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68689         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68690         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68691         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68692         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68693         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68694         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68695         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68696         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68697         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68698         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68699         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68700         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68701         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68702         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68703         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68704         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68705         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68707         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68708         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68709         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68710         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68711         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68712         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68713         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68714         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68715         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68716         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68717         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68718         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68719         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68720         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68721         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68722         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68723         * sysdeps/ieee754/k_standard.c: Likewise.
68724         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68725         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68727         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68728         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68730         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68731         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68733         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68734         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68735         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68756         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68757         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68759         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68763         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68766         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68767         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68783         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68785         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68787         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68788         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68789         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68790         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68791         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68792         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68795         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68796         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68799         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68803         * sysdeps/ieee754/s_matherr.c: Likewise.
68804         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68805         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68809 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68811         * crypt/md5.h: Remove __STDC__ conditionals.
68812         * libio/libioP.h: Likewise.
68813         * locale/programs/config.h: Likewise.
68814         * sysdeps/generic/sysdep.h: Likewise.
68815         * sysdeps/i386/asm-syntax.h: Likewise.
68816         * sysdeps/s390/asm-syntax.h: Likewise.
68817         * sysdeps/unix/sysdep.h: Likewise.
68818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68821 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68823         * libio/libio.h: Remove __STDC__ conditionals.
68824         * malloc/obstack.h: Likewise.
68825         * math/complex.h: Likewise.
68826         * math/math.h: Likewise.
68827         * sysdeps/generic/_G_config.h: Likewise.
68828         * sysdeps/gnu/_G_config.h: Likewise.
68829         * sysdeps/mach/hurd/_G_config.h: Likewise.
68830         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68831         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68832         * sysdeps/sparc/bits/mathdef.h: Likewise.
68834 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68836         [BZ #13583]
68837         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68838         Clean up HAS_* macros.
68839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68840         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68841         possible.
68842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68843         HAS_AVX.
68844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68850 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68852         * elf/tst-unique3.cc (gets): Remove declaration.
68853         * elf/tst-unique3lib.cc (gets): Likewise.
68854         * elf/tst-unique3lib2.cc (gets): Likewise.
68855         * elf/tst-unique4.cc (gets): Likewise.
68857 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68859         * include/stdio.h: Add C++ protection.  Add gets declarations and
68860         definitions.
68861         * debug/tst-chk1.c: Don't declare gets here.
68862         * stdio-common/tst-gets.c: Likewise.
68864 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68866         * posix/glob: Remove directory.
68868 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68870         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68872 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68874         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68875         of the non-standard EPFNOSUPPORT.
68877 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68879         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68880         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68881         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68883 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68885         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68887 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68889         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68890         transient errors.
68891         * nscd/grpcache.c (cache_addgr): Likewise.
68892         * nscd/hstcache.c (cache_addhst): Likewise.
68893         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68894         * nscd/pwdcache.c (cache_addpw): Likewise.
68895         * nscd/servicescache.c (cache_addserv): Likewise.
68897 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68899         * malloc/malloc.c: Various cleanups.
68900         * malloc/hooks.c: Likewise.
68902         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68903         * stdlib/bug-fmtmsg1.c: New file.
68905         * stdlib/fmtmsg.c (init): Add missing unlock.
68906         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68908 2012-01-12  Marek Polacek  <polacek@redhat.com>
68910         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68911         and _GNU_SOURCE.
68913 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68915         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68916         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68917         macro to ensure uniqueness of label name.
68918         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68919         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68921 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68923         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68925         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68926         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68927         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68930 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68932         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68934         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68935         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68936         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68938         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68940         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68942         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68945         * math/bits/math-finite.h: Add ldexp support.
68947 2012-01-10  Marek Polacek  <polacek@redhat.com>
68949         * locale/programs/localedef.h (show_archive_content): Add noreturn
68950         attribute.
68952 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68954         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68956 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68958         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68960         * io/Makefile (headers): Add bits/poll2.h.
68962 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68965         typo #include statement.
68967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68969         * include/sys/cdefs.h: Define __attribute_alloc_size.
68970         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68971         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68972         * elf/pldd.c: Likewise.
68973         * iconv/iconv_charmap.c: Likewise.
68974         * iconv/iconvconfig.c: Likewise.
68975         * iconv/strtab.c: Likewise.
68976         * locale/programs/locale.c: Likewise.
68977         * locale/programs/localedef.h: Likewise.
68978         * locale/programs/simple-hash.c: Likewise.
68979         * nscd/nscd.h: Likewise.
68980         * nss/makedb.c: Likewise.
68981         * sysdeps/generic/ldconfig.h: Likewise.
68982         * locale/programs/localedef.c: Remove xmalloc prototype.
68983         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68985 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68987         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68988         appropriate.
68990 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68992         * math/Makefile (tests): Add tst-CMPLX.
68993         * math/tst-CMPLX.c: New file.
68995         * math/complex.h (CMPLXL): Fix typo.
68997         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68998         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68999         GLIBC_2.16.
69000         * debug/tst-chk1.c: Add poll and ppoll tests.
69001         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69002         * include/sys/poll.h: Add hidden proto for ppoll.
69003         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69004         * sysdeps/mach/hurd/ppoll.c: Likewise.
69005         * io/ppoll.c: Likewise.
69006         * debug/poll_chk.c: New file.
69007         * debug/ppoll_chk.c: New file.
69008         * include/bits/poll2.h: New file.
69009         * io/bits/poll2.h: New file.
69011         [BZ #1350]
69012         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69014         * configure.in: static is always set to yes.  Remove.
69015         * config.make.in: Don't set build-static.
69016         * Makeconfig: Remove use of build-static.
69017         * dlfcn/Makefile: Likewise.
69018         * elf/Makefile: Likewise.
69019         * math/Makefile: Likewise.
69020         * misc/Makefile: Likewise.
69021         * nptl/Makefile: Likewise.
69022         * sysdeps/mach/hurd/Makefile: Likewise.
69024         * configure.in: PWD_P is not used anymore.
69025         * config.make.in: Remove PWD_P entry.
69027         * configure.in: Remove last remnants of RANLIB.
69028         No need to check for signed size_t anymore.
69029         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69030         and IA-64.
69031         Remove __builtin_expect test because we require at least gcc 3.4.
69032         * aclocal.m4: Likewise.
69034         * wcsmbs/mbrtoc16.c: Implement using towc function.
69035         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69036         * wcsmbs/wcsmbsload.c: Likewise.
69037         * iconv/gconv_simple.c: Likewise.
69038         * iconv/gconv_int.h: Likewise.
69039         * iconv/gconv_builtin.h: Likewise.
69040         * iconv/iconv_prog.c: Remove CHAR16 handling.
69042         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69044         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69046         * configure.in: Remove --with-elf and --enable-bounded options.
69047         Dont set base_machine for ia64.  More non-ELF conditions removed.
69048         Remove testing and setting of leading underscore information.
69049         * config.make.in (build-bounded): Set to no.
69050         * config.h.in: Remove NO_UNDERSCORES entry.
69051         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69052         them.
69053         * csu/start.c: Remove !NO_UNDERSCORE code.
69054         * locale/localeinfo.h: Likewise.
69055         * sysdeps/generic/machine-gmon.h: Likewise.
69056         * sysdeps/generic/sysdep.h: Likewise.
69057         * sysdeps/i386/sysdep.h: Likewise.
69058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69059         * sysdeps/mach/sysdep.h: Likewise.
69060         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69061         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69062         * sysdeps/sh/sysdep.h: Likewise.
69063         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69064         * sysdeps/unix/i386/sysdep.S: Likewise.
69065         * sysdeps/unix/sparc/start.c: Likewise.
69066         * sysdeps/unix/sparc/sysdep.S: Likewise.
69067         * sysdeps/unix/sparc/sysdep.h: Likewise.
69068         * sysdeps/unix/start.c: Likewise.
69069         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69070         * sysdeps/x86_64/sysdep.h: Likewise.
69072 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69074         [BZ #13553]
69075         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69076         for non-gcc.
69077         * argp/argp-fmtstream.h: Use const instead __const.
69078         * argp/argp.h: Likewise.
69079         * assert/assert.h: Likewise.
69080         * bits/fenv.h: Likewise.
69081         * bits/sched.h: Likewise.
69082         * bits/sigset.h: Likewise.
69083         * bits/sigthread.h: Likewise.
69084         * catgets/nl_types.h: Likewise.
69085         * conform/data/pthread.h-data: Likewise.
69086         * crypt/crypt-private.h: Likewise.
69087         * crypt/crypt.h: Likewise.
69088         * crypt/crypt_util.c: Likewise.
69089         * ctype/ctype.h: Likewise.
69090         * debug/execinfo.h: Likewise.
69091         * debug/mbsnrtowcs_chk.c: Likewise.
69092         * debug/mbsrtowcs_chk.c: Likewise.
69093         * debug/wcsnrtombs_chk.c: Likewise.
69094         * debug/wcsrtombs_chk.c: Likewise.
69095         * debug/wcstombs_chk.c: Likewise.
69096         * dirent/dirent.h: Likewise.
69097         * dlfcn/dlfcn.h: Likewise.
69098         * elf/neededtest4.c: Likewise.
69099         * grp/grp.h: Likewise.
69100         * gshadow/gshadow.h: Likewise.
69101         * iconv/gconv.h: Likewise.
69102         * iconv/gconv_int.h: Likewise.
69103         * iconv/gconv_simple.c: Likewise.
69104         * iconv/iconv.h: Likewise.
69105         * iconv/loop.c: Likewise.
69106         * iconv/skeleton.c: Likewise.
69107         * include/aio.h: Likewise.
69108         * include/aliases.h: Likewise.
69109         * include/argz.h: Likewise.
69110         * include/arpa/inet.h: Likewise.
69111         * include/assert.h: Likewise.
69112         * include/dirent.h: Likewise.
69113         * include/dlfcn.h: Likewise.
69114         * include/execinfo.h: Likewise.
69115         * include/fcntl.h: Likewise.
69116         * include/fenv.h: Likewise.
69117         * include/glob.h: Likewise.
69118         * include/grp.h: Likewise.
69119         * include/libintl.h: Likewise.
69120         * include/mntent.h: Likewise.
69121         * include/netdb.h: Likewise.
69122         * include/pwd.h: Likewise.
69123         * include/rpc/netdb.h: Likewise.
69124         * include/sched.h: Likewise.
69125         * include/search.h: Likewise.
69126         * include/shadow.h: Likewise.
69127         * include/signal.h: Likewise.
69128         * include/stdio.h: Likewise.
69129         * include/stdlib.h: Likewise.
69130         * include/string.h: Likewise.
69131         * include/sys/socket.h: Likewise.
69132         * include/sys/stat.h: Likewise.
69133         * include/sys/statfs.h: Likewise.
69134         * include/sys/statvfs.h: Likewise.
69135         * include/sys/syslog.h: Likewise.
69136         * include/sys/time.h: Likewise.
69137         * include/sys/uio.h: Likewise.
69138         * include/time.h: Likewise.
69139         * include/unistd.h: Likewise.
69140         * include/utmp.h: Likewise.
69141         * include/wchar.h: Likewise.
69142         * include/wctype.h: Likewise.
69143         * inet/aliases.h: Likewise.
69144         * inet/arpa/inet.h: Likewise.
69145         * inet/netinet/ether.h: Likewise.
69146         * inet/netinet/in.h: Likewise.
69147         * intl/libintl.h: Likewise.
69148         * io/bits/fcntl2.h: Likewise.
69149         * io/fcntl.h: Likewise.
69150         * io/ftw.h: Likewise.
69151         * io/sys/poll.h: Likewise.
69152         * io/sys/stat.h: Likewise.
69153         * io/sys/statfs.h: Likewise.
69154         * io/sys/statvfs.h: Likewise.
69155         * io/utime.h: Likewise.
69156         * libio/bits/stdio.h: Likewise.
69157         * libio/bits/stdio2.h: Likewise.
69158         * libio/libio.h: Likewise.
69159         * libio/libioP.h: Likewise.
69160         * libio/stdio.h: Likewise.
69161         * locale/lc-ctype.c: Likewise.
69162         * locale/locale.h: Likewise.
69163         * login/utmp.h: Likewise.
69164         * malloc/arena.c: Likewise.
69165         * malloc/malloc.c: Likewise.
69166         * malloc/malloc.h: Likewise.
69167         * malloc/mcheck.c: Likewise.
69168         * malloc/mtrace.c: Likewise.
69169         * math/bits/mathcalls.h: Likewise.
69170         * math/fenv.h: Likewise.
69171         * math/math_private.h: Likewise.
69172         * misc/bits/error.h: Likewise.
69173         * misc/bits/syslog.h: Likewise.
69174         * misc/err.h: Likewise.
69175         * misc/error.h: Likewise.
69176         * misc/fstab.h: Likewise.
69177         * misc/mntent.h: Likewise.
69178         * misc/regexp.h: Likewise.
69179         * misc/search.h: Likewise.
69180         * misc/sgtty.h: Likewise.
69181         * misc/sys/mman.h: Likewise.
69182         * misc/sys/syslog.h: Likewise.
69183         * misc/sys/uio.h: Likewise.
69184         * misc/sys/xattr.h: Likewise.
69185         * misc/ttyent.h: Likewise.
69186         * nis/rpcsvc/ypclnt.h: Likewise.
69187         * nss/nss.h: Likewise.
69188         * posix/bits/unistd.h: Likewise.
69189         * posix/fnmatch.h: Likewise.
69190         * posix/glob.h: Likewise.
69191         * posix/sched.h: Likewise.
69192         * posix/spawn.h: Likewise.
69193         * posix/sys/wait.h: Likewise.
69194         * posix/unistd.h: Likewise.
69195         * posix/wordexp.h: Likewise.
69196         * pwd/pwd.h: Likewise.
69197         * resolv/netdb.h: Likewise.
69198         * resource/sys/resource.h: Likewise.
69199         * rt/aio.h: Likewise.
69200         * rt/bits/mqueue2.h: Likewise.
69201         * rt/mqueue.h: Likewise.
69202         * shadow/shadow.h: Likewise.
69203         * signal/signal.h: Likewise.
69204         * socket/send.c: Likewise.
69205         * socket/sendto.c: Likewise.
69206         * socket/sys/socket.h: Likewise.
69207         * stdio-common/printf.h: Likewise.
69208         * stdlib/bits/stdlib.h: Likewise.
69209         * stdlib/fmtmsg.h: Likewise.
69210         * stdlib/monetary.h: Likewise.
69211         * stdlib/stdlib.h: Likewise.
69212         * stdlib/ucontext.h: Likewise.
69213         * streams/stropts.h: Likewise.
69214         * string/argz.h: Likewise.
69215         * string/bits/string2.h: Likewise.
69216         * string/string.h: Likewise.
69217         * string/strings.h: Likewise.
69218         * sunrpc/rpc/auth.h: Likewise.
69219         * sunrpc/rpc/auth_des.h: Likewise.
69220         * sunrpc/rpc/clnt.h: Likewise.
69221         * sunrpc/rpc/netdb.h: Likewise.
69222         * sunrpc/rpc/pmap_clnt.h: Likewise.
69223         * sunrpc/rpc/xdr.h: Likewise.
69224         * sysdeps/generic/inttypes.h: Likewise.
69225         * sysdeps/generic/net/if.h: Likewise.
69226         * sysdeps/generic/sys/swap.h: Likewise.
69227         * sysdeps/gnu/net/if.h: Likewise.
69228         * sysdeps/gnu/utmpx.h: Likewise.
69229         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69230         * sysdeps/i386/i486/bits/string.h: Likewise.
69231         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69232         * sysdeps/s390/bits/string.h: Likewise.
69233         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69234         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69235         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69236         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69237         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69238         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69239         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69240         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69241         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69242         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69243         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69244         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69245         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69246         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69247         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69248         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69249         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69252         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69254         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69255         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69256         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69257         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69258         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69259         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69260         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69261         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69262         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69263         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69264         * sysvipc/sys/ipc.h: Likewise.
69265         * sysvipc/sys/msg.h: Likewise.
69266         * sysvipc/sys/sem.h: Likewise.
69267         * sysvipc/sys/shm.h: Likewise.
69268         * termios/termios.h: Likewise.
69269         * time/sys/time.h: Likewise.
69270         * time/time.h: Likewise.
69271         * wcsmbs/bits/wchar2.h: Likewise.
69272         * wcsmbs/uchar.h: Likewise.
69273         * wcsmbs/wchar.h: Likewise.
69274         * wctype/wctype.h: Likewise.
69276         [BZ #13551]
69277         * Makeconfig: Remove all but ELF support including AIX support.
69278         * Makerules: Likewise.
69279         * config.h.in: Likewise.
69280         * config.make.in: Likewise.
69281         * configure: Likewise.
69282         * configure.in: Likewise.
69283         * csu/Makefile: Likewise.
69284         * csu/version.c: Likewise.
69285         * debug/Makefile: Likewise.
69286         * dlfcn/Makefile: Likewise.
69287         * elf/Makefile: Likewise.
69288         * extra-lib.mk: Likewise.
69289         * iconv/Makefile: Likewise.
69290         * include/libc-symbols.h: Likewise.
69291         * include/shlib-compat.h: Likewise.
69292         * resolv/Makefile: Likewise.
69293         * resolv/res_libc.c: Likewise.
69294         * rt/Makefile: Likewise.
69295         * sysdeps/i386/asm-syntax.h: Likewise.
69296         * sysdeps/i386/sysdep.h: Likewise.
69297         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69298         * sysdeps/mach/sysdep.h: Likewise.
69299         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69300         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69301         * sysdeps/s390/asm-syntax.h: Likewise.
69302         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69304         * sysdeps/sh/sysdep.h: Likewise.
69305         * sysdeps/unix/sparc/sysdep.h: Likewise.
69306         * sysdeps/wordsize-32/divdi3.c: Likewise.
69307         * sysdeps/x86_64/sysdep.h: Likewise.
69309         * argp/Versions: Remove _argp_unlock_xxx.
69311         [BZ #13559]
69312         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69313         * abilist/libBrokenLocale.abilist: Likewise.
69314         * abilist/libanl.abilist: Likewise.
69315         * abilist/libc.abilist: Likewise.
69316         * abilist/libcrypt.abilist: Likewise.
69317         * abilist/libdl.abilist: Likewise.
69318         * abilist/libm.abilist: Likewise.
69319         * abilist/libnsl.abilist: Likewise.
69320         * abilist/libpthread.abilist: Likewise.
69321         * abilist/libresolv.abilist: Likewise.
69322         * abilist/librt.abilist: Likewise.
69323         * abilist/libthread_db.abilist: Likewise.
69324         * abilist/libutil.abilist: Likewise.
69325         * abilist/libnss_db.abilist: New file.
69327         * scripts/abilist.awk: Add support for indirect functions.
69329         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69331         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69333         * shlib-versions: Remove entries for ports architectures.
69335         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69336         files in ports.
69337         * elf/stackguard-macros.h: Remove support for IA-64.
69338         * elf/tst-auditmod1.c: Likewise.
69339         * sysdeps/generic/ldsodefs.h: Likewise.
69341         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69342         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69343         configure files.
69345         [BZ #13552]
69346         * configure.in: Remove --enable-omitfp support.
69347         * FAQ.in: Adjust.
69348         * config.make.in: Likewise.
69349         * Makeconfig: Likewise.
69350         * manual/install.texi: Likewise.
69352         In case anyone cares, the IA-64 architecture could move to ports.
69353         * sysdeps/ia64/*: Removed.
69354         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69355         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69357         [BZ #13555]
69358         * configure.in: Remove entries for unsupported architectures.
69360         [BZ #13533]
69361         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69362         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69363         routines.
69364         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69365         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69366         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69367         fall back to using wcrtomb.
69368         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69369         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69370         renaming.
69371         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69372         * wcsmbs/tst-c16c32-1.c: New file.
69374         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69375         local variable.
69377         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69379         * elf/tst-unique3.cc: Add explicit declaration of gets.
69380         * elf/tst-unique3lib.cc: Likewise.
69381         * elf/tst-unique3lib2.cc: Likewise.
69382         * elf/tst-unique4.cc: Likewise.
69384         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69386 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69388         [BZ #13566]
69389         * assert/assert.h (static_assert): Don't define for C++.
69390         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69391         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69393 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69395         * iconv/loop.c (single loop): Fix assertion in storing of
69396         remaining bytes.
69398         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69400 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69402         * posix/getconf.c: Update copyright year.
69403         * nss/getent.c: Likewise.
69404         * nss/makedb.c: Likewise.
69405         * iconv/iconvconfig.c: Likewise.
69406         * iconv/iconv_prog.c: Likewise.
69407         * elf/ldconfig.c: Likewise.
69408         * elf/pldd.c: Likewise.
69409         * elf/sotruss.ksh: Likewise.
69410         * catgets/gencat.c: Likewise.
69411         * csu/version.c: Likewise.
69412         * elf/ldd.bash.in: Likewise.
69413         * elf/sprof.c (print_version): Likewise.
69414         * locale/programs/locale.c: Likewise.
69415         * locale/programs/localedef.c: Likewise.
69416         * login/programs/pt_chown.c: Likewise.
69417         * nscd/nscd.c (print_version): Likewise.
69418         * debug/xtrace.sh: Likewise.
69419         * malloc/memusage.sh: Likewise.
69420         * malloc/mtrace.pl: Likewise.
69421         * debug/catchsegv.sh: Likewise.
69423 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69425         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69426         pure attribute.
69428 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69430         [BZ #13533]
69431         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69432         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69433         transformations.
69434         * iconv/gconv_int.h: Likewise.
69435         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69436         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69437         from libc for GLIBC_2.16.
69438         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69439         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69440         * wcsmbs/uchar.h: Really define mbstate_t.
69441         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69442         * wcsmbs/c16rtomb.c: New file.
69443         * wcsmbs/mbrtoc16.c: New file.
69444         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69445         for C/POSIX locale.
69446         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69447         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69449         * wcsmbs/wchar.h: Add missing __restrict.
69451 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69453         [BZ #13532]
69454         * time/Makefile (routines): Add timespec_get.
69455         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69456         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69457         timespec for ISO C11.
69458         * time/timespec_get.c: New file.
69459         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69460         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69462         [BZ #13531]
69463         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69464         * stdlib/stdlib.h: Declare aligned_alloc.
69465         * Versions.def: Add GLIBC_2.16 for libc.
69466         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69468         [BZ 13527]
69469         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69470         ISO C11.
69472         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69473         code.
69475         [BZ #13528]
69476         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69478         [BZ #13529]
69479         * assert/assert.h (static_assert): Define.
69481         * version.h: Update for 2.16 development version.
69483         [BZ #13526]
69484         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69485         _ISOC11_SOURCE.
69487         * version.h (RELEASE): Bump for 2.15 release.
69488         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69490         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69491         Patch by Marek Polacek <mpolacek@redhat.com>.
69493         * bits/byteswap.h: Protect long long constants with __extension__.
69494         * sysdeps/i386/bits/byteswap.h: Likewise.
69495         * sysdeps/ia64/bits/byteswap.h: Likewise.
69496         * sysdeps/s390/bits/byteswap.h: Likewise.
69497         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69499 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69501         [BZ #13540]
69502         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69503         destination buffer.
69504         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69506 2011-12-23  Marek Polacek  <polacek@redhat.com>
69508         * elf/dl-addr.c (determine_info): Add inline keyword.
69509         * elf/tst-auditmod4b.c (check_avx): Likewise.
69510         * elf/tst-auditmod6b.c (check_avx): Likewise.
69511         * elf/tst-auditmod6c.c (check_avx): Likewise.
69512         * elf/tst-auditmod7b.c (check_avx): Likewise.
69514 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69516         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69517         !__SSE_MATH__.
69519 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69521         [BZ #13540]
69522         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69523         processing for last bytes.
69525 2011-08-06  Bruno Haible  <bruno@clisp.org>
69527         [BZ #13061]
69528         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69529         U+0385, not to U+1FEE.
69531         [BZ #13062]
69532         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69533         entry for U+00A5 U+0301.
69535 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69537         [BZ #13166]
69538         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69539         buffer for the output is too small.
69541         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69542         optimization.
69544         [BZ #13185]
69545         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69546         SSE flags if possible.
69548 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69550         [BZ #13540]
69551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69552         processing for last bytes.
69554 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69556         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69557         (syscall-list-default-options, syscall-list-default-condition)
69558         (syscall-list-includes): Define.
69559         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69560         list of ABIs and options and #if conditions for each ABI.  Do not
69561         handle common syscalls between ABIs specially.
69562         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69563         Remove.
69564         (syscall-list-variants, syscall-list-32bit-options)
69565         (syscall-list-32bit-condition, syscall-list-64bit-options)
69566         (syscall-list-64bit-condition): Define.
69567         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69568         (syscall-list-variants, syscall-list-32bit-options)
69569         (syscall-list-32bit-condition, syscall-list-64bit-options)
69570         (syscall-list-64bit-condition): Define.
69571         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69572         Remove.
69573         (syscall-list-variants, syscall-list-32bit-options)
69574         (syscall-list-32bit-condition, syscall-list-64bit-options)
69575         (syscall-list-64bit-condition): Define.
69576         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69577         Remove.
69578         (syscall-list-variants, syscall-list-32bit-options)
69579         (syscall-list-32bit-condition, syscall-list-64bit-options)
69580         (syscall-list-64bit-condition): Define.
69582 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69584         * locale/iso-639.def: Add brx entry.
69586         [BZ #13328]
69587         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69588         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69590         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69591         __feraiseexcept_renamed.
69593 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69595         [BZ #13538]
69596         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69597         EPOLLET with unsigned values.
69598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69601         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69602         to large cancellation.
69603         * math/s_cacoshf.c: Likewise.
69604         * math/s_cacoshl.c: Likewise.
69606 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69608         [BZ #13305]
69609         [BZ #12786]
69610         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69611         * math/s_cacoshf.c: Likewise.
69612         * math/s_cacoshl.c: Likewise.
69614 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69616         [BZ #13439]
69617         * iconv/gconv.h: Define __GCONV_SWAP.
69618         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69619         * iconvdata/utf-16.c: Likewise.
69620         * iconvdata/utf-32.c: Likewise.
69622 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69624         [BZ #13524]
69625         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69626         numerator after shifting it by one limb.
69628 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69630         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69631         under [__USE_EXTERN_INLINES].
69633 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69635         [BZ #13446]
69636         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69638 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69640         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69641         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69642         optimized code.
69643         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69644         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69645         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69646         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69647         for strncasecmp/strncasecmp_l compilation.
69648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69649         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69651 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69653         [BZ #13484]
69654         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69655         of __asm__.
69657 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69659         [BZ #13506]
69660         * time/tzfile.c (__tzfile_read): Check values from file header.
69662 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69664         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69665         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69666         * powerpc/powerpc32/dl-start.S: Likewise.
69667         * powerpc/powerpc32/elf/start.S: Likewise.
69668         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69669         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69670         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69671         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69672         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69673         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69674         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69675         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69676         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69677         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69678         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69679         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69680         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69681         * powerpc/powerpc32/memset.S: Likewise.
69682         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69683         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69684         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69685         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69686         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69687         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69688         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69689         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69690         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69691         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69692         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69693         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69694         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69696 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69698         * math/libm-test.inc: Added more nearbyint tests.
69699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69704 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69706         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69707         FD_CLOEXEC.
69709 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69711         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69712         Add wcscpy-ssse3 wcscpy-c.
69713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69714         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69715         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69716         * sysdeps/x86_64/wcschr.S: New file.
69717         * sysdeps/x86_64/wcsrchr.S: New file.
69718         * string/test-strcmp.c: Remove checking of wcscmp function for
69719         wrong alignments.
69720         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69721         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69722         wcsrchr-sse2 wcsrchr-c.
69723         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69724         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69725         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69726         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69727         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69728         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69729         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69730         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69731         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69732         * wcsmbc/wcschr.c (WCSCHR): New macro.
69734 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69736         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69737         * wcsmbs/test-wcsrchr.c: New file.
69738         * string/test-strrchr.c: Add wcsrchr support.
69739         (WIDE): New macro.
69740         * wcsmbs/test-wcscpy.c: New file.
69741         * string/test-strcpy.c: Add wcscpy support.
69742         (WIDE): New macro.
69744 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69746         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69747         the inner loop.
69749 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69751         [BZ #13472]
69752         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69754 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69756         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69757         Minor optimizations.
69759         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69760         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69761         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69763 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69765         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69766         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69767         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69768         for gcc to avoid warnings.
69769         * inet/Makefile (tests): Add tst-checks.
69770         * inet/tst-checks.c: New file.
69772         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69773         warning.
69775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69776         __wmemcmp_sse2.
69778         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69779         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69781         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69783 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69785         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69786         problem.
69788         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69790 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69793         conditional on GCC version.
69794         (__arch_compare_and_exchange_val_8_acq)
69795         (__arch_compare_and_exchange_val_16_acq)
69796         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69797         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69798         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69800 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69802         * sysdeps/sh/backtrace.c: New file.
69804 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69806         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69807         parenthesis.
69809 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69811         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69812         falling back to utime.
69814 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69816         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69817         expectations for float.
69819 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69821         * locale/weight.h (findidx): Add parameter len.
69822         * locale/weightwc.h (findidx): Likewise.
69823         * posix/fnmatch_loop.c (FCT): Adjust caller.
69824         * posix/regcomp.c (build_equiv_class): Likewise.
69825         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69826         * posix/regexec.c (check_node_accept_bytes): Likewise.
69827         * string/strcoll_l.c (STRCOLL): Likewise.
69828         * string/strxfrm_l.c (STRXFRM): Likewise.
69830 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69832         * Makefile.in: Remove CVSOPT handling.
69833         * configure.in: Remove use of AC_REVISION.
69834         * iconvdata/Makefile (distribute): No need to filter out CVS.
69835         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69836         handling.
69838 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69841         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69842         [USE_AS_STRNCASECMP_L]: Likewise.
69843         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69844         NO_TLS_DIRECT_SEG_REFS.
69845         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69846         Fix argument offsets for non-PIC.
69847         [USE_AS_STRNCASECMP_L]: Likewise.
69848         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69849         NO_TLS_DIRECT_SEG_REFS.
69851 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69853         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69854         O_CLOEXEC.
69855         * locale/loadlocale.c (_nl_load_locale): Likewise.
69857 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69859         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69860         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69861         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69862         (SYSCALL_GETTIME): Set errno on error.
69864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69865         count references to noai6ai_cached.
69867 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69869         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69871         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69872         FD_CLOEXEC for /proc/self/maps.
69874         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69875         FD_CLOEXEC for /proc/meminfo.
69877         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69878         gai.conf.
69880         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69881         FD_CLOEXEC for given file.
69883         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69885         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69886         FD_CLOEXEC for /etc/hosts.
69887         (_gethtent): Likewise.
69889         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69891         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69892         cancellation and set FD_CLOEXEC for /etc/netgroup.
69894         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69895         reading /etc/publickey.
69897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69898         allow cancellation when reading /etc/group.
69900         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69901         cancellation.
69902         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69904         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69905         when using data file.
69907         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69909         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69910         (write_nis_obj): Use "c" and "e" in fopen.
69912         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69914         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69916         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69918         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69920         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69921         locale.alias.
69923         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69925         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69927         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69929         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69930         file parsing and set FD_CLOEXEC.
69932 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69934         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69936 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69938         * malloc/arena.c (arena_get2): Don't call reused_arena when
69939         _int_new_arena failed.
69941 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69943         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69944         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69948         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69949         to compile strcasecmp and strncasecmp.
69950         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69951         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69955 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69957         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69958         locale-defines.sym to gen-as-const-headers.
69959         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69960         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69961         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69962         to compile strcasecmp and strncasecmp.
69963         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69964         strcasecmp_l and strncasecmp_l.
69965         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69966         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69967         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69968         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69969         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69971         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69972         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69973         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69974         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69975         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69977 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69979         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69980         result of SYSDEP_GETTIME_CPU to retval.
69981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69982         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69984         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69985         variable.
69987         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69988         mantissa words.
69989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69991         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69992         from unused variable.
69994         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69995         DWARF definitions.
69996         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69997         for assembling.
69999         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70000         over namespaces.
70002         * sunrpc/rpc_prot.c (rejected): Fix case value.
70004         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70005         unsigned long long int to avoid warnings in shift.
70007         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70008         of use of trans.
70009         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70010         variable tmp.
70012         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70013         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70014         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70016         * nis/nis_table.c (nis_list): Use variable of correct type for
70017         result of __follow_path call.
70019 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70021         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70022         of math functions ceil, trunc, floor, round, and sqrt, when
70023         avaliable on the platform.
70024         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70025         name clash.
70026         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70027         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70028         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70030 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70032         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70035 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70037         * include/unistd.h: Fix __readlink return type.
70038         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70040 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70042         * stdlib/ucontext.h: Undo last change for makecontext.
70044 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70046         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70048         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70049         * setjmp/setjmp.h: Mark functions as non-leaf.
70050         * setjmp/bits/setjmp2.h: Likewise.
70051         * stdlib/ucontext.h: Likewise.
70053 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70055         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70056         (reused_arena): Don't check arena limit.
70057         (arena_get2): Atomically check arena limit.
70059 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70061         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70062         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70065         instructions.
70067 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70069         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70070         handler when locking.
70072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70073         Fix size of allocated buffer.
70075 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70077         [BZ #10103]
70078         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70079         declarations for long double functions.
70080         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70082         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70084 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70086         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70087         installed.
70089         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70090         is disabled.
70092 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70094         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70096 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70098         * include/alloca.h (stackinfo_alloca_round): Define.
70099         (extend_alloca): Use it.
70100         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70101         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70102         here.
70104         * scripts/check-local-headers.sh: Ignore libaudit.h.
70106         * nscd/Makefile (extra-objs): Make recursively expanded.
70108 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70110         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70113         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70114         * posix/tst-rfc3484-2.c: Likewise.
70115         * posix/tst-rfc3484-3.c: Likewise.
70117         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70118         process_vm_writev.
70119         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70120         process_vm_writev.
70121         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70122         process_vm_writev from libc using GLIBC_2.15 version.
70124         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70126 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70128         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70129         stack usage.
70131 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70133         [BZ #13367]
70134         * nss/getent.c (initgroups_keys): Show error message in case no group
70135         names are given.
70137         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70138         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70139         __bump_nl_timestamp.
70140         * nscd/connections (nscd_init): When host database is served open
70141         netlink socket and request notification about configuration changes.
70142         (main_loop_poll): Track netlink file descriptor and bump timestamp
70143         in case data becomes available.
70144         (main_loop_epoll): Likewise.
70145         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70146         (database_pers_head): Add extra_data fileds.
70147         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70148         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70149         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70150         Adjust caller.
70151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70152         in6ai data, call __free_in6ai.
70153         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70154         Add -DHAVE_NETLINK.
70155         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70156         interface information.  Reuse previous data if netlink timestamp
70157         is not changed.
70158         (__bump_nl_timestamp): New function.
70159         (__free_in6ai): New function.
70161 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70164         close_not_cancel_no_status here.
70165         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70167 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70169         [BZ #13276]
70170         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70171         return value.
70173         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70174         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70175         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70177 2011-07-03  Andreas Jaeger  <aj@suse.de>
70179         [BZ #10709]
70180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70181         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70182         * math/libm-test.inc (sin_test): Add test case.
70184 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70186         [BZ #13337]
70187         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70188         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70190         * elf/chroot_canon.c (chroot_canon): Cleanups.
70192         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70194         [BZ #13335]
70195         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70196         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70198         * string/test-strchr.c: Make usable for strchrnul testing.
70199         * string/test-strchrnul.c: New file.
70200         * string/Makefile (strop-tests): Add strchrnul.
70202         * po/it.po: Update from translation team.
70203         * po/es.po: Likewise.
70205 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70208         the three constants needed as parameters.  Drop the others.
70209         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70210         __m128i_strloadu_tolower.
70211         Create and initialize variable zero and use it in all the places
70212         where _mm_setzero_si128 was used.
70214         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70215         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70216         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70217         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70218         anymore.
70219         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70220         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70221         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70222         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70223         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70224         __mpranred, __mptan.
70225         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70226         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70227         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70228         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70229         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70230         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70231         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70232         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70233         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70235 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70237         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70238         redefine if SHARED.
70239         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70242         wide char related routines to wcsmbs subdir.
70244 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70246         [BZ #13344]
70247         * misc/sys/cdefs.h (__THROWNL): Define.
70248         * posix/unistd.h: Use __THREADNL instead of __THREAD
70249         for memory synchronization functions.
70251 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70253         [BZ #13349]
70254         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70255         doesn't exist.
70256         * manual/stdio.texi (Obstack Streams): Node removed.
70258 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70260         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70261         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70262         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70264         * math/math_private.h (math_force_eval): Allow non-addressable
70265         arguments.
70266         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70268 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70271         file is not needed.
70273         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70278         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70279         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70280         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70281         Add AVX variants.
70282         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70283         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70284         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70285         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70286         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70287         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70288         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70289         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70290         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70291         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70292         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70293         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70294         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70295         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70296         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70297         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70298         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70299         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70300         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70302         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70303         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70305         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70306         place.  Use VEX encoding when compiling for AVX.
70308 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70310         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70311         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70313         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70315 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70317         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70318         useless if() expression.
70319         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70320         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70321         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70322         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70323         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70324         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70325         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70327         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70329         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70330         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70331         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70332         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70333         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70334         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70335         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70336         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70337         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70339         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70341 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70343         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70344         condition.
70345         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70347 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70349         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70350         .text section.  Avoid duplicate constants.
70351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70355         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70356         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70359         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70360         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70361         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70363         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70364         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70365         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70368         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70374         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70375         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70376         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70377         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70378         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70379         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70380         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70381         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70382         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70383         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70384         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70385         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70386         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70387         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70389         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70390         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70391         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70392         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70393         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70394         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70395         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70397 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70399         * sysdeps/x86_64/dla.h: Move to ...
70400         * sysdeps/x86_64/fpu/dla.h: ...here.
70401         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70402         situations.  Use __builtin_fma only for gcc 4.6 and up.
70404         * config.make.in: Add have-mfma4 entry.
70405         * configure.in: Substitute libc_cv_cc_fma4.
70406         * math/Makefile (dbl-only-routines): Add sincostab.
70407         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70408         Use __sincostab not sincos.
70409         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70410         name is a macro.
70411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70415         using __copysign.
70416         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70417         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70418         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70419         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70420         and __inv.
70421         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70422         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70423         __copysign.
70424         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70425         define aliases when function name is a macro.
70426         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70427         sysdeps/ieee754/dbl-64/sincos.tbl.
70428         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70429         fma4-enabled routines.
70430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70431         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70432         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70433         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70435         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70437         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70439         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70440         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70442         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70443         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70444         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70445         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70446         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70447         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70448         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70449         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70450         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70451         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70453         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70454         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70455         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70456         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70457         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70458         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70459         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70461         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70462         rename.
70463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70472 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70474         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70476 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70480         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70481         prediction.
70482         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70484         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70485         Remove unused variable magic_bits.
70486         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70488         * string/strnlen.c: Define and use STRNLEN macro.
70489         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70490         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70492         * wcsmbs/wcslen.c: Define and use WCSLEN.
70493         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70494         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70495         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70496         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70497         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70498         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70499         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70501 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70504         strnlen-sse2-no-bsf.
70505         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70507         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70508         Add strnlen support.
70509         (USE_AS_STRNLEN): New macro.
70510         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70511         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70512         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70513         * sysdeps/x86_64/wcslen.S: New file.
70515 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70518         XMM-moves are used for copying on small sizes.
70520 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70522         * wcsmbs/Makefile (strop-tests): Add wcschr.
70523         * wcsmbs/test-wcschr.c: New file.
70524         * string/test-strchr.c: Update.
70525         Add wcschr support.
70526         (WIDE): New macro.
70528 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70530         * wcsmbs/Makefile (strop-tests): Add wcslen.
70531         * wcsmbs/test-wcslen.c: New file.
70532         * string/test-strlen.c: Update.
70533         Add wcslen support.
70534         (WIDE): New macro.
70536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70538         * po/it.po: Update from translation team.
70540 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70542         * sysdeps/x86_64/wcscmp.S: Update.
70543         Fix wrong comparison semantics.
70544         wcscmp shall use signed comparison not unsigned.
70545         Don't use substraction to avoid overflow bug.
70546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70547         * wcsmbc/wcscmp.c: Likewise.
70548         * string/test-strcmp.c: Likewise.
70549         Add new tests to check cases with negative values.
70551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70553         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70554         * sysdeps/x86_64/dla.h: ...here.  New file.
70555         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70565 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70568         __ynl_finite aliases.
70570 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70574         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70575         define DLA_FMA.
70576         [DLA_FMA] (EMULV): Use DLA_FMA.
70577         [DLA_FMA] (MUL12): Use EMULV.
70578         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70579         that are not needed.
70580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70588 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70590         * math/s_nan.c: Undef __nan.
70591         * math/s_nanf.c: Undef __nanf.
70592         * math/s_nanl.c: Undef __nanl.
70593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70594         "math_private.h".
70596 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70598         * math/s_catan.c: Add branch predictions.
70599         * math/s_catanf.c: Likewise.
70600         * math/s_catanh.c: Likewise.
70601         * math/s_catanhf.c: Likewise.
70602         * math/s_catanhl.c: Likewise.
70603         * math/s_catanl.c: Likewise.
70604         * math/s_cexp.c: Likewise.
70605         * math/s_cexpf.c: Likewise.
70606         * math/s_cexpl.c: Likewise.
70607         * math/s_clog.c: Likewise.
70608         * math/s_clog10.c: Likewise.
70609         * math/s_clog10f.c: Likewise.
70610         * math/s_clog10l.c: Likewise.
70611         * math/s_clogf.c: Likewise.
70612         * math/s_clogl.c: Likewise.
70613         * math/s_csqrt.c: Likewise.
70614         * math/s_csqrtf.c: Likewise.
70615         * math/s_csqrtl.c: Likewise.
70616         * math/s_ctanf.c: Likewise.
70617         * math/s_ctanh.c: Likewise.
70618         * math/s_ctanhf.c: Likewise.
70619         * math/s_ctanhl.c: Likewise.
70620         * math/s_ctanl.c: Likewise.
70622         * math/math_private.h: Define __nan, __nanf, __nanl.
70623         * math/s_cacosh.c: Include <math_private.h>.
70624         * math/s_cacoshl.c: Likewise.
70625         * math/s_casinh.c: Likewise.
70626         * math/s_casinhf.c: Likewise.
70627         * math/s_casinhl.c: Likewise.
70628         * math/s_ccos.c: Rely entire on ccosh.
70629         * math/s_ccosf.c: Rely entire on ccoshf.
70630         * math/s_ccosl.c: Rely entirely on ccoshl.
70631         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70632         Remove tests for FE_INVALID.
70633         * math/s_ccoshf.c: Likewise.
70634         * math/s_ccoshl.c: Likewise.
70635         * math/s_csin.c: Likewise.
70636         * math/s_csinf.c: Likewise.
70637         * math/s_csinh.c Likewise.
70638         * math/s_csinhf.c: Likewise.
70639         * math/s_csinhl.c: Likewise.
70640         * math/s_csinl.c: Likewise.
70641         * math/s_ctan.c: Likewise.
70642         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70643         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70644         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70646 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70649         compilation problems.
70651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70652         __builtin_expect.
70654 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70656         * sysdeps/i386/configure.in: Test for -mfma4 option.
70657         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70658         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70659         COMMON_CPUID_INDEX_80000001.
70660         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70661         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70662         use it if FMA3 is not supported.
70663         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70665         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70666         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70668 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70670         [BZ #12892]
70671         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70672         it would create a cycle with a link time dependency.
70674 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70676         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70677         instruction.
70678         * string/Makefile (strop-tests): Add rawmemchr.
70679         * string/test-rawmemchr.c: New file.
70681         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70683         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70684         when compiling str{,n}casecmp and when AVX is available.  Hook up
70685         new optimized code in initializers.
70687 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70689         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70690         __feraiseexcept instead of feraiseexcept.
70692 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70694         * math/math_private.h: Define defaults for libc_fetestexcept and
70695         libc_feupdateenv.
70696         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70697         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70698         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70699         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70700         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70701         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70702         libc_fetestexcept and libc_feupdateenv.
70704         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70705         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70706         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70707         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70708         libc_feholdexcept_setround.
70710         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70711         Add s_nearbyint-c and s_nearbyintf-c.
70712         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70713         nearbyintf inlines.
70714         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70716         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70717         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70719         * math/math_private.h: Define defaults for libc_fegetround,
70720         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70721         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70722         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70723         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70724         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70725         standard functions.
70726         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70727         Remove comments and hacks for old compiler versions.
70728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70729         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70730         libc_feholdexceptl.
70732 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70734         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70735         (__feraiseexcept_renamed): Add __NTH.
70736         (feraiseexcept): Add __NTH.  Rename local variables to fix
70737         namespace violations.
70739 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70741         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70745         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70746         recently added interfaces.
70747         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70749         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70750         about macro parameter expansion.
70752         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70753         __NO_MATH_INLINES is defined.  Cleanups.
70755         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70756         and __floorf is target has SSE4.1.
70757         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70758         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70759         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70760         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70762         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70763         name.
70764         (floorf): Likewise.
70766         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70768 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70770         * misc/sys/cdefs.h: Fix last change.
70772         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70773         database lookup.
70775 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70777         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70779         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70781         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70782         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70784         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70785         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70786         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70787         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70788         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70789         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70790         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70791         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70792         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70793         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70795         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70796         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70797         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70798         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70800         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70803         ceil, ceilf, floor, floorf.
70805         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70806         Perform IRELATIVE relocations last.
70808         * elf/do-rel.h: Add another parameter nrelative, replacing the
70809         local variable with the same name.  Change name of the function
70810         to end in Rel or Rela (uppercase).
70811         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70812         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70813         elf_dynamic_do_##reloc function.
70815 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70817         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70818         is sufficient, at least on modern CPUs.
70820         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70822         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70823         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70825         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70826         __expl_finite.
70827         * math/bits/math-finite.h: Add entries for exp.
70828         * math/e_expl.c: Add __*_finite alias.
70829         * sysdeps/i386/fpu/e_exp.S: Likewise.
70830         * sysdeps/i386/fpu/e_expf.S: Likewise.
70831         * sysdeps/i386/fpu/e_expl.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70833         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70837         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70840         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70841         is sufficient, at least on modern CPUs.
70843         * ctype/ctype-info.c (__ctype_init): Define.
70844         * include/ctype.h (__ctype_init): Declare.
70845         (__ctype_b_loc): The variable is always initialized.
70846         (__ctype_toupper_loc): Likewise.
70847         (__ctype_tolower_loc): Likewise.
70848         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70849         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70851 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70853         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70855         * configure.in: Also look in $cxxmachine/include for C++ system
70856         headers.
70858 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70860         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70861         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70862         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70863         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70864         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70865         (USE_AS_WMEMCMP): New macro.
70866         Fixing indents.
70867         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70868         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70869         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70870         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70872         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70873         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70874         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70875         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70876         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70877         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70878         (USE_AS_WMEMCMP): New macro.
70879         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70880         * sysdeps/string/test-memcmp.c: Update.
70881         Fix simple_wmemcmp.
70882         Add new tests.
70883         * wcsmbs/wmemcmp.c: Update.
70884         (WMEMCMP): New macro.
70885         Fix overflow bug.
70887 2011-10-12  Andreas Jaeger  <aj@suse.de>
70889         [BZ #13268]
70890         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70892 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70894         * libio/iofwide.c (do_length): Avoid warning.
70896         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70898 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70900         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70902         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70903         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70904         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70905         * sysdeps/i386/i686/fpu/e_log.S: New file.
70906         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70907         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70909         * ctype/ctype.h: Add support for inlined isXXX functions when
70910         compiling C++ code.
70912 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70914         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70916         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70918 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70920         [BZ #13291]
70921         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70923 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70925         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70926         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70927         feraiseexcept.
70929         * sysdeps/x86_64/memrchr.S: Check for zero size.
70931         * string/stratcliff.c: Add memrchr tests.
70933 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70936         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70937         rawmemchr-sse2 rawmemchr-sse2-bsf.
70938         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70939         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70940         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70941         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70942         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70943         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70944         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70945         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70946         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70947         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70948         * string/memrchr.c (MEMRCHR): New macro.
70950 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70952         Add integration with gcc's -ffinite-math-only and optimize wrapper
70953         functions in libm.
70954         * Versions.def: Define GLIBC_2.15 version for libm.
70955         * math/Makefile (headers): Add bits/math-finite.h.
70956         * math/bits/math-finite.h: New file.
70957         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70958         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70959         * math/e_acoshl.c: Add __*_finite alias.
70960         * math/e_acosl.c: Likewise.
70961         * math/e_asinl.c: Likewise.
70962         * math/e_atan2l.c: Likewise.
70963         * math/e_atanhl.c: Likewise.
70964         * math/e_coshl.c: Likewise.
70965         * math/e_exp10.c: Likewise.
70966         * math/e_exp10f.c: Likewise.
70967         * math/e_exp10l.c: Likewise.
70968         * math/e_exp2l.c: Likewise.
70969         * math/e_fmodl.c: Likewise.
70970         * math/e_gammal_r.c: Likewise.
70971         * math/e_hypotl.c: Likewise.
70972         * math/e_j0l.c: Likewise.
70973         * math/e_j1l.c: Likewise.
70974         * math/e_jnl.c: Likewise.
70975         * math/e_lgammal_r.c: Likewise.
70976         * math/e_log10l.c: Likewise.
70977         * math/e_log2l.c: Likewise.
70978         * math/e_logl.c: Likewise.
70979         * math/e_powl.c: Likewise.
70980         * math/e_sinhl.c: Likewise.
70981         * math/e_sqrtl.c: Likewise.
70982         * math/e_scalb.c: Completely rewritten and optimized.
70983         * math/e_scalbf.c: Likewise.
70984         * math/e_scalbl.c: Likewise.
70985         * math/w_acos.c: Likewise.
70986         * math/w_acosf.c: Likewise.
70987         * math/w_acosl.c: Likewise.
70988         * math/w_acosh.c: Likewise.
70989         * math/w_acoshf.c: Likewise.
70990         * math/w_acoshl.c: Likewise.
70991         * math/w_asin.c: Likewise.
70992         * math/w_asinf.c: Likewise.
70993         * math/w_asinl.c: Likewise.
70994         * math/w_atan2.c: Likewise.
70995         * math/w_atan2f.c: Likewise.
70996         * math/w_atan2l.c: Likewise.
70997         * math/w_atanh.c: Likewise.
70998         * math/w_atanhf.c: Likewise.
70999         * math/w_atanhl.c: Likewise.
71000         * math/w_exp10.c: Likewise.
71001         * math/w_exp10f.c: Likewise.
71002         * math/w_exp10l.c: Likewise.
71003         * math/w_fmod.c: Likewise.
71004         * math/w_fmodf.c: Likewise.
71005         * math/w_fmodl.c: Likewise.
71006         * math/w_j0.c: Likewise.
71007         * math/w_j0f.c: Likewise.
71008         * math/w_j0l.c: Likewise.
71009         * math/w_j1.c: Likewise.
71010         * math/w_j1f.c: Likewise.
71011         * math/w_j1l.c: Likewise.
71012         * math/w_jn.c: Likewise.
71013         * math/w_jnf.c: Likewise.
71014         * math/w_log.c: Likewise.
71015         * math/w_logf.c: Likewise.
71016         * math/w_logl.c: Likewise.
71017         * math/w_log10.c: Likewise.
71018         * math/w_log10f.c: Likewise.
71019         * math/w_log10l.c: Likewise.
71020         * math/w_log2.c: Likewise.
71021         * math/w_log2f.c: Likewise.
71022         * math/w_log2l.c: Likewise.
71023         * math/w_pow.c: Likewise.
71024         * math/w_powf.c: Likewise.
71025         * math/w_powl.c: Likewise.
71026         * math/w_remainder.c: Likewise.
71027         * math/w_remainderf.c: Likewise.
71028         * math/w_remainderl.c: Likewise.
71029         * math/w_scalb.c: Likewise.
71030         * math/w_scalbf.c: Likewise.
71031         * math/w_scalbl.c: Likewise.
71032         * math/w_sqrt.c: Likewise.
71033         * math/w_sqrtf.c: Likewise.
71034         * math/w_sqrtl.c: Likewise.
71035         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71036         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71037         used.
71038         * math/math_private.h: Declare __kernel_standard_f.
71039         * math/w_cosh.c: Remove cruft and optimize a bit.
71040         * math/w_coshf.c: Likewise.
71041         * math/w_coshl.c: Likewise.
71042         * math/w_exp2.c: Likewise.
71043         * math/w_exp2f.c: Likewise.
71044         * math/w_exp2l.c: Likewise.
71045         * math/w_hypot.c: Likewise.
71046         * math/w_hypotf.c: Likewise.
71047         * math/w_hypotl.c: Likewise.
71048         * math/w_lgamma.c: Likewise.
71049         * math/w_lgamma_r.c: Likewise.
71050         * math/w_lgammaf.c: Likewise.
71051         * math/w_lgammaf_r.c: Likewise.
71052         * math/w_lgammal.c: Likewise.
71053         * math/w_lgammal_r.c: Likewise.
71054         * math/w_sinh.c: Likewise.
71055         * math/w_sinhf.c: Likewise.
71056         * math/w_sinhl.c: Likewise.
71057         * math/w_tgamma.c: Likewise.
71058         * math/w_tgammaf.c: Likewise.
71059         * math/w_tgammal.c: Likewise.
71060         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71061         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71062         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71063         Minor optimizations.  Pretty printing.  Remove cruft.
71064         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71065         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71068         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71069         * sysdeps/i386/fpu/e_asin.S: Likewise.
71070         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71071         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71072         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71073         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71074         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71075         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71077         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71078         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71079         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71080         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71081         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71082         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71083         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71084         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71085         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71086         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71087         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71088         * sysdeps/i386/fpu/e_log.S: Likewise.
71089         * sysdeps/i386/fpu/e_log10.S: Likewise.
71090         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71091         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71092         * sysdeps/i386/fpu/e_log2.S: Likewise.
71093         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71094         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71095         * sysdeps/i386/fpu/e_logf.S: Likewise.
71096         * sysdeps/i386/fpu/e_logl.S: Likewise.
71097         * sysdeps/i386/fpu/e_pow.S: Likewise.
71098         * sysdeps/i386/fpu/e_powf.S: Likewise.
71099         * sysdeps/i386/fpu/e_powl.S: Likewise.
71100         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71101         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71102         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71103         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71104         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71106         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71107         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71108         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71109         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71110         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71112         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71113         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71114         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71115         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71116         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71118         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71119         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71130         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71131         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71132         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71133         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71134         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71135         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71136         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71137         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71138         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71139         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71140         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71142         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71143         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71144         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71145         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71146         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71147         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71148         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71149         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71150         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71151         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71152         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71153         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71154         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71156         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71158         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71159         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71160         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71161         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71162         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71164         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71165         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71166         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71167         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71168         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71169         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71187         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71189         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71191         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71200         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71201         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71202         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71203         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71204         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71205         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71206         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71207         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71208         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71209         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71210         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71211         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71212         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71213         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71214         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71216         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71217         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71218         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71219         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71220         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71221         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71222         (__isnanf): Likewise.
71223         (__isinf_ns): Likewise.
71224         (__isinf_nsf): Likewise.
71225         (__finite): Likewise.
71226         (__finitef): Likewise.
71227         (__ieee754_sqrt): Define as macro.
71228         (__ieee754_sqrtf): Define as macro.
71229         (__ieee754_sqrtl): Define as macro.
71230         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71231         inlined copy.
71232         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71233         __FINITE_MATH_ONLY__ consistent.
71234         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71236 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71238         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71239         of rawmemchr.
71241         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71243 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71245         * po/ja.po: Update from translation team.
71247 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71249         * locale/programs/locarchive.c (prepare_address_space): New function.
71250         (create_archive, enlarge_archive, open_archive): Use it.
71252         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71253         inside [SHARED], where it is used.
71255         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71257         * nss/getent.c (netgroup_keys): Remove unused variable.
71258         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71260 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71262         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71263         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71265         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71266         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71268         * math/Makefile (libm-calls): Add s_isinf_ns.
71269         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71270         * math/multc3.c: Likewise.
71271         * math/s_casin.c: Likewise.
71272         * math/s_casinf.c: Likewise.
71273         * math/s_casinl.c: Likewise.
71274         * math/s_ccos.c: Likewise.
71275         * math/s_ccosf.c: Likewise.
71276         * math/s_ccosl.c: Likewise.
71277         * math/s_ctan.c: Likewise.
71278         * math/s_ctanf.c: Likewise.
71279         * math/s_ctanh.c: Likewise.
71280         * math/s_ctanhf.c: Likewise.
71281         * math/s_ctanhl.c: Likewise.
71282         * math/s_ctanl.c: Likewise.
71283         * math/w_fmod.c: Likewise.
71284         * math/w_fmodf.c: Likewise.
71285         * math/w_fmodl.c: Likewise.
71286         * math/w_remainder.c: Likewise.
71287         * math/w_remainderf.c: Likewise.
71288         * math/w_remainderl.c: Likewise.
71289         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71290         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71292         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71293         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71294         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71295         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71296         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71298         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71299         of the number.
71300         * stdio-common/printf_fphex.c: Likewise.
71301         * stdio-common/printf_size.c: Likewise.
71303         * math/e_exp10.c: Include math_private.h using <...> not "...".
71304         * math/e_exp10f.c: Likewise.
71305         * math/e_exp10l.c: Likewise.
71306         * math/e_exp2l.c: Likewise.
71307         * math/e_j0l.c: Likewise.
71308         * math/e_j1l.c: Likewise.
71309         * math/e_jnl.c: Likewise.
71310         * math/e_lgammal_r.c: Likewise.
71311         * math/e_rem_pio2l.c: Likewise.
71312         * math/e_scalb.c: Likewise.
71313         * math/e_scalbf.c: Likewise.
71314         * math/e_scalbl.c: Likewise.
71315         * math/k_cosl.c: Likewise.
71316         * math/k_sinl.c: Likewise.
71317         * math/k_tanl.c: Likewise.
71318         * math/s_cacoshf.c: Likewise.
71319         * math/s_catan.c: Likewise.
71320         * math/s_catanf.c: Likewise.
71321         * math/s_catanh.c: Likewise.
71322         * math/s_catanhf.c: Likewise.
71323         * math/s_catanhl.c: Likewise.
71324         * math/s_catanl.c: Likewise.
71325         * math/s_ccosh.c: Likewise.
71326         * math/s_ccoshf.c: Likewise.
71327         * math/s_ccoshl.c: Likewise.
71328         * math/s_cexp.c: Likewise.
71329         * math/s_cexpf.c: Likewise.
71330         * math/s_cexpl.c: Likewise.
71331         * math/s_clog.c: Likewise.
71332         * math/s_clog10.c: Likewise.
71333         * math/s_clog10f.c: Likewise.
71334         * math/s_clog10l.c: Likewise.
71335         * math/s_clogf.c: Likewise.
71336         * math/s_clogl.c: Likewise.
71337         * math/s_csin.c: Likewise.
71338         * math/s_csinf.c: Likewise.
71339         * math/s_csinh.c: Likewise.
71340         * math/s_csinhf.c: Likewise.
71341         * math/s_csinhl.c: Likewise.
71342         * math/s_csinl.c: Likewise.
71343         * math/s_csqrt.c: Likewise.
71344         * math/s_csqrtf.c: Likewise.
71345         * math/s_csqrtl.c: Likewise.
71346         * math/s_ctan.c: Likewise.
71347         * math/s_ctanf.c: Likewise.
71348         * math/s_ctanh.c: Likewise.
71349         * math/s_ctanhf.c: Likewise.
71350         * math/s_ctanhl.c: Likewise.
71351         * math/s_ctanl.c: Likewise.
71352         * math/s_ldexp.c: Likewise.
71353         * math/s_ldexpf.c: Likewise.
71354         * math/s_ldexpl.c: Likewise.
71355         * math/s_significand.c: Likewise.
71356         * math/s_significandf.c: Likewise.
71357         * math/s_significandl.c: Likewise.
71358         * math/w_acos.c: Likewise.
71359         * math/w_acosf.c: Likewise.
71360         * math/w_acosh.c: Likewise.
71361         * math/w_acoshf.c: Likewise.
71362         * math/w_acoshl.c: Likewise.
71363         * math/w_acosl.c: Likewise.
71364         * math/w_asin.c: Likewise.
71365         * math/w_asinf.c: Likewise.
71366         * math/w_asinl.c: Likewise.
71367         * math/w_atan2.c: Likewise.
71368         * math/w_atan2f.c: Likewise.
71369         * math/w_atan2l.c: Likewise.
71370         * math/w_atanh.c: Likewise.
71371         * math/w_atanhf.c: Likewise.
71372         * math/w_atanhl.c: Likewise.
71373         * math/w_cosh.c: Likewise.
71374         * math/w_coshf.c: Likewise.
71375         * math/w_coshl.c: Likewise.
71376         * math/w_dremf.c: Likewise.
71377         * math/w_exp10.c: Likewise.
71378         * math/w_exp10f.c: Likewise.
71379         * math/w_exp10l.c: Likewise.
71380         * math/w_exp2.c: Likewise.
71381         * math/w_exp2f.c: Likewise.
71382         * math/w_fmod.c: Likewise.
71383         * math/w_fmodf.c: Likewise.
71384         * math/w_fmodl.c: Likewise.
71385         * math/w_hypot.c: Likewise.
71386         * math/w_hypotf.c: Likewise.
71387         * math/w_hypotl.c: Likewise.
71388         * math/w_j0.c: Likewise.
71389         * math/w_j0f.c: Likewise.
71390         * math/w_j0l.c: Likewise.
71391         * math/w_j1.c: Likewise.
71392         * math/w_j1f.c: Likewise.
71393         * math/w_j1l.c: Likewise.
71394         * math/w_jn.c: Likewise.
71395         * math/w_jnf.c: Likewise.
71396         * math/w_jnl.c: Likewise.
71397         * math/w_lgamma.c: Likewise.
71398         * math/w_lgamma_r.c: Likewise.
71399         * math/w_lgammaf.c: Likewise.
71400         * math/w_lgammaf_r.c: Likewise.
71401         * math/w_lgammal.c: Likewise.
71402         * math/w_lgammal_r.c: Likewise.
71403         * math/w_log.c: Likewise.
71404         * math/w_log10.c: Likewise.
71405         * math/w_log10f.c: Likewise.
71406         * math/w_log10l.c: Likewise.
71407         * math/w_log2.c: Likewise.
71408         * math/w_log2f.c: Likewise.
71409         * math/w_log2l.c: Likewise.
71410         * math/w_logf.c: Likewise.
71411         * math/w_logl.c: Likewise.
71412         * math/w_pow.c: Likewise.
71413         * math/w_powf.c: Likewise.
71414         * math/w_powl.c: Likewise.
71415         * math/w_remainder.c: Likewise.
71416         * math/w_remainderf.c: Likewise.
71417         * math/w_remainderl.c: Likewise.
71418         * math/w_scalb.c: Likewise.
71419         * math/w_scalbf.c: Likewise.
71420         * math/w_scalbl.c: Likewise.
71421         * math/w_sinh.c: Likewise.
71422         * math/w_sinhf.c: Likewise.
71423         * math/w_sinhl.c: Likewise.
71424         * math/w_sqrt.c: Likewise.
71425         * math/w_sqrtf.c: Likewise.
71426         * math/w_sqrtl.c: Likewise.
71427         * math/w_tgamma.c: Likewise.
71428         * math/w_tgammaf.c: Likewise.
71429         * math/w_tgammal.c: Likewise.
71431         * po/ja.po: Update from translation team.
71433 2011-09-29  Andreas Jaeger  <aj@suse.de>
71435         [BZ #13179]
71436         * sunrpc/netname.c (netname2host): Fix logic.
71438         [BZ #6779]
71439         [BZ #6783]
71440         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71441         correctly.
71442         * math/w_remainder.c (__remainder): Likewise.
71443         * math/w_remainderf.c (__remainderf): Likewise.
71444         * math/libm-test.inc (remainder_test): Add test cases.
71446 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71448         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71449         sdiv_qrnnd.
71451 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71453         * string/test-memcmp.c: Avoid unncessary #defines.
71454         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71456 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71458         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71459         Use new sse2 version for core i3 - i7 as it's faster
71460         than sse42 version.
71461         (bit_Prefer_PMINUB_for_stringop): New.
71462         * sysdeps/x86_64/rawmemchr.S: Update.
71463         Replace with faster SSE2 version.
71464         * sysdeps/x86_64/memrchr.S: New file.
71465         * sysdeps/x86_64/memchr.S: Update.
71466         Replace with faster SSE2 version.
71468 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71470         * elf/dl-load.c (lose): Add cast to avoid warning.
71472 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71474         * po/ca.po: Update from translation team.
71476         * inet/getnetgrent_r.c: Hook up nscd.
71477         * nscd/Makefile (routines): Add nscd_netgroup.
71478         (nscd-modules): Add netgroupcache.
71479         (CFLAGS-netgroupcache.c): Define.
71480         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71481         (cache_search): Add const to second parameter.
71482         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71483         INNETGR.
71484         (dbs): Add netgrdb entry.
71485         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71486         (verify_persistent_db): Handle netgrdb.
71487         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71488         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71489         GETFDNETGR.
71490         (netgroup_response_header): Define.
71491         (innetgroup_response_header): Define.
71492         (datahead): Add netgroup_response_header and innetgroup_response_header
71493         elements.
71494         * nscd/nscd.conf: Add entries for netgroup cache.
71495         * nscd/nscd.h (dbtype): Add netgrdb.
71496         (_PATH_NSCD_NETGROUP_DB): Define.
71497         (netgroup_iov_disabled): Declare.
71498         (xmalloc, xcalloc, xrealloc): Move declarations here.
71499         (cache_search): Adjust prototype.
71500         Add netgroup-related prototypes.
71501         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71502         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71503         (__nscd_innetgr): Declare.
71504         * nscd/selinux.c (perms): Use access_vector_t as element type and
71505         add netgroup-related initializers.
71506         * nscd/netgroupcache.c: New file.
71507         * nscd/nscd_netgroup.c: New file.
71508         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71509         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71510         For four parameters use innetgr.
71511         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71512         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71513         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71514         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71516         * nscd/connections.c (register_traced_file): Don't register file
71517         for disabled databases.
71519 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71521         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71523         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71524         from tree and freeing node.
71526 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71528         * nss/nsswitch.c (__nss_database_lookup): Handle
71529         nss_parse_service_list out of memory case.
71531 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71533         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71534         out of memory case.
71536 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71538         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71539         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71540         pass it down.
71541         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71542         elf_machine_rela, elf_machine_lazy_rel.
71543         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71544         (ELF_DYNAMIC_DO_REL): Likewise.
71545         (ELF_DYNAMIC_DO_RELA): Likewise.
71546         (ELF_DYNAMIC_RELOCATE): Likewise.
71547         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71548         to ELF_DYNAMIC_DO_REL.
71549         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71550         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71551         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71552         elf_machine_rela.
71553         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71554         skip_ifunc, don't call ifunc function if non-zero.
71555         (elf_machine_rela): Likewise.
71556         (elf_machine_lazy_rel): Likewise.
71557         (elf_machine_lazy_rela): Likewise.
71558         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71559         (elf_machine_lazy_rel): Likewise.
71560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71561         Likewise.
71562         (elf_machine_lazy_rel): Likewise.
71563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71564         Likewise.
71565         (elf_machine_lazy_rel): Likewise.
71566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71567         (elf_machine_lazy_rel): Likewise.
71568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71569         (elf_machine_lazy_rel): Likewise.
71570         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71571         (elf_machine_lazy_rel): Likewise.
71572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71573         (elf_machine_lazy_rel): Likewise.
71574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71575         (elf_machine_lazy_rel): Likewise.
71576         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71577         (elf_machine_lazy_rel): Likewise.
71579 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71581         * nss/nss_files/files-init.c (_nss_files_init): Use static
71582         initialization for all the *_traced_file variables.
71584 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71586         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71588 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71590         [BZ #13226]
71591         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71593 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71596         Reread the line before reparsing it.
71598 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71600         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71602 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71603             Maxim Kuvyrkov  <maxim@codesourcery.com>
71604             Joseph Myers  <joseph@codesourcery.com>
71606         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71607         if needed for __stack_chk_guard.
71609 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71611         * sysdeps/posix/spawni.c (script_execute): Always define it.
71612         It will be optimized away if unused.
71613         (maybe_script_execute): New function.
71614         (__spawni): Call it.
71616         * Makerules: Don't include tls.make.
71617         (config-tls): Always set to thread.
71618         * tls.make.c: File removed.
71620 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71622         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71623         * config.make.in (CPPFLAGS-config): New substituted variable.
71625 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71629         [BZ #13192]
71630         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71631         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71633 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71635         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71636         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71638         (CALL_FAIL): Likewise.
71639         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71640         (CALL_FAIL): Macro removed.
71641         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71645         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71646         for __FINITE_MATH_ONLY__ == 1.
71648 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71650         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71651         __ieee754_sqrt instead of sqrt.
71652         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71653         __ieee754_sqrtf instead of sqrtf.
71654         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71655         __floorf instead of floorf.
71656         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71657         __floorf, __truncf instead of floorf, truncf.
71659 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71661         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71663         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71664         __extern_always_inline.
71665         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71666         32-bit.
71668 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71670         * elf/rtld.c (dl_main): Also relocate in dependency order when
71671         doing symbol dependency testing.
71673 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71676         Always define `refsym'.
71678 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71680         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71681         (__FD_ELT): Renamed from __FDELT.
71682         * misc/bits/select2.h (__FD_ELT): Likewise.
71683         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71684         __FD_MASK instead of __FDELT, __FDMASK.
71685         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71686         Likewise.
71687         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71688         Likewise.
71690         * elf/Makefile (gen-ldd): Fix pattern.
71692         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71693         (init_tls): Likewise.
71695 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71699 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71701         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71702         `struct cmsghdr *' instead of `void *'.
71703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71704         Likewise.
71706 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71708         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71709         if non-absolute.
71710         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71711         ldd_rewrite_script.
71713 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71715         * configure.in: Remove --with-tls option.
71716         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71717         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71718         out in case it is missing.
71719         * sysdeps/ia64/elf/configure.in: Likewise.
71720         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71721         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71722         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71723         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71724         * sysdeps/sh/elf/configure.in: Likewise.
71725         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71726         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71727         * sysdeps/x86_64/elf/configure.in: Likewise.
71728         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71729         * sysdeps/mach/hurd/tls.h: Likewise.
71731         [BZ #13067]
71732         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71734         [BZ #13090]
71735         * configure.in: Fix use of AC_INIT.
71737         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71739 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71741         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71742         __set_errno.
71743         * malloc/hooks.c: Likewise.
71745         [BZ #11929]
71746         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71747         variables statically.
71748         (narenas): Initialize.
71749         (list_lock): Initialize.
71750         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71751         initializtion of main_arena and list_lock.  Small cleanups.
71752         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71753         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71754         Add initializers to main_arena and mp_.
71755         (malloc_state): Remove pagesize member.  Change all users to use
71756         GLRO(dl_pagesize).
71758         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71759         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71760         is always initialized.
71762         * malloc/malloc.c: Removed unused configurations and dead code.
71763         * malloc/arena.c: Likewise.
71764         * malloc/hooks.c: Likewise.
71765         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71767         * include/tls.h: Removed.  USE___THREAD must always be defined.
71768         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71769         * elf/dl-libc.c: Likewise.
71770         * elf/dl-tsd.c: Likewise.
71771         * include/errno.h: Likewise.
71772         * include/netdb.h: Likewise.
71773         * include/resolv.h: Likewise.
71774         * inet/herrno-loc.c: Likewise.
71775         * inet/herrno.c: Likewise.
71776         * malloc/arena.c: Likewise.
71777         * malloc/hooks.c: Likewise.
71778         * malloc/malloc.c: Likewise.
71779         * resolv/res-state.c: Likewise.
71780         * resolv/res_libc.c: Likewise.
71781         * sysdeps/i386/dl-machine.h: Likewise.
71782         * sysdeps/ia64/dl-machine.h: Likewise.
71783         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71784         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71785         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71786         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71787         * sysdeps/sh/dl-machine.h: Likewise.
71788         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71789         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71790         * sysdeps/unix/i386/sysdep.S: Likewise.
71791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71792         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71797         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71802         * sysdeps/x86_64/dl-machine.h: Likewise.
71803         * tls.make.c: Likewise.
71805         * configure.in: Remove --with-__thread option.  Make tests for
71806         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71807         tls_model attribute fail if no support is available.  Remove
71808         USE_IN_LIBIO.
71809         * Makeconfig: Adjust for dropped configure option.  All features are
71810         now mandatory.
71811         * Makerules: Likewise.
71812         * Versions.def: Likewise.
71813         * argp/argp-fmtstream.c: Likewise.
71814         * argp/argp-fmtstream.h: Likewise.
71815         * argp/argp-help.c: Likewise.
71816         * assert/assert.c: Likewise.
71817         * config.h.in: Likewise.
71818         * config.make.in: Likewise.
71819         * configure: Likewise.
71820         * configure.in: Likewise.
71821         * csu/Versions: Likewise.
71822         * csu/init.c: Likewise.
71823         * elf/tst-audit2.c: Likewise.
71824         * elf/tst-tls10.c: Likewise.
71825         * elf/tst-tls10.h: Likewise.
71826         * elf/tst-tls11.c: Likewise.
71827         * elf/tst-tls12.c: Likewise.
71828         * elf/tst-tls14.c: Likewise.
71829         * elf/tst-tlsmod11.c: Likewise.
71830         * elf/tst-tlsmod12.c: Likewise.
71831         * elf/tst-tlsmod13.c: Likewise.
71832         * elf/tst-tlsmod13a.c: Likewise.
71833         * elf/tst-tlsmod14a.c: Likewise.
71834         * elf/tst-tlsmod15b.c: Likewise.
71835         * elf/tst-tlsmod16a.c: Likewise.
71836         * elf/tst-tlsmod16b.c: Likewise.
71837         * elf/tst-tlsmod7.c: Likewise.
71838         * elf/tst-tlsmod8.c: Likewise.
71839         * elf/tst-tlsmod9.c: Likewise.
71840         * gmon/gmon.c: Likewise.
71841         * grp/fgetgrent_r.c: Likewise.
71842         * grp/putgrent.c: Likewise.
71843         * hurd/fopenport.c: Likewise.
71844         * include/libc-symbols.h: Likewise.
71845         * include/tls.h: Likewise.
71846         * intl/gettextP.h: Likewise.
71847         * intl/loadinfo.h: Likewise.
71848         * locale/global-locale.c: Likewise.
71849         * locale/localeinfo.h: Likewise.
71850         * mach/devstream.c: Likewise.
71851         * malloc/arena.c: Likewise.
71852         * malloc/set-freeres.c: Likewise.
71853         * misc/err.c: Likewise.
71854         * misc/getttyent.c: Likewise.
71855         * misc/mntent_r.c: Likewise.
71856         * posix/getopt.c: Likewise.
71857         * posix/wordexp.c: Likewise.
71858         * pwd/fgetpwent_r.c: Likewise.
71859         * resolv/Versions: Likewise.
71860         * resolv/res_hconf.c: Likewise.
71861         * shadow/fgetspent_r.c: Likewise.
71862         * shadow/putspent.c: Likewise.
71863         * stdio-common/printf_fphex.c: Likewise.
71864         * stdio-common/tmpfile.c: Likewise.
71865         * stdlib/abort.c: Likewise.
71866         * stdlib/fmtmsg.c: Likewise.
71867         * sunrpc/auth_unix.c: Likewise.
71868         * sunrpc/clnt_perr.c: Likewise.
71869         * sunrpc/clnt_tcp.c: Likewise.
71870         * sunrpc/clnt_udp.c: Likewise.
71871         * sunrpc/clnt_unix.c: Likewise.
71872         * sunrpc/openchild.c: Likewise.
71873         * sunrpc/svc_simple.c: Likewise.
71874         * sunrpc/svc_tcp.c: Likewise.
71875         * sunrpc/svc_udp.c: Likewise.
71876         * sunrpc/svc_unix.c: Likewise.
71877         * sunrpc/xdr.c: Likewise.
71878         * sunrpc/xdr_array.c: Likewise.
71879         * sunrpc/xdr_rec.c: Likewise.
71880         * sunrpc/xdr_ref.c: Likewise.
71881         * sunrpc/xdr_stdio.c: Likewise.
71883 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71885         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71887 2011-07-03  Andreas Jaeger  <aj@suse.de>
71889         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71890         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71891         regenerate with gen-libm-tests.pl.
71893 2010-05-12  Petr Baudis  <pasky@suse.cz>
71895         [BZ #11589]
71896         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71897         around j0() zero points by switching to j1().
71898         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71899         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71901         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71905         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71906         instead of 0.
71907         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71908         instead of 0.
71909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71910         Patch in part by Pavel Roskin <proski@gnu.org>.
71912         [BZ #13138]
71913         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71914         realloc.
71915         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71916         Free memory block if necessary.
71918         [BZ #12847]
71919         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71920         be NULL.  Don't lock in this case.
71922 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71924         * elf/elf.h (ELFOSABI_GNU): New macro.
71925         (ELFOSABI_LINUX): Define to that.
71927 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71929         * string/strncat.c (strncat): Undef the symbol in case it has been
71930         defined in bits/string.h.
71932 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71934         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71936         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71937         link map.
71939 2011-08-17  Andreas Jaeger  <aj@suse.de>
71941         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71943 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71944             Ian Lance Taylor  <iant@google.com>
71946         * math/libm-test.inc (lround_test): New testcase.
71947         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71949 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71951         * Makefile: Remove support for automatic cvs check-ins.
71952         * Makerules: Likewise.
71953         * config.make.in: Likewise.
71954         * configure.in: Likewise.
71955         * intl/Makefile: Likewise.
71956         * locale/Makefile: Likewise.
71957         * po/Makefile: Likewise.
71958         * posix/Makefile: Likewise.
71959         * sysdeps/gnu/Makefile: Likewise.
71960         * sysdeps/mach/hurd/Makefile: Likewise.
71961         * sysdeps/sparc/sparc32/Makefile: Likewise.
71963         [BZ #13118]
71964         * posix/Makefile (bug-regex32-ENV): Define.
71965         Patch by John Stanley <jpsinthemix@verizon.net>.
71967         * misc/Makefile (headers): Add bits/select2.h.
71968         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71969         * misc/bits/select2.h: New file.
71970         * include/bits/select2.h: New file.
71971         * debug/Makefile (routines): Add fdelt_chk.
71972         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71973         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71974         FD_ISSET.
71975         * debug/fdelt_chk.c: New file.
71977         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71978         * wcsmbs/test-wmemcmp.c: Likewise.
71979         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71980         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71982 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71984         * string/Makefile (strop-tests): Add memcmp.
71985         * string/test-wmemcmp.c: New file.
71986         * string/test-memcmp.c: Add wmemcmp support.
71988 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71990         [BZ #13153]
71991         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71992         2011-07-19 change.
71994         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71995         garbage value in a __mach_port_mod_refs call in the cases of the
71996         task-self and thread-self ports.
71998 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72000         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72002 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72004         * elf/dl-load.c (lose): Check for non-null L.
72006 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72008         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72010         * elf/dl-libc.c (dlerror_run): Pass back error code from
72011         dl_catch_error.
72013         [BZ #13123]
72014         * elf/dl-load.c (lose): Free l_origin if it is valid.
72016         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72017         names.
72018         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72019         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72020         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72022         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72023         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72025 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72027         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72028         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72029         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72030         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72031         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72032         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72033         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72034         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72035         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72036         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72038 2011-08-15  Alan Modra  <amodra@gmail.com>
72040         [BZ #13092]
72041         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72042         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72043         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72044         ppc_mcount to static-only-routines.
72045         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72046         __mcount_internal.
72047         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72048         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72050 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72052         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72053         for finite and infinity parameters.
72055 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72058         and add nop instructions for throughput optimization.
72059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72061 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72063         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72064         aligned copy for power7 with vector-scalar instructions.
72065         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72067 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72070         AVX check.
72072 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72074         [BZ #13144]
72075         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72076         last change.
72078 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72080         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72081         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72082         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72084         clock_gettime.
72086 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72088         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72089         Forgot to demangle the pointer.
72091         * sysdeps/i386/sysdep.h: Define atom_text_section.
72092         * sysdeps/x86_64/sysdep.h: Likewise.
72093         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72094         section with atom_text_section.
72095         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72097         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72098         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72099         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72101         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72102         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72103         already be defined.  Change to take two parameters and don't assign
72104         result to variable.  Adjust all users.
72105         Define INTERNAL_GETTIME if not already defined.
72106         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72107         call.
72108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72109         HAVE_CLOCK_GETTIME_VSYSCALL.
72110         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72113         gettimeofday vsyscall, just use time.
72115 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72118         <errno.h>.
72120 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72122         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72123         syscall on x86-64.
72124         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72125         syscall.
72126         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72127         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72128         syscall if possible.
72130 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72132         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72133         e_ident.  Don't pass to find_mapsXX.
72134         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72136 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72139         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72140         * sysdeps/x86_64/multiarch/strchr.S: Update.
72141         Check bit_slow_BSF bit.
72142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72143         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72146 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72148         [BZ #13134]
72149         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72150         before glibc 2.15.
72151         (tryshell): Define.
72152         (__spawni): Change last parameter to be flag.  Test
72153         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72154         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72155         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72156         * posix/spawni.c: Likewise.
72157         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72158         * posix/spawnp.c: Likewise.  Change normal version to use
72159         SPAWN_XFLAGS_USE_PATH.
72160         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72161         SPAWN_XFLAGS_TRY_SHELL.
72163         [BZ #13150]
72164         * posix/glob.h: Remove gcc 1.x support.
72166         [BZ #13068]
72167         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72169 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72172         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72173         strrchr-sse2-bsf
72174         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72175         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72176         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72178         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72179         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72181 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72183         * sysdeps/x86_64/wcscmp.S: New file.
72185         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72186         wcscmp-c wcscmp-sse2
72187         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72188         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72189         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72190         * wcsmbs/wcscmp.c: Allow renaming.
72192 2011-09-05  David S. Miller  <davem@davemloft.net>
72194         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72195         stack slot, rather than the struct return pointer slot.
72196         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72197         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72199         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72201 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72203         * po/ja.po: Update from translation team.
72205         [BZ #13144]
72206         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72207         kernel in 64-bit binaries.
72209 2011-09-01  David S. Miller  <davem@davemloft.net>
72211         * elf/elf.h (HWCAP_SPARC_*): Move to..
72212         * sysdeps/sparc/sysdep.h: this new file and add new values.
72213         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72214         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72215         _DL_HWCAP_COUNT to 24.
72216         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72217         entries.
72218         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72219         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72220         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72221         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72222         instead of magic constants.
72223         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72225 2011-08-31  David S. Miller  <davem@davemloft.net>
72227         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72229         Reimplement to do errno handling inline.
72230         (SYSCALL_ERROR_HANDLER): New macro.
72231         (__SYSCALL_STRING): Do not do errno handling in asm.
72232         (__CLONE_SYSCALL_STRING): Delete.
72233         (__INTERNAL_SYSCALL_STRING): Delete.
72234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72235         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72236         (PSEUDO): Reimplement to do errno handling inline.
72237         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72238         (SYSCALL_ERROR_HANDLER): New macro.
72239         (__SYSCALL_STRING): Do not do errno handling in asm.
72240         (__CLONE_SYSCALL_STRING): Delete.
72241         (__INTERNAL_SYSCALL_STRING): Delete.
72242         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72243         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72244         i386.
72245         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72246         (inline_syscall*): Add 'err' argument.
72247         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72248         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72249         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72250         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72252         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72255 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72257         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72259 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72261         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72262         directive.
72264 2011-08-24  David S. Miller  <davem@davemloft.net>
72266         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72268 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72270         * elf/Makefile: Add rules to build and run unload8 test.
72271         * elf/unload8.c: New file.
72272         * elf/unload8mod1.c: New file.
72273         * elf/unload8mod1x.c: New file.
72274         * elf/unload8mod2.c: New file.
72275         * elf/unload8mod3.c: New file.
72277         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72278         it wasn't used.
72280 2011-08-23  David S. Miller  <davem@davemloft.net>
72282         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72283         subtract stack bias.
72284         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72285         %sp not %fp in calculations.
72286         (_JMPBUF_UNWINDS_ADJ): Likewise.
72288         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72289         (aio_suspend): Call it to force an exception region around the
72290         AIO_MISC_WAIT() invocation.
72292 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72294         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72295         backslash.
72297 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72299         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72300         protection macro.
72301         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72302         and <dl-machine.h>.
72303         (Elf64_FuncDesc): Remove.
72305 2011-08-22  David S. Miller  <davem@davemloft.net>
72307         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72308         sigaltstack check, add missing cfi directives.
72309         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72310         missing cfi directives, and sigaltstack handling.
72312 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72314         [BZ #11724]
72315         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72316         object is seen twice.
72317         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72319         * elf/Makefile (distribute): Add tst-initorder2.c.
72320         (tests): Add tst-initorder2.
72321         (modules-names): Add tst-initorder2a tst-initorder2b
72322         tst-initorder2c tst-initorder2d.  Add rules to build them.
72323         ($(objpfx)tst-initorder2.out): New rule.
72324         * elf/tst-initorder2.c: New file.
72325         * elf/tst-initorder2.exp: New file.
72327 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72331         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72332         dependencies back to end of function.
72334         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72335         $(elfobjdir)/ld.so.
72337 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72340         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72342         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72343         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72344         of __vdso_gettimeofday.
72345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72346         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72347         attribute_hidden.
72348         (_libc_vdso_platform_setup): Remove initialization of
72349         __vdso_gettimeofday and __vdso_time.
72351 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72353         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72354         and fgetc_unlocked.
72355         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72356         getc_unlocked.
72358         * elf/dl-open.c (add_to_global): Report additions to the global scope
72359         for LD_DEBUG=scopes.
72360         (dl_open_worker): Also print scope of newly loaded dependencies.
72361         (_dl_show_scope): Indicate if there is no scope.
72363         [BZ #13114]
72364         * stdio-common/Makefile (tests): Add bug24.
72365         * stdio-common/bug24.c: New file.
72367 2011-08-19  Andreas Jaeger  <aj@suse.de>
72369         [BZ #13114]
72370         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72371         non-existant file when using close-on-exec mode.
72373 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72376         the very first instruction.
72378         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72379         the CFI state in the end.
72380         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72381         inclusion of dl-trampoline.h.
72382         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72384 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72386         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72387         expectations for long double.
72389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72390         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72392 2011-08-14  David S. Miller  <davem@davemloft.net>
72394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72395         artificual limit depends upon the system page size.
72397 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72399         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72400         * resolv/Makefile: Define CFLAGS-libresolv.
72402 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72404         * nss/makedb.c (compute_tables): Make variables used in nested
72405         function static.
72407 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72409         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72410         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72411         if buffer was too small.
72413         * elf/pldd.c (main): Attach to all threads in the process.
72414         Rewrite /proc handling to use *at functions.
72416 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72418         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72419         specifies first scope to show.
72420         (dl_open_worker): Update callers.  Move printing scope of new
72421         object to before the relocation.
72422         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72423         * sysdeps/generic/ldsodefs.h: Update declaration.
72425         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72426         string for the scope number.
72428 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72430         * nscd/servicescache.c (cache_addserv): Make sure written is always
72431         initialized.
72433 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72435         * sysdeps/i386/i486/bits/atomic.h
72436         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72437         statement expression, so as to suppress "set but not used" warning.
72438         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72440         * string/strncat.c (STRNCAT): Use prototype definition.
72442         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72443         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72444         -Iprograms here.
72445         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72446         (localedef-modules): Add localedef.
72447         (locale-modules): Add locale.
72449         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72450         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72451         to avoid a warning.
72453 2011-08-14  David S. Miller  <davem@davemloft.net>
72455         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72456         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72458 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72460         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72461         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72462         * elf/rtld.c (dl_main): Set l_name of vDSO.
72463         Call _dl_show_scope when DL_DEBUG_SCOPES.
72464         (process_dl_debug): Recognize scopes flag and also set it for all.
72465         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72466         Declare _dl_show_scope.
72468         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72469         (do_dlopen): Pass caller_dlopen to dl_open.
72470         (__libc_dlopen_mode): Initialize caller_dlopen.
72472         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72473         of libc.  Make tolower call locale-independent.  Optimize a bit by
72474         using isdigit instead of isalnum.
72475         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72477 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72479         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72480         was a dependency or dynamically loaded.
72482 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72484         * intl/l10nflist.c: Allow architecture-specific pop function.
72485         * sysdeps/x86_64/l10nflist.c: New file.
72487         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72488         classification.
72490 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72492         * include/dirent.h: Add libc_hidden_proto for scandirat and
72493         scandirat64.  Don't declare __scandirat64.
72494         * dirent/scandirat.c: Add libc_hidden_def.
72495         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72496         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72498 2011-08-10  David S. Miller  <davem@davemloft.net>
72500         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72501         enum.
72502         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72503         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72506 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72508         * Versions.def [libc]: Add GLIBC_2.15.
72509         * dirent/Makefile (routines): Add scandirat and scandirat64.
72510         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72511         GLIBC_2.15.
72512         * dirent/dirent.h: Declare scandirat and scandirat64.
72513         * dirent/scandirat.c: New file.
72514         * dirent/scandirat64.c: New file.
72515         * sysdeps/wordsize-64/scandirat.c: New file.
72516         * sysdeps/wordsize-64/scandirat64.c: New file.
72517         * dirent/opendir.c: Define opendirat.
72518         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72519         using scandirat.
72520         * dirent/scandir64.c: Adjust for scandir.c change.
72521         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72522         __scandirat64, and __scandir_cancel_handler.
72523         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72524         additional parameter and use openat instead of open (outside of ld.so).
72525         Add new __opendir as wrapper around __opendirat.
72526         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72527         here without requiring old scandirat implementation.
72529 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72531         * dirent/scandir.c (cancel_handler): Renamed to
72532         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72533         defined.  Adjust users.
72534         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72535         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72537 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72539         * string/test-string.h (IMPL): Use __STRING to expand name and then
72540         stringify it.
72542         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72543         of cleanups.
72545 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72547         * string/Makefile: Update.
72548         (strop-tests): Append strncat.
72549         * string/test-wcscmp.c: New file.
72550         New comprehensive test for wcscmp.
72551         * string/test-strcmp.c: Update.
72552         (WIDE): New define.
72554 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72556         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72557         line.
72559 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72562         encoding to ACE if AI_IDN.
72564 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72567         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72569 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72572         Fix overflow bug in strncat.
72573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72575         * string/test-strncat.c: Update.
72576         Add new tests for checking overflow bugs.
72578 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72581         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72582         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72583         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72584         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72585         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72586         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72587         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72588         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72591         (USE_AS_STRCAT): Define.
72592         Add strcat and strncat support.
72593         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72595 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72597         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72598         __n bigger than INT_MAX+1.
72599         (__strncmp_g): Likewise.
72601 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72603         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72604         * libio/stido.h: Likewise.
72606         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72607         (AF_NFC): Define.
72608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72609         (AF_NFC): Define.
72611         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72612         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72614         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72617         [BZ #13021]
72618         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72619         installed.
72621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72622         typo.
72623         (_dl_x86_64_save_sse): Likewise.
72625 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72628         OSXSAVE.
72629         (_dl_x86_64_save_sse): Likewise.
72631         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72633         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72635 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72638         change.
72639         (_dl_x86_64_save_sse): Use correct AVX check.
72641 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72644         bug in strncpy/strncat.
72645         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72647 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72649         * string/tester.c (test_strcat): Add tests for different alignments
72650         of source and destination.
72651         (test_strncat): Likewise.
72653 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72655         [BZ #12852]
72656         * posix/glob.c (glob): Check passed in values before using them in
72657         expressions to avoid some overflows.
72658         (glob_in_dir): Likewise.
72660         [BZ #13007]
72661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72662         check for AVX enablement so that we don't crash with old kernels and
72663         new hardware.
72664         * elf/tst-audit4.c: Add same checks here.
72665         * elf/tst-audit6.c: Likewise.
72667         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72669 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72671         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72673 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72675         * po/cs.po: Update from translation team.
72676         * po/bg.po: Likewise.
72678 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72680         * misc/sys/cdefs.h: Add support for const attribute.
72681         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72682         to gnu_dev_{major,minor,makedev} functions.
72684 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72686         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72688 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72690         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72691         strlen results.
72693 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72696         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72697         register in order to avoid conflicts with the soft frame pointer
72698         being held in r11 when necessary.
72699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72700         (INTERNAL_VSYSCALL_NCS): Likewise.
72702 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72704         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72705         * elf/dl-fini.c (_dl_fini): Adjust caller.
72706         * elf/dl-close.c (_dl_close_worker): Likewise.
72707         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72709 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72711         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72712         "aux_cache->nlibs < 0".
72714         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72715         in the reload-count case.
72717 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72720         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72721         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72722         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72723         * sysdeps/x86_64/multiarch/strcat.S: New file.
72724         * sysdeps/x86_64/multiarch/strncat.S: New file.
72725         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72726         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72727         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72728         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72730         (USE_AS_STRCAT): Define.
72731         Add strcat and strncat support.
72732         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72733         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72734         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72735         * string/strncat.c: Update.
72736         (USE_AS_STRNCAT): Define.
72737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72738         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72739         and i7.
72740         * sysdeps/x86_64/multiarch/init-arch.h
72741         (bit_Prefer_PMINUB_for_stringop): New.
72742         (index_Prefer_PMINUB_for_stringop): Likewise.
72743         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72744         bit_Prefer_PMINUB_for_stringop.
72746 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72748         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72749         buffer64.
72750         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72751         of casting of buffer.
72752         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72753         buffer32 and buffer64.
72754         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72755         writes instead of casting of buffer.
72756         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72757         buffer32.
72758         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72759         casting of buffer.
72761 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72763         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72767         * nscd/nscd.c (termination_handler): Don't do anything for a database
72768         if it has not yet been initialized.
72770 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72772         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72774 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72776         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72778 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72780         * po/nl.po: Update from translation team.
72781         * po/sv.po: Likewise.
72783 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72785         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72786         now disallowed by GCC.
72788         * configure.in (use-default-link): Default to yes if a test -shared
72789         link meets our qualifications.
72790         * configure: Regenerated.
72792         * config.make.in (output-format): New variable.
72793         * configure.in: Check for ld --print-output-format support.
72794         * configure: Regenerated.
72795         * Makerules ($(common-objpfx)format.lds)
72796         [$(output-format) != unknown]: Just use $(output-format),
72797         instead of the linker-script munging.
72799 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72801         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72802         of $(common-objpfx)shlib.lds.
72803         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72805         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72806         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72808         * configure.in (-z relro check): Adjust test code to add a large
72809         writable data section after it.
72810         * configure: Regenerated.
72812 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72814         * configure.in (-z relro check): Fix test code to make the variable
72815         truly const.
72816         * configure: Regenerated.
72818 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72820         * nscd/nscd.h (struct traced_file): Define.
72821         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72822         elements.  Add traced_files.
72823         (inotify_fd): Declare.
72824         (register_traced_file): Declare.
72825         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72826         (inotify_fd): Export.
72827         (resolv_conf_descr): Remove.
72828         (nscd_init): Move inotify descriptor creation to main.
72829         Don't register files for notification here.
72830         (register_traced_file): New function.
72831         (invalidate_cache): Don't use reset_res to determine whether to call
72832         res_init, go through the list of registered files.
72833         (main_loop_poll): The inotify descriptors are now stored in the
72834         structures for the traced files.
72835         (main_loop_epoll): Likewise.
72836         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72837         to __nss_disable_nscd.
72838         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72839         for a database anymore.  Check the records for all the registered
72840         files instead.
72841         * nss/Makefile (libnss_files-routines): Add files-init.
72842         (libnss_db-routines): Add db-init.
72843         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72844         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72845         * nss/nss_db/db-init.c: New file.
72846         * nss/nss_files/files-init.c: New file.
72847         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72848         __nss_lookup_function.
72849         (__nss_lookup_function): Call nss_load_library.
72850         (nss_load_all_libraries): New function.
72851         (__nss_disable_nscd): Take parameter with callback function for files
72852         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72853         used for the cached services.
72854         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72855         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72856         options for features to all the files in nscd.
72858         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72860 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72862         * csu/elf-init.c (__libc_csu_init): Comment typo.
72864 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72866         * po/pl.po: Update from translation team.
72867         * po/ja.po: Likewise.
72868         * po/ru.po: Likewise.
72869         * po/ko.po: Likewise.
72870         * po/fr.po: Likewise.
72872 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72874         * configure.in (.ctors/.dtors header and trailer check):
72875         Use an empirical test on a built program.
72876         * configure: Regenerated.
72878         * configure.in (-z relro check): Use an empirical test on a built DSO.
72879         Detect, but do not require, on ia64.
72880         * configure: Regenerated.
72882         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72883         Update tests that use readelf to use $READELF instead.
72884         * configure: Regenerated.
72886 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72888         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72889         if the result is not used.
72891 2011-07-05  Andreas Jaeger  <aj@suse.de>
72893         [BZ#9696]
72894         * stdlib/tst-strtod.c: Add testcase.
72896 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72898         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72899         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72900         The latter has a higher limit.  Take additional parameter to pass to
72901         the new function.
72902         (__pathconf): Pass file to __statfs_link_max.
72903         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72904         __statfs_link_max.
72905         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72906         __statfs_link_max.
72908         [BZ #12868]
72909         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72911         Handle Lustre.
72912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72913         (__statfs_filesize_max): Likewise.
72914         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72916 2011-07-05  Andreas Jaeger  <aj@suse.de>
72918         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72920 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72922         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72923         `status' variable.
72924         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72925         Likewise.
72927 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72929         * Makefile (strop-tests): Add strncat.
72930         * string/test-strncat.c: New file.
72932 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72934         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72936 2011-06-21  Andreas Jaeger  <aj@suse.de>
72938         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72939         Copy rule from iconvdata/Makefile.
72941 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72943         [BZ #12922]
72944         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72945         but no long options are defined, just return 'W'.
72947 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72949         [BZ #9696]
72950         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72954         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72955         netgroups to read.
72956         (innetgr): Likewise.
72958 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72960         * config.make.in (install_root): Default to $(DESTDIR).
72962 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72966 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72968         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72970         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72971         containing directory rather than embedding absolute directory names.
72973         * scripts/check-local-headers.sh: Rewritten using awk.
72974         Match by word, not by line.  Print error messages for matches.
72975         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72977         * Makerules [shlib-lds-flags empty]:
72978         ($(common-objpfx)libc_pic.opts): New target.
72979         ($(common-objpfx)libc_pic.os.clean): New target.
72980         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72982         * config.make.in (OBJCOPY): New variable.
72983         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72984         * configure: Regenerated.
72986         * config.make.in (use-default-link): New variable.
72987         * configure.in (use_default_link): Grok --with-default-link to set it.
72988         * configure: Regenerated.
72989         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72990         (shlib-lds, shlib-lds-flags): Define to empty.
72992         * Makerules (shlib-lds): New variable.
72993         (shlib-lds-flags): New variable.
72994         (build-shlib, build-moduile, build-module-asneeded): Use it.
72995         ($(common-objpfx)libc.so): Use $(shlib-lds).
72996         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72997         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72999         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73000         DT_FLAGS/DT_FLAGS_1 with zero flags.
73002         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73003         linker script munging.
73005 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73007         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73008         as 128-bit value.
73009         * crypt/sha512.c (sha512_process_block): Perform total addition using
73010         128-bit if possible.
73011         (__sha512_finish_ctx): Likewise.
73012         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73013         as 64-bit value.
73014         * crypt/sha256.c (SWAP64): Define.
73015         (sha256_process_block): Perform total addition using 64-bit if
73016         possible.
73017         (__sha256_finish_ctx): Likewise.
73019 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73021         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73022         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73023         * nscd/hstcache.c (cache_addhst): Likewise.
73024         * nscd/grpcache.c (cache_addgr): Likewise.
73025         * nscd/aicache.c (addhstaiX): Likewise.
73026         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73028 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73030         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73031         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73032         * nscd/hstcache.c (cache_addhst): Likewise.
73033         * nscd/grpcache.c (cache_addgr): Likewise.
73034         * nscd/aicache.c (addhstaiX): Likewise.
73036 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73038         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73039         domain only when needed.
73041 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73044         is always restored.
73046 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73048         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73049         are re-adding the entry.
73050         * nscd/servicescache.c (cache_addserv): Likewise.
73052 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73054         * sysdeps/generic/dl-irel.h: fix protection against multiple
73055         inclusions.
73056         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73058 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73060         [BZ #12935]
73061         * malloc/memusage.sh: Fix quoting in message.
73062         * debug/xtrace.sh: Likewise.
73064         * configure.in: Remove support for --experimental-malloc option, make
73065         it the default.
73066         * config.make.in: Likewise.
73067         * malloc/Makefile: Likewise.
73069 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73071         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73072         two-byte characters.
73074 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73076         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73077         AC_CACHE_CHECK invocation.
73078         * configure: Regenerated.
73080         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73082 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73084         [BZ #12350]
73085         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73086         bit from old_res_options.
73088         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73090         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73091         value type for setfct.
73093 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73096         __gettimeofday instead of gettimeofday.
73098 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73100         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73102 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73104         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73107         info.
73109 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73112         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73113         strcpy-sse2-unaligned strncpy-sse2-unaligned
73114         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73115         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73116         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73117         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73118         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73119         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73120         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73121         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73122         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73123         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73124         (STRCPY): Support SSE2 and SSSE3 versions.
73126 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73128         [BZ #12874]
73129         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73130         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73131         kernels which artificially limit size of requests.
73133 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73136         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73137         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73138         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73139         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73140         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73141         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73142         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73145         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73146         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73147         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73148         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73149         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73151         Enable unaligned load optimization for Intel Core i3, i5 and i7
73152         processors.
73153         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73154         Define.
73155         (index_Fast_Unaligned_Load): Define.
73156         (HAS_FAST_UNALIGNED_LOAD): Define.
73158 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73160         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73162 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73164         [BZ #12907]
73165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73166         until it is clear that the information is realy needed.
73167         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73169 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73176         /sys/devices/system/cpu/online if it is usable.
73178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73179         reading the information from the /proc filesystem to once a second.
73181 2011-06-21  Andreas Jaeger  <aj@suse.de>
73183         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73184         NULL after inclusion of kernel headers.
73186 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73188         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73189         calls to internal_setent.
73191         [BZ #12885]
73192         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73193         addresses using gethostbyname4_r ignore IPv4 addresses.
73195         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73196         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73198         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73200 2011-06-20  David S. Miller  <davem@davemloft.net>
73202         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73203         inclusions.
73204         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73206         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73207         (elf_irel): Use it.
73208         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73209         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73210         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73211         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73212         * sysdeps/x86_64/dl-irel.h: Likewise.
73214         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73215         * elf/dl-sym.c: Likewise.
73217 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73219         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73220         need to dereference resplen2.
73222 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73224         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73226 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73228         * Makeconfig: Define vardbdir and inst_vardbdir.
73229         * nss/Makefile: Add rules to install db-Makefile.
73231         * nss/nss_db/db-XXX.c: Cleanup.
73233         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73234         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73235         GLIBC_PRIVATE.
73236         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73237         * nss/makedb.c: Implement -g option to specify that value strings
73238         are generated and should not be added to table iterated over for
73239         get*ent calls.
73240         * nss/nss_db/db-initgroups.c: New file.
73242         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73243         interface.
73245         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73246         (internal_getgrouplist): Adjust to name change.
73247         Update use_initgroups_entry if this is not the first call.
73248         * nss/databases.def: Add initgroups entry.
73250         * nss/makedb.c (compute_tables): Check result of multiple hash table
73251         sizes to minimize maximum chain length.
73253 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73255         * Versions.def: Add entry for libnss_db.
73256         * shlib-versions: Likewise.
73257         * nss/Makefile: Add rules to build libnss_db.
73258         * nss/Versions: Add libnss_db information.  Organize libnss_files
73259         entries better.
73260         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73261         makedb progra.  Some minor improvements to generate smaller files.
73262         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73263         here from...
73264         * nss/makedb.c: ...here.
73265         Improve database format to be smaller and require less memory at
73266         runtime.
73267         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73268         db anymore.
73269         * nss/nss_db/db-netgrp.c: Likewise.
73270         * nss/nss_db/db-open.c: Likewise.
73271         * nss/nss_files/flies-XXX.x: Adjust comments.
73272         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73273         * nss/nss_files/files-grp.c: Likewise.
73274         * nss/nss_files/files-hosts.c: Likewise.
73275         * nss/nss_files/files-network.c: Likewise.
73276         * nss/nss_files/files-proto.c: Likewise.
73277         * nss/nss_files/files-pwd.c: Likewise.
73278         * nss/nss_files/files-rpc.c: Likewise.
73279         * nss/nss_files/files-service.c: Likewise.
73280         * nss/nss_files/files-sgrp.c: Likewise.
73281         * nss/nss_files/files-spwd.c: Likewise.
73282         * nss/nss_db/db-alias.c: Removed.
73283         * nss/nss_db/dummy-db.h: Removed.
73285 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73287         * nss/makedb.c: Rewritten to not use database library.
73288         * nss/Makefile: Update to build new makedb program.
73290 2011-06-14  Andreas Jaeger  <aj@suse.de>
73292         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73293         memset declaration.
73295 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73298         tmpbuf.
73300 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73302         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73303         * elf/Makefile ($(objpfx)ld.so): Likewise.
73305         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73306         Don't list ld.so twice in dependencies.
73308         * posix/bug-regex31.c: Include <stdlib.h>.
73310         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73312         * nis/nss_compat/compat-spwd.c
73313         (getspent_next_nss_netgr): Remove unused variable.
73314         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73316         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73317         nonmembers" output to use the right array.
73319         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73321         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73323         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73324         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73325         * catgets/gencat.c (read_input_file): Likewise.
73326         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73328         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73329         variable definition inside #if's controlling its use.
73331         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73333         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73335         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73337         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73338         unreachable code.
73340         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73342         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73343         * configure: Regenerated.
73345         * Makerules: Revert last change.
73346         * elf/Makefile: Likewise.
73348 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73350         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73351         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73352         (reloc-link): Likewise.
73354 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73356         * elf/Makefile: Add rules to build pldd.
73357         * elf/pldd.c: New file.
73358         * elf/pldd-xx.c: New file.
73360 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73362         * version.h: Update for 2.15 development version.
73364 2011-06-07  David S. Miller  <davem@davemloft.net>
73366         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73367         ifuncs.
73368         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73369         elf_machine_lazy_rel): Likewise.
73370         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73372         elf_machine_lazy_rel): Likewise.
73373         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73374         dl_hwcap via passed in argument.
73375         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73376         Likewise.
73378 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73380         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73382 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73384         [BZ #12849]
73385         * manual/fdl-1.1.texi: New file, verbatim from:
73386         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73387         * manual/lgpl-2.1.texi: New file, verbatim from:
73388         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73389         * manual/Makefile (licenses): New variable, list those new file names.
73390         (texis): Use it.
73391         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73393         * manual/fdl.texi: File removed.
73394         * manual/lesser.texi: File removed.
73395         * manual/libc.texinfo (Copying, Documentation License):
73396         Use new @include file names, put @appendix directive before @include.
73398 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73400         [BZ #12841]
73401         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73402         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73403         (mq_open): Add __NTH.
73405 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73408         Assume Intel Core i3/i5/i7 processor if AVX is available.
73410 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73413         typo.
73415 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73417         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73418         memory.  Use alloca_account.  Fix memory leak when retrying.
73420 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73422         * version.h (RELEASE): Bump for 2.14 release.
73423         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73425         * config.make.in (RANLIB): Remove entry.
73427 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73429         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73430         (libc.pot): Work around missing support for .ksh extension in xgettext.
73432         [BZ #12684]
73433         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73434         if both request failed.
73435         (send_dg): In case of server errors clear resplen or *resplen2.
73437         [BZ #12454]
73438         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73439         when there are multiple maps.
73440         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73441         (_dl_fini): Remove test here.
73443         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73445 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73447         [BZ #12350]
73448         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73449         bit from old_res_options.
73450         (gaih_inet): Likewise.
73452         [BZ #11099]
73453         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73454         as signed.
73456         * resolv/res_init.c (res_setoptions): Make the code more compact.
73458         [BZ #11558]
73459         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73460         set RES_USEVC.
73462         [BZ #11634]
73463         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73465         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73467         [BZ #11781]
73468         * malloc/malloc.h: Declare malloc hook variables as volatile.
73470         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73471         in last patch.
73473         [BZ #11799]
73474         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73475         raise in the comment.
73476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73478         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73480 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73482         [BZ #12811]
73483         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73484         grow the buffers more if it already has to be sufficient.
73485         (build_wcs_upper_buffer): Likewise.
73486         * posix/regexec.c (check_matching): Likewise.
73487         (clean_state_log_if_needed): Likewise.
73488         (extend_buffers): Don't enlarge buffers beyond size of the input
73489         buffer.
73490         Patches mostly by Emil Wojak <emil@wojak.eu>.
73491         * posix/bug-regex32.c: New file.
73492         * posix/Makefile (tests): Add bug-regex32.
73494         * locale/findlocale.c (_nl_find_locale): Return right away if
73495         _nl_explode_name failed.
73496         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73498         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73500         * debug/xtrace.sh: Unify messages.
73501         * malloc/memusage.sh: Likewise.
73503         [BZ #12813]
73504         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73505         time symbol from vDSO.  Substitute with vsyscall if not available.
73506         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73507         __vdso_time.
73509         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73510         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73511         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73512         Add sendmmsg and internal_sendmmsg.
73513         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73517         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73518         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73519         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73521 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73523         [BZ #12813]
73524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73525         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73526         available.
73527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73528         __vdso_getcpu.
73530         [BZ #12814]
73531         * iconvdata/Makefile (tests): Add bug-iconv9.
73532         * iconvdata/bug-iconv9.c: New file.
73534 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73536         [BZ #12814]
73537         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73539 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73541         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73542         (struct user_regs_struct): Change intcs field back to cs.
73544 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73546         * po/ja.po: Update from translation team.
73548 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73550         [BZ #12795]
73551         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73552         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73554 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73556         * stdlib/longlong.h: Update from GCC.
73558 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73560         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73561         parameter name.
73562         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73563         Add parameter name.
73564         (__sysconf): Pass it down.
73566 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73568         [BZ #12671]
73569         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73570         some situations.
73571         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73572         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73573         add in in __libc_use_alloca calls.  Adjust callers.
73574         (glob): Use malloc in some situations.
73576         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73577         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73578         pltexit.
73580 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73582         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73583         and CLOCK_BOOTTIME_ALARM.
73585         [BZ #12782]
73586         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73587         is returned.
73589         * string/_strerror.c (__strerror_r): Print negative errors as signed
73590         numbers.
73592         [BZ #12777]
73593         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73594         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73595         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73597         * configure.in: Fix typo in redirection and correct removal of test
73598         files in two cases.
73600         [BZ #12788]
73601         * locale/setlocale.c (new_composite_name): Fix test to check for
73602         identical name of all categories.
73604         [BZ #12792]
73605         * libio/filedoalloc.c (local_isatty): New function.
73606         (_IO_file_doallocate): Use local_isatty.
73607         * stdio-common/perror.c (perror): In case a new stream is used
73608         forward the stream error.
73609         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73610         error flag.
73612 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73614         [BZ #11884]
73615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73616         alloca.
73617         * include/alloca.h (extend_alloca_account): Define.
73619         [BZ #11857]
73620         * posix/regex.h: Fix comments with documentation of user-accessible
73621         fields after compilation and describe correct free'ing of pattern
73622         after re_compile_pattern.
73623         Patch by Reuben Thomas <rrt@sc3d.org>.
73625 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73627         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73628         and -mno-altivec to prevent the compiler from using Altivec and/or
73629         VSX instructions when the corresponding registers are not available.
73631 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73633         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73635 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73637         * libio/freopen.c (freopen): Use __dup2, not dup2.
73638         * libio/freopen64.c (freopen64): Likewise.
73640 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73642         [BZ #12775]
73643         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73644         * math/Makefile (tests): Add test-powl.
73645         (CFLAGS-test-powl.c): Define.
73646         * math/test-powl.c: New file.
73648 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73650         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73652 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73654         [BZ #11837]
73655         * iconvdata/gb18030.c: Update to GB18020-2005.
73657 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73659         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73660         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73661         Patch by Aharon Robbins <arnold@skeeve.com>.
73663         [BZ #11892]
73664         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73665         on the stack.
73667         [BZ #11895]
73668         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73669         through underflows.
73671         [BZ #12766]
73672         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73673         point to strings before performing equality test for error_one_per_line
73674         mode.
73676         [BZ #11697]
73677         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73679         [BZ #11820]
73680         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73681         (struct user_fpregs_struct): Avoid __uint*_t types.
73683         [BZ #6420]
73684         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73685         symbol info.  Use it instead of calling _dl_addr locally.
73686         (lock_and_info): New function.
73687         (tr_freehook): Call lock_and_info and pass symbol info as additional
73688         parameter to tr_where.
73689         (tr_mallochook): Likewise.
73690         (tr_reallochook): Likewise.
73691         (tr_memalignhook): Likewise.
73693         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73694         used and couldn't be at all thread-safe.
73696 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73698         * libio/freopen.c (freopen): Don't close old file descriptor
73699         before the new one is opened.  Instead dup the new file descriptor
73700         to the old one after the new stream is created.
73701         * libio/freopen64.c (freopen64): Likewise.
73702         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73703         * libio/fileops.c (_IO_new_file_close_it): Handle new
73704         _IO_FLAGS2_NOCLOSE flag.
73705         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73706         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73707         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73708         _IO_FLAGS2_NOCLOSE flag.
73709         * include/unistd.h: Add hidden_proto for dup3.
73710         Define __have_dup3.
73711         * io/dup3.c: Define hidden symbol.
73712         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73714         [BZ #7101]
73715         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73716         when an incomplete long option is used.
73717         * posix/tst-getopt_long1.c: New file.
73718         * posix/Makefile (tests): Add tst-getopt_long1.
73720         [BZ #10138]
73721         * scripts/config.guess: Update from autoconf-2.68.
73722         * scripts/config.sub: Likewise.
73724         [BZ #10157]
73725         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73726         tests into ...
73727         (has_cpuclock): ...this.  New function.
73728         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73729         macro here based on has_cpuclock code.
73731         [BZ #10149]
73732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73733         First byte (not low byte) is now always NUL.
73734         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73737         Use non-cancelable interfaces.
73739         [BZ #9809]
73740         * locale/iso-639.def: Add entry for Sorani.
73742         [BZ #11901]
73743         * include/stdlib.h: Move include protection to the right place.
73744         Define abort_msg_s.  Declare __abort_msg with it.
73745         * stdlib/abort.c (__abort_msg): Adjust type.
73746         * assert/assert.c (__assert_fail_base): New function.  Majority
73747         of code from __assert_fail.  Allocate memory for __abort_msg with
73748         mmap.
73749         (__assert_fail): Now call __assert_fail_base.
73750         * assert/assert-perr.c: Remove bulk of implementation.  Use
73751         __assert_fail_base.
73752         * include/assert.hL Declare __assert_fail_base.
73753         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73754         mmap.
73755         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73757 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73759         [BZ #11952]
73760         [BZ #12453]
73761         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73762         until all modules are registered in the DTV.
73763         * elf/Makefile: Add rules to build and run tst-tls19.
73764         * elf/tst-tls19.c: New file.
73765         * elf/tst-tls19mod1.c: New file.
73766         * elf/tst-tls19mod2.c: New file.
73767         * elf/tst-tls19mod3.c: New file.
73768         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73770         [BZ #12083]
73771         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73772         correctly.
73774         [BZ #12601]
73775         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73776         two-byte sequence errors.
73777         * iconvdata/Makefile (tests): Add bug-iconv8.
73778         * iconvdata/bug-iconv8.c: New file.
73780         [BZ #12626]
73781         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73782         buf2 definition.
73784         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73786         [BZ #12432]
73787         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73788         (dummy_getcfa): New function.
73789         (init): Get _Unwind_GetCFA address, use dummy if not found.
73790         (backtrace_helper): In recursion check, also check whether CFA changes.
73791         (__backtrace): Completely initialize arg.
73793         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73794         storing incomplete byte sequence in state object.  Avoid testing for
73795         guaranteed too small input if we know there is enough data available.
73797 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73799         * Makeconfig (+link-pie): Indent.
73800         * Rules (binaries-pie): Define if $(have-fpie) and
73801         $(build-shared).
73802         (binaries-shared): Also filter out $(binaries-pie).
73803         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73804         * nscd/Makefile (others-pie): Add nscd.
73805         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73806         ($(objpfx)nscd): Remove command override.
73807         * login/Makefile (others-pie): Add pt_chown.
73808         ($(objpfx)pt_chown): Remove command override.
73809         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73810         remove command overrides.
73812 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73814         * libio/tst_putwc.c: Fix error messages.
73816         [BZ #12724]
73817         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73818         currently writing and seek to current position when not.
73819         * libio/Makefile (tests): Add bug-fclose1.
73820         * libio/bug-fclose1.c: New file.
73822 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73824         [BZ #12511]
73825         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73826         don't set DF_1_NODELETE here.
73827         (do_lookup_x): When entering new entry test for copy relocation
73828         and if necessary set DF_1_NODELETE flag.
73829         * elf/tst-unique4.cc: New file.
73830         * elf/tst-unique4.h: New file.
73831         * elf/tst-unique4lib.cc: New file.
73832         * elf/Makefile: Add rules to build and run tst-unique4.
73833         Patch by Piotr Bury <pbury@goahead.com>.
73835 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73837         [BZ #12052]
73838         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73840         [BZ #12625]
73841         * misc/mntent_r.c (addmntent): Flush the stream after the output
73843         [BZ #12393]
73844         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73845         (is_trusted_path_normalize): Skip initial colon.  Append slash
73846         to empty buffer.  Duplicate is_trusted_path code but allow
73847         constructed patch to be prefix.
73848         (is_dst): Allow $ORIGIN followed by /.
73849         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73850         Correct testing of result of is_trusted_path_normalize
73851         (decompose_rpath): Fix warning.
73853 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73855         [BZ #11257]
73856         * grp/initgroups.c (internal_getgrouplist): When we found the service
73857         list through the initgroups entry in nsswitch.conf do not always
73858         continue on a successful lookup.  Don't always use the
73859         __nss_group_database value if it is set.
73860         * nss/nsswitch.conf (initgroups): Change action for successful db
73861         lookup to continue for compatibility.
73863 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73865         [BZ #11532]
73866         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73867         and CP774 modules.
73868         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73869         and CP774 modules.
73870         * iconvdata/tst-tables.sh: Likewise.
73871         * iconvdata/cp770.c: New file.
73872         * iconvdata/cp771.c: New file.
73873         * iconvdata/cp772.c: New file.
73874         * iconvdata/cp773.c: New file.
73875         * iconvdata/cp774.c: New file.
73876         * iconvdata/testdata/CP770: New file.
73877         * iconvdata/testdata/CP770..UTF8: New file.
73878         * iconvdata/testdata/CP771: New file.
73879         * iconvdata/testdata/CP771..UTF8: New file.
73880         * iconvdata/testdata/CP772: New file.
73881         * iconvdata/testdata/CP772..UTF8: New file.
73882         * iconvdata/testdata/CP773: New file.
73883         * iconvdata/testdata/CP773..UTF8: New file.
73884         * iconvdata/testdata/CP774: New file.
73885         * iconvdata/testdata/CP774..UTF8: New file.
73887         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73888         END CHARMAP line.
73889         * iconvdata/gen-8bit-gap.sh: Likewise.
73890         * iconvdata/gen-8bit.sh: Likewise.
73892         * locale/iso-639.def: Add ary entry.
73894         [BZ #11258]
73895         * locale/C-translit.h.in: Add U20A1 transliteration.
73897         [BZ #12178]
73898         * locale/iso-639.def: Add wae entry.
73899         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73901         [BZ #12545]
73902         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73903         for n.
73905         [BZ #12711]
73906         * locale/C-translit.h.in: Add entry for U20B9.
73907         Patch by pravin.d.s@gmail.com.
73909 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73911         [BZ #12713]
73912         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73913         ENAMETOOLONG use generic getcwd.
73914         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73915         in rtld.  Use *stat64.
73916         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73917         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73918         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73919         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73920         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73921         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73922         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73923         __fstatat64 macros.
73924         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73925         * dirent/rewinddir.c: Add libc_hidden_def.
73926         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73927         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73929         * include/dirent.h (__alloc_dir): Add flags parameter.
73930         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73931         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73932         __alloc_dir.
73933         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73934         from fdopendir if O_CLOEXEC is already set.
73936 2011-03-15  Alan Modra  <amodra@gmail.com>
73938         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73939         l_tls_firstbyte_offset non-zero.  Save padding offset in
73940         l_tls_firstbyte_offset for later use.
73941         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73942         freeing static tls block.
73944 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73946         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73947         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73948         being defined by the kernel headers.
73950 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73952         [BZ #12734]
73953         * resolv/resolv.h: Define RES_NOTLDQUERY.
73954         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73955         no-tld-query and set RES_NOTLDQUERY.
73956         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73957         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73958         modern BIND to search name as TLD unless forbidden.
73960 2011-05-07  Petr Baudis  <pasky@suse.cz>
73961             Ulrich Drepper  <drepper@gmail.com>
73963         [BZ #12393]
73964         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73965         (is_trusted_path): ...to here.
73966         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73967         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73968         using is_trusted_path_normalize() in setuid scripts.
73970 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73973         __BEGIN/__END_DECLS.
73975 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73977         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73978         NSS_STATUS_NOTFOUND if no record was found.
73980 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73982         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73983         (headers-not-in-tirpc): Remove rpc/netdb.h
73984         * resolv/netdb.h: Revert last change.
73986 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73988         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73989         circular dependency between libgcc.a and libc.a.
73991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73993         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73994         * nis/Makefile: Don't install rpcsvc/*.
73995         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73996         instead of <rpc/types.h>.
73997         (MAXHOSTNAMELEN): Define.
73999 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74001         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74003 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74005         [BZ #12714]
74006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74007         gethostbyname4_r when IPv6 results are possible.
74009 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74011         [BZ #12723]
74012         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74013         _PC_PIPE_BUF handling.
74015 2011-04-30  Bruno Haible  <bruno@clisp.org>
74017         [BZ #12717]
74018         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74019         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74020         to 'int'.
74021         * inet/getnameinfo.c (getnameinfo): Likewise.
74023 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74025         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74026         to groups setting in database lookup.
74027         * nss/nsswitch.conf: Add initgroups entry.
74029 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74031         [BZ #12685]
74032         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74033         mode string.
74034         Patch by Eric Blake <eblake@redhat.com>.
74036 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74038         * sunrpc/Makefile (need-export-routines): Add svc_run.
74039         (routines): Remove svc_run.
74040         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74041         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74042         * sunrpc/svc_run.c (svc_run): Likewise.
74043         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74045 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74048         problem in reallocation in last patch.
74050 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74052         * sunrpc/Makefile: Move inclusion of Rules.
74054 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74056         * nss/nss_files/files-initgroups.c: New file.
74057         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74058         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74059         _nss_files_initgroups_dyn.
74061 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74063         * elf/elf.h (R_ARM_IRELATIVE): Define.
74065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74067         * po/ru.po: Update from translation team.
74069 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74071         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74072         dependencies.
74074 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74076         [BZ #12653]
74077         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74078         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74079         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74080         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74083 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74085         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74086         differing bytes.
74087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74089         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74091 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74093         [BZ #12420]
74094         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74095         storing it.
74096         * stdlib/bug-getcontext.c: New file.
74097         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74099 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74101         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74102         instructions into .machine "z9-109".
74103         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74104         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74106 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74108         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74109         between environment variables and auxiliary vector.
74111 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74113         * Makefile: Add rules to build linkobj/libc.so.
74114         * include/libc-symbols.h: Define libc_hidden_nolink.
74115         * include/rpc/auth.h: Mark functions which are to be hidden.
74116         * include/rpc/auth_des.h: Likewise.
74117         * include/rpc/auth_unix.h: Likewise.
74118         * include/rpc/clnt.h: Likewise.
74119         * include/rpc/des_crypt.h: Likewise.
74120         * include/rpc/key_prot.h: Likewise.
74121         * include/rpc/pmap_clnt.h: Likewise.
74122         * include/rpc/pmap_prot.h: Likewise.
74123         * include/rpc/pmap_rmt.h: Likewise.
74124         * include/rpc/rpc_msg.h: Likewise.
74125         * include/rpc/svc.h: Likewise.
74126         * include/rpc/svc_auth.h: Likewise.
74127         * include/rpc/xdr.h: Likewise.
74128         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74129         * nss/Makefile: Likewise.
74130         * sunrpc/Makefile: Don't install headers.  Build library with normal
74131         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74132         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74133         for the compat linking library.  Remove use of INTDEF/INTUSE.
74134         * sunrpc/auth_none.c: Likewise.
74135         * sunrpc/auth_unix.c: Likewise.
74136         * sunrpc/authdes_prot.c: Likewise.
74137         * sunrpc/authuxprot.c: Likewise.
74138         * sunrpc/clnt_gen.c: Likewise.
74139         * sunrpc/clnt_perr.c: Likewise.
74140         * sunrpc/clnt_raw.c: Likewise.
74141         * sunrpc/clnt_simp.c: Likewise.
74142         * sunrpc/clnt_tcp.c: Likewise.
74143         * sunrpc/clnt_udp.c: Likewise.
74144         * sunrpc/clnt_unix.c: Likewise.
74145         * sunrpc/des_crypt.c: Likewise.
74146         * sunrpc/des_soft.c: Likewise.
74147         * sunrpc/get_myaddr.c: Likewise.
74148         * sunrpc/key_call.c: Likewise.
74149         * sunrpc/key_prot.c: Likewise.
74150         * sunrpc/netname.c: Likewise.
74151         * sunrpc/pm_getmaps.c: Likewise.
74152         * sunrpc/pm_getport.c: Likewise.
74153         * sunrpc/pmap_clnt.c: Likewise.
74154         * sunrpc/pmap_prot.c: Likewise.
74155         * sunrpc/pmap_prot2.c: Likewise.
74156         * sunrpc/pmap_rmt.c: Likewise.
74157         * sunrpc/publickey.c: Likewise.
74158         * sunrpc/rpc_cmsg.c: Likewise.
74159         * sunrpc/rpc_common.c: Likewise.
74160         * sunrpc/rpc_dtable.c: Likewise.
74161         * sunrpc/rpc_prot.c: Likewise.
74162         * sunrpc/rpc_thread.c: Likewise.
74163         * sunrpc/rtime.c: Likewise.
74164         * sunrpc/svc.c: Likewise.
74165         * sunrpc/svc_auth.c: Likewise.
74166         * sunrpc/svc_authux.c: Likewise.
74167         * sunrpc/svc_raw.c: Likewise.
74168         * sunrpc/svc_run.c: Likewise.
74169         * sunrpc/svc_simple.c: Likewise.
74170         * sunrpc/svc_tcp.c: Likewise.
74171         * sunrpc/svc_udp.c: Likewise.
74172         * sunrpc/svc_unix.c: Likewise.
74173         * sunrpc/svcauth_des.c: Likewise.
74174         * sunrpc/xcrypt.c: Likewise.
74175         * sunrpc/xdr.c: Likewise.
74176         * sunrpc/xdr_array.c: Likewise.
74177         * sunrpc/xdr_float.c: Likewise.
74178         * sunrpc/xdr_intXX_t.c: Likewise.
74179         * sunrpc/xdr_mem.c: Likewise.
74180         * sunrpc/xdr_rec.c: Likewise.
74181         * sunrpc/xdr_ref.c: Likewise.
74182         * sunrpc/xdr_sizeof.c: Likewise.
74183         * sunrpc/xdr_stdio.c: Likewise.
74185 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74187         [BZ #12650]
74188         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74189         * sysdeps/ia64/dl-tls.h: Likewise.
74190         * sysdeps/powerpc/dl-tls.h: Likewise.
74191         * sysdeps/s390/dl-tls.h: Likewise.
74192         * sysdeps/sh/dl-tls.h: Likewise.
74193         * sysdeps/sparc/dl-tls.h: Likewise.
74194         * sysdeps/x86_64/dl-tls.h: Likewise.
74195         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74197 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74199         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74200         rpath element also skip the following colon.
74201         (expand_dynamic_string_token): Add is_path parameter and pass
74202         down to DL_DST_REQUIRED and _dl_dst_substitute.
74203         (decompose_rpath): Call expand_dynamic_string_token with
74204         non-zero is_path.  Ignore empty rpaths.
74205         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74206         with zero is_path.
74208 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74211         Make cancelable.
74213 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74215         [BZ #12655]
74216         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74217         Patch by Filipe David Manana <fdmanana@apache.org>.
74219 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74222         Maintain aligned stack.
74223         (CHECK_RSP): Remove unused macro.
74225 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74227         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74228         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74230 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74232         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74234         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74236 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74238         [BZ #12518]
74239         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74240         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74241         * sysdeps/x86_64/memmove.c: New file.
74242         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74243         (memcpy): Renamed to ...
74244         (__new_memcpy): This.
74245         (memcpy): Provide GLIBC_2_14 memcpy.
74246         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74247         (memcpy): Provide GLIBC_2_2_5 memcpy.
74249 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74251         [BZ #12631]
74252         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74254 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74256         * misc/syncfs.c: New file.
74257         * misc/Makefile (routines): Add syncfs.
74258         * posix/unistd.h: Declare syncfs.
74259         * sysdeps/unix/syscalls.list: Add syncfs.
74261 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74263         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74264         open_by_handle_at.
74265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74266         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74270         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74271         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74277         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74283         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74284         sync_file_range.c with -fexceptions.
74285         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74286         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74287         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74288         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74289         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74290         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74292         sync_file_range as cancellation point
74293         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74294         now a wrapper around __call_sync_file_range with cancellation handling.
74295         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74296         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74297         function name to __call_sync_file_range.
74298         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74299         Add call_sync_file_range.
74301 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74304         bits/timex.h.
74306 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74308         * iconv/iconv.h: Fix typo in comment.
74309         * io/fcntl.h: Likewise.
74310         * libio/stdio.h: Likewise.
74311         * posix/spawn.h: Likewise.
74312         * posix/unistd.h: Likewise.
74313         * stdlib/stdlib.h: Likewise.
74314         * time/time.h: Likewise.
74315         * wcsmbs/wchar.h: Likewise.
74317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74318         open_by_handle): Add.
74319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74320         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74321         Augment a few comments.
74322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74327         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74328         open_by_handle.
74330         * io/fcntl.h (AT_EMPTY_PATH): Define.
74332 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74334         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74335         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74336         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74337         to...
74338         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74339         * Versions.def: Add GLIBC_2.14.
74340         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74341         Export.
74343 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74345         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74346         round counter.
74347         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74349 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74351         [BZ #12597]
74352         * string/test-strncmp.c (do_page_test): New function.
74353         (check2): Likewise.
74354         (test_main): Call check2.
74355         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74357 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74359         [BZ #12587]
74360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74361         Handle cache information in CPU leaf 4.
74362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74364 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74366         [BZ #12583]
74367         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74368         character representation.
74369         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74371 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74373         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74374         END(__isnan) to END(__isnanf) to match function entry point/label
74375         EALIGN(__isnanf,...).
74377 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74379         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74381 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74383         [BZ #12510]
74384         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74385         copy from the symbol referenced in the relocation to initialize the
74386         used variable.
74387         Patch by Piotr Bury <pbury@goahead.com>.
74388         * elf/Makefile: Add rules to build and tst-unique3.
74389         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74390         * elf/tst-unique3.cc: New file.
74391         * elf/tst-unique3.h: New file.
74392         * elf/tst-unique3lib.cc: New file.
74393         * elf/tst-unique3lib2.cc: New file.
74395         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74397 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74399         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74400         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74401         to _start.
74403 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74405         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74406         to-be-loaded object along a path to loader is ld.so.
74408 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74409             Ulrich Drepper  <drepper@gmail.com>
74411         * sysdeps/x86_64/memset.S: After aligning destination, code
74412         branches to different locations depending on the value of
74413         misalignment, when multiarch is enabled. Fix this.
74415 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74417         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74418         Set _x86_64_preferred_memory_instruction for AMD processsors.
74419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74420         Set bit_Prefer_SSE_for_memop for AMD processors.
74422 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74424         * libio/fmemopen.c (fmemopen): Optimize a bit.
74426 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74428         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74430 2011-03-03  Roland McGrath  <roland@redhat.com>
74432         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74434 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74436         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74437         __bzero_ultra1 instead of __memset_ultra1.
74439 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74440             Ulrich Drepper  <drepper@gmail.com>
74442         [BZ #12509]
74443         * include/link.h (struct link_map): Add l_orig_initfini.
74444         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74445         returning unsuccessfully.
74446         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74447         close of a file loaded at startup, restore the original l_initfini
74448         list.
74449         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74450         list, store the pointer.
74451         * elf/Makefile ($(objpfx)noload-mem): New rule.
74452         (noload-ENV): Define.
74453         (tests): Add $(objpfx)noload-mem.
74454         * elf/noload.c: Include <memcheck.h>.
74455         (main): Call mtrace.  Close all opened handles.
74457 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74459         [BZ #12454]
74460         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74461         dependencies are missing.
74463 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74465         Fix __if_freereq crash: Unlike the generic version which uses free,
74466         Hurd needs munmap.
74467         * sysdeps/mach/hurd/ifreq.h: New file.
74469 2011-01-27  Petr Baudis  <pasky@suse.cz>
74470             Ulrich Drepper  <drepper@gmail.com>
74472         [BZ 12445]#
74473         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74474         to extend_alloca().
74475         * stdio-common/bug23.c: New file.
74476         * stdio-common/Makefile (tests): Add bug23.
74478 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74479             Ulrich Drepper  <drepper@gmail.com>
74481         [BZ #12489]
74482         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74483         before performing relro protection.  At old place add assertion
74484         to make sure nothing changed.
74486 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74487             Glauber de Oliveira Costa  <glommer@gmail.com>
74489         * elf/elf.h: Add new ARM TLS relocs.
74491 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74494         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74495         cast from r3.
74496         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74497         'tests' variable.
74498         * sysdeps/wordsize-64/tst-writev.c: New file.
74500 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74502         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74503         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74504         insns in _dl_start to prevent a TOC reference before relocs are
74505         resolved.
74507 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74509         [BZ #12469]
74510         * Makeconfig: Remove RANLIB definition.
74511         * Makerules: Don't use RANLIB.
74512         * aclocal.m4: Remove ranlib test.
74513         * configure.in: No need to check for ranlib.
74514         * elf/rtld-Rules: Don't use RANLIB.
74516 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74518         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74519         protection macro.
74520         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74521         inclusion protection macro.
74523         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74524         SIGRTMIN and SIGRTMAX and print information in that case only when
74525         SIGRTMIN is defined.
74527 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74529         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74530         arginfo fn returning -1.
74532         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74533         and thousands string is zero terminated.
74535 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74538         sysdeps/unix/sysv/linux/bits/socket.h.
74540 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74542         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74543         (__CPU_COUNT): Remove old macros.
74544         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74545         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74546         (__CPU_ALLOC, __CPU_FREE): Add macros.
74547         (__sched_cpualloc, __sched_cpufree): Add declarations.
74549 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74551         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74552         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74553         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74554         (readdhstai): Return value of addhstaiX call.
74555         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74556         (addgrbyX): Return value returned by cache_addgr.
74557         (readdgrbyname): Return value returned by addgrbyX.
74558         (readdgrbygid): Likewise.
74559         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74560         (addpwbyX): Return value returned by cache_addpw.
74561         (readdpwbyname): Return value returned by addhstbyX.
74562         (readdpwbyuid): Likewise.
74563         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74564         (addservbyX): Return value returned by cache_addserv.
74565         (readdservbyname): Return value returned by addservbyX:
74566         (readdservbyport): Likewise.
74567         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74568         (addhstbyX): Return value returned by cache_addhst.
74569         (readdhstbyname): Return value returned by addhstbyX.
74570         (readdhstbyaddr): Likewise.
74571         (readdhstbynamev6): Likewise.
74572         (readdhstbyaddrv6): Likewise.
74573         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74574         (readdinitgroups): Return value returned by addinitgroupsX.
74575         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74576         (prune_cache): Keep track of timeout value of re-added entries.
74577         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74578         * nscd/nscd.h: Adjust prototypes of readd* functions.
74580 2011-02-04  Roland McGrath  <roland@redhat.com>
74582         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74583         (nis_stats): Likewise.
74584         * nis/nis_modify.c (nis_modify): Likewise.
74585         * nis/nis_remove.c (nis_remove): Likewise.
74586         * nis/nis_add.c (nis_add): Likewise.
74588         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74590         * posix/fnmatch_loop.c: Add some consts.
74592         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74594 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74596         [BZ #12460]
74597         * config.make.in (config-cflags-novzeroupper): Define.
74598         * configure.in: Substitute libc_cv_cc_novzeroupper.
74599         * elf/Makefile (AVX-CFLAGS): Define.
74600         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74601         (CFLAGS-tst-auditmod4a.c): Likewise.
74602         (CFLAGS-tst-auditmod4b.c): Likewise.
74603         (CFLAGS-tst-auditmod6b.c): Likewise.
74604         (CFLAGS-tst-auditmod6c.c): Likewise.
74605         (CFLAGS-tst-auditmod7b.c): Likewise.
74606         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74608 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74610         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74611         function to the callback.
74612         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74614 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74616         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74617         of errno.
74619 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74621         [BZ #11724]
74622         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74623         of constructors.
74624         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74625         of destructors.
74626         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74628         [BZ #11724]
74629         * elf/Makefile: Add rules to build and run new test.
74630         * elf/tst-initorder.c: New file.
74631         * elf/tst-initorder.exp: New file.
74632         * elf/tst-initordera1.c: New file.
74633         * elf/tst-initordera2.c: New file.
74634         * elf/tst-initordera3.c: New file.
74635         * elf/tst-initordera4.c: New file.
74636         * elf/tst-initorderb1.c: New file.
74637         * elf/tst-initorderb2.c: New file.
74638         * elf/tst-order-a1.c: New file.
74639         * elf/tst-order-a2.c: New file.
74640         * elf/tst-order-a3.c: New file.
74641         * elf/tst-order-a4.c: New file.
74642         * elf/tst-order-b1.c: New file.
74643         * elf/tst-order-b2.c: New file.
74644         * elf/tst-order-main.c: New file.
74645         New test case by George Gensure <werkt0@gmail.com>.
74647 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74650         decoding ACE if AI_CANONIDN.
74652 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74654         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74656 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74658         * version.h (RELEASE): Bump for 2.13 release.
74659         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74661         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74663         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74664         MADV_NOHUGEPAGE.
74665         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74668         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74670         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74672         * posix/getconf.c: Update copyright year.
74673         * catgets/gencat.c: Likewise.
74674         * csu/version.c: Likewise.
74675         * debug/catchsegv.sh: Likewise.
74676         * debug/xtrace.sh: Likewise.
74677         * elf/ldconfig.c: Likewise.
74678         * elf/ldd.bash.in: Likewise.
74679         * elf/sprof.c (print_version): Likewise.
74680         * iconv/iconv_prog.c: Likewise.
74681         * iconv/iconvconfig.c: Likewise.
74682         * locale/programs/locale.c: Likewise.
74683         * locale/programs/localedef.c: Likewise.
74684         * malloc/memusage.sh: Likewise.
74685         * malloc/mtrace.pl: Likewise.
74686         * nscd/nscd.c (print_version): Likewise.
74687         * nss/getent.c: Likewise.
74689         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74690         PF_CAIF, and PF_ALG.
74691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74693 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74695         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74696         (modules-names): Use them.
74697         (ifunc-test-modules, ifunc-pie-tests): Define.
74698         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74699         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74700         (test-extras): Likewise.
74701         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74702         $(compile-command.c).
74703         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74704         (all-built-dso): Define.
74705         (check-textrel.out, check-execstack.out): Depend on it.
74707         * configure.in: Don't override --enable-multi-arch.
74709 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74711         [BZ #6812]
74712         * nscd/hstcache.c (tryagain): Define.
74713         (cache_addhst): Return tryagain not notfound for temporary errors.
74714         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74715         failed.
74717 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74719         [BZ #10563]
74720         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74721         to make the syscall.
74722         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74724         [BZ #12378]
74725         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74726         and fall back to matching as normal character if the string ends before
74727         the matching ']' is found.  This is what POSIX requires.
74728         * posix/testfnm.c: Adjust test result.
74729         * posix/globtest.sh: Adjust test result.  Add new test.
74730         * posix/tst-fnmatch.input: Likewise.
74731         * posix/tst-fnmatch2.c: Add new test.
74733 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74735         * elf/Makefile (check-execstack): Revert last change.  Depend on
74736         check-execstack.h.
74737         (check-execstack.h): New target.
74738         (generated): Add check-execstack.h.
74739         * elf/check-execstack.c: Include "check-execstack.h".
74740         (main): Revert last change.
74741         (handle_file): Return zero if GNU_STACK is absent and
74742         DEFAULT_STACK_PERMS doesn't include PF_X.
74744 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74746         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74747         in child fails because the descriptor is already closed.
74748         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74749         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74750         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74752         [BZ #12397]
74753         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74754         syscall.
74756         [BZ #10484]
74757         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74758         temporary buffer used to handle multi lookups locally.
74759         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74761 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74763         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74764         loader is ld.so.
74766 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74768         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74769         alignment for SSE2.
74771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74773         [BZ #12394]
74774         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74775         characters.  When rounding increased number of integer digits recompute
74776         number of groups.
74777         * stdio-common/tst-grouping.c: New file.
74778         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74780 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74782         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74783         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74785         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74786         void.
74787         * bits/select.h: Likewise.
74789 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74791         * po/ja.po: Update from translation team.
74793 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74795         [BZ #11155]
74796         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74797         implementation just like for lxstat, fxstatat, et al.
74799 2010-12-27  Jim Meyering  <meyering@redhat.com>
74801         [BZ #12348]
74802         * posix/regexec.c (build_trtable): Return failure indication upon
74803         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74805 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74807         [BZ #12201]
74808         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74809         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74811         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74813         [BZ #12207]
74814         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74816         [BZ #12204]
74817         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74818         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74820 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74822         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74823         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74824         script has SORT_BY_INIT_PRIORITY.
74825         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74826         NO_CTORS_DTORS_SECTIONS is defined.
74827         * elf/soinit.c: Likewise.
74828         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74829         NO_CTORS_DTORS_SECTIONS is defined.
74830         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74831         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74832         * sysdeps/sh/init-first.c: Likewise.
74833         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74835 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74837         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74838         always use the slow path.
74840 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74842         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74843         similar rule which adds the sysdep directories to the header search in
74844         order to pick up the correct platform stackinfo.h.
74845         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74846         perform test if it is, otherwise return successfully without testing.
74847         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74848         DEFAULT_STACK_PERMS define in stackinfo.h.
74849         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74850         defined in stackinfo.h.
74851         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74852         DEFAULT_STACK_PERMS defined in stackinfo.h.
74853         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74854         * sysdeps/ia64/stackinfo.h: Likewise.
74855         * sysdeps/s390/stackinfo.h: Likewise.
74856         * sysdeps/sh/stackinfo.h: Likewise.
74857         * sysdeps/sparc/stackinfo.h: Likewise.
74858         * sysdeps/x86_64/stackinfo.h: Likewise.
74859         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74860         PF_X for powerpc64.  Retain PF_X for powerpc32.
74862 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74864         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74865         accurately.
74866         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74867         GETDENTS_64BIT_ALIGNED.
74869 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74871         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74873 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74875         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74876         _GNU_SOURCE.
74878         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74879         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74880         Remove __restrict.
74881         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74882         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74884 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74886         [BZ #11655]
74887         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74888         are initialized.
74890 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74892         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74894 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74896         * po/it.po: Update from translation team.
74898 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74901         unused codes.
74903 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74905         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74907 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74909         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74910         specially.
74911         (gaih_getanswer_slice): Likewise.
74913 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74917 2010-05-31  Petr Baudis  <pasky@suse.cz>
74919         [BZ #11149]
74920         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74921         silently even in the chroot mode.
74923 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74925         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74926         last patch a bit.  Pretty printing
74928 2010-05-31  Petr Baudis <pasky@suse.cz>
74930         [BZ #10085]
74931         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74932         initialization of skip_initgroups_dyn.
74934 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74936         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74937         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74939 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74941         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74943 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74945         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74946         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74947         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74948         ($(objpfx)tst-fnmatch-mem): New rule.
74949         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74950         * posix/tst-fnmatch.c (main): Call mtrace.
74952 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74955         Support Intel processor model 6 and model 0x2c.
74957 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74960           signed comparison.
74962 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74964         [BZ #12205]
74965         * string/test-strncasecmp.c (check_result): New function.
74966         (do_one_test): Use it.
74967         (check1): New function.
74968         (test_main): Use it.
74969         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74970         Support strcasecmp and strncasecmp.
74972 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74974         [BZ #12194]
74975         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74976         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74978 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74980         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74981         IFUNC support.
74982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74983         memset-x86-64.
74984         * sysdeps/x86_64/multiarch/bzero.S: New file.
74985         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74986         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74987         * sysdeps/x86_64/multiarch/memset.S: New file.
74988         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74990         Set bit_Prefer_SSE_for_memop for Intel processors.
74991         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74992         Define.
74993         (index_Prefer_SSE_for_memop): Define.
74994         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74996 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74998         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74999         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75001 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75003         [BZ #12191]
75004         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75005         (__x86_64_raw_data_cache_size_half): Likewise.
75006         (__x86_64_raw_shared_cache_size): Likewise.
75007         (__x86_64_raw_shared_cache_size_half): Likewise.
75009         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75010         (__x86_64_raw_data_cache_size_half): Likewise.
75011         (__x86_64_raw_shared_cache_size): Likewise.
75012         (__x86_64_raw_shared_cache_size_half): Likewise.
75013         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75014         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75015         and __x86_64_raw_shared_cache_size_half.  Round
75016         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75017         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75018         to multiple of 256 bytes.
75020 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75022         [BZ #12167]
75023         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75024         of inacessible symlinks.  Verify result of symlink before returning it.
75025         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75026         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75028 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75030         * math/math.h (isinf): Fix typo in comment.
75032 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75034         * po/da.po: Update from translation team.
75036 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75038         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75039         is added to the list.
75041 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75042             Ulrich Drepper  <drepper@gmail.com>
75044         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75045         the global list here.  Move code to...
75046         (_dl_add_to_namespace_list): ...here.  New function.
75047         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75048         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75049         * elf/dl-load.c (lose): Don't remove the element from the list.
75050         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75051         (_dl_map_object): Likewise.
75053 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75055         [BZ #12159]
75056         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75057         into all bytes of SSE register.
75058         Patch by Richard Li <richardpku@gmail.com>.
75060 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75062         [BZ #12140]
75063         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75064         perturbing.
75066 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75068         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75069         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75070         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75071         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75073         submachine.
75074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75076 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75078         * include/dlfcn.h (__RTLD_SECURE): Define.
75079         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75080         mode & __RTLD_SECURE instead.
75081         (open_path): Rename preloaded parameter to secure.
75082         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75083         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75084         * elf/dl-deps.c (openaux): Likewise.
75085         * elf/rtld.c (struct map_args): Remove is_preloaded.
75086         (map_doit): Don't use it.
75087         (dl_main): Likewise.
75088         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75089         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75091 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75093         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75094         (sysd-rules-targets): Remove duplicates.
75095         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75096         rtld-%.$o dependency.
75098 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75100         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75101         _dl_map_object do it.
75103 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75105         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75106         fast fma builtins, define the macros in the C99 standard.
75107         (FP_FAST_FMAF): Likewise.
75108         (FP_FAST_FMAL): Likewise.
75109         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75111         * bits/mathdef.h: Update copyright year.
75112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75114 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75116         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75117         builtins, define the macros in the C99 standard.
75118         (FP_FAST_FMAF): Likewise.
75119         (FP_FAST_FMAL): Likewise.
75120         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75121         multiply/add.
75122         (FP_FAST_FMAF): Likewise.
75124 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75126         [BZ #3268]
75127         * math/libm-test.inc (fma_test): Some new testcases.
75128         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75129         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75130         y and infinite z.  Do multiplication by C already in long double.
75131         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75133         y and infinite z.  Do bitwise or of inexact bit into u.d.
75134         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75135         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75136         * sysdeps/i386/fpu/s_fma.S: Removed.
75137         * sysdeps/i386/fpu/s_fmal.S: Removed.
75139 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75141         [BZ #3268]
75142         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75144         computation is not scheduled after fetestexcept.  Fix value
75145         of minimum denormal long double.
75147 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75149         [BZ #3268]
75150         * math/libm-test.inc (fma_test): Add some more tests.
75151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75152         correctly.
75154 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75156         * scripts/data/localplt-s390-linux-gnu.data: New file.
75157         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75159 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75161         [BZ #3268]
75162         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75163         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75164         instead of dbl-64.
75165         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75166         inlines.
75167         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75169         if one of x and y is very large and the other is subnormal.
75170         * sysdeps/s390/fpu/s_fmaf.c: New file.
75171         * sysdeps/s390/fpu/s_fma.c: New file.
75172         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75173         * sysdeps/powerpc/fpu/s_fma.S: New file.
75174         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75175         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75176         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75178 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75180         [BZ #3268]
75181         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75182         fma tests.
75183         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75184         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75185         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75186         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75187         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75188         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75189         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75191 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75193         [BZ #12078]
75194         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75195         * posix/bug-regex31.input: Add test case.
75197 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75199         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75200         * posix/bug-regex31.input: New file.
75202         [BZ #12078]
75203         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75204         (parse_sub_exp): Fix last change, use postorder.
75206         * posix/bug-regex31.c: New file.
75207         * posix/Makefile: Add rules to build and run bug-regex31.
75209         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75211         [BZ #12078]
75212         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75214         [BZ #12108]
75215         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75216         to have entries in sys_siglist.
75218         [BZ #12093]
75219         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75220         be NULL.
75222 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75224         [BZ #3268]
75225         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75226         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75227         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75228         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75229         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75230         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75231         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75232         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75233         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75234         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75235         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75236         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75237         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75238         * math/ftestexcept.c (fetestexcept): Likewise.
75239         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75240         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75241         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75242         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75243         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75244         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75245         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75247 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75249         [BZ #12107]
75250         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75251         newline.
75253 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75255         * string/bug-strstr1.c: New file.
75256         * string/Makefile: Add rules to build and run bug-strstr1.
75258 2010-10-05  Eric Blake  <eblake@redhat.com>
75260         [BZ #12092]
75261         * string/str-two-way.h (two_way_long_needle): Always clear memory
75262         when skipping input due to the shift table.
75264 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75266         [BZ #12005]
75267         * malloc/mcheck.c: Handle large requests.
75269         [BZ #12077]
75270         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75271         for strncmp and strncasecmp.
75272         * string/stratcliff.c: Add tests for strcmp and strncmp.
75273         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75275 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75277         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75278         __set_fpscr.
75280 2010-09-30  Andreas Jaeger  <aj@suse.de>
75282         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75283         (CGROUP_SUPER_MAGIC): Define.
75284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75285         Handle btrfs and cgroup file systems.
75286         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75287         Likewise.
75289 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75291         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75292         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75294 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75296         [BZ #12067]
75297         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75298         trying to locate the ELF header.
75300 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75302         [BZ #11611]
75303         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75304         Mask out sign-bit copies when constructing f_fsid.
75306 2010-09-24  Petr Baudis <pasky@suse.cz>
75308         * debug/stack_chk_fail_local.c: Add missing licence exception.
75309         * debug/warning-nop.c: Likewise.
75311 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75313         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75314         implementing getdents64 using getdents syscall, set d_type if
75315         __ASSUME_GETDENTS32_D_TYPE.
75317 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75319         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75320         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75322 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75324         [BZ #12037]
75325         * posix/unistd.h: Undo change of feature selection for ftruncate from
75326         2010-01-11.
75328 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75330         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75331         detection.
75333 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75336         fanotify_mark.
75337         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75339 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75341         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75342         variables after CHECK_SP call.
75343         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75345 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75346             Ulrich Drepper  <drepper@redhat.com>
75348         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75349         re-relocationg ld.so.
75350         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75351         _dl_init_paths call.
75352         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75353         here anymore.
75355 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75357         * resolv/res_init.c (__res_vinit): Count the default server we added.
75359 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75360             Ulrich Drepper  <drepper@redhat.com>
75362         [BZ #11968]
75363         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75364         (____longjmp_chk): Use %ebx for saving value across system call.
75365         Add unwind info.
75367 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75369         * manual/Makefile: Don't mix pattern rules with normal rules.
75371 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75373         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75374         operation.
75375         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75376         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75377         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75378         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75380         Likewise.
75382 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75384         [BZ #11979]
75385         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75386         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75388 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75390         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75391         * sysdeps/x86_64/addmul_1.S: Likewise.
75392         * sysdeps/x86_64/lshift.S: Likewise.
75393         * sysdeps/x86_64/mul_1.S: Likewise.
75394         * sysdeps/x86_64/rshift.S: Likewise.
75395         * sysdeps/x86_64/sub_n.S: Likewise.
75396         * sysdeps/x86_64/submul_1.S: Likewise.
75398 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75400         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75401         Define __sched_param instead of SCHED_* and sched_param when
75402         <bits/sched.h> is included with __need_schedparam defined.
75403         * bits/sched.h [__need_schedparam]
75404         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75405         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75406         (__defined_schedparam): Define to 1.
75407         (__sched_param): New structure, identical to sched_param.
75408         (__need_schedparam): Undefine.
75410 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75412         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75413         (epoll_create1): Declare.
75415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75417 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75419         [BZ #7066]
75420         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75421         shifting retval into place.
75423 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75425         * nis/rpcsvc/nis.h: Update copyright notice.
75426         * nis/rpcsvc/nis.x: Likewise.
75427         * nis/rpcsvc/nis_callback.h: Likewise.
75428         * nis/rpcsvc/nis_callback.x: Likewise.
75429         * nis/rpcsvc/nis_object.x: Likewise.
75430         * nis/rpcsvc/nis_tags.h: Likewise.
75431         * nis/rpcsvc/yp.h: Likewise.
75432         * nis/rpcsvc/yp.x: Likewise.
75433         * nis/rpcsvc/ypupd.h: Likewise.
75434         * nis/yp_xdr.c: Likewise.
75435         * nis/ypupdate_xdr.c: Likewise.
75437         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75438         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75439         (pmap_getport): Use __libc_rpc_getport.
75440         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75441         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75442         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75444 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75447         fanotify_mark.
75449 2010-08-27  Roland McGrath  <roland@redhat.com>
75451         * sysdeps/i386/i686/multiarch/Makefile
75452         (CFLAGS-varshift.c): New variable.
75454 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75456         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75457         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75459         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75461         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75463 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75465         * sysdeps/x86_64/strlen.S: Unroll the loop.
75466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75467         strlen-sse2 strlen-sse2-bsf.
75468         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75469         __strlen_no_bsf if bit_Slow_BSF is set.
75470         (__strlen_sse42): Removed.
75471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75472         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75474 2010-08-25  Roland McGrath  <roland@redhat.com>
75476         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75477         * sysdeps/x86_64/multiarch/varshift.c: New file.
75478         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75479         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75480         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75481         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75483 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75486         strlen-sse2 strlen-sse2-bsf.
75487         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75488         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75489         (__strlen_sse2): Removed.
75490         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75493         bit_Slow_BSF for Atom.
75494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75495         (index_Slow_BSF): Define.
75496         (HAS_SLOW_BSF): Define.
75498 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75500         [BZ #10851]
75501         * resolv/res_init.c (__res_vinit): When no server address at all
75502         is given default to loopback.
75504 2010-08-24  Roland McGrath  <roland@redhat.com>
75506         * configure.in: Remove config-name.h generation.
75507         * configure: Regenerated.
75508         * config-name.in: File removed.
75509         * scripts/config-uname.sh: New file.
75510         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75511         ($(objdir)config-name.h): New target.
75513         * sunrpc/rpc_parse.h: Avoid nested comment.
75515 2010-08-24  Richard Henderson  <rth@redhat.com>
75516             Ulrich Drepper  <drepper@redhat.com>
75517             H.J. Lu  <hongjiu.lu@intel.com>
75519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75521         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75522         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75523         _mm_alignr_epi8 with _mm_loadu_si128.
75524         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75525         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75526         (__m128i_shift_right): Removed.
75527         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75528         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75529         * sysdeps/x86_64/multiarch/varshift.h: New file.
75530         * sysdeps/x86_64/multiarch/varshift.S: New file.
75532 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75534         * configure.in: Move assembler checks to before sysdep dir checking.
75536 2010-08-20  Petr Baudis  <pasky@suse.cz>
75538         * LICENSES: Sync the sunrpc license.
75540 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75542         * sunrpc/auth_des.c: Update copyright notice once again.
75543         * sunrpc/auth_none.c: Likewise.
75544         * sunrpc/auth_unix.c: Likewise.
75545         * sunrpc/authdes_prot.c: Likewise.
75546         * sunrpc/authuxprot.c: Likewise.
75547         * sunrpc/bindrsvprt.c: Likewise.
75548         * sunrpc/clnt_gen.c: Likewise.
75549         * sunrpc/clnt_perr.c: Likewise.
75550         * sunrpc/clnt_raw.c: Likewise.
75551         * sunrpc/clnt_simp.c: Likewise.
75552         * sunrpc/clnt_tcp.c: Likewise.
75553         * sunrpc/clnt_udp.c: Likewise.
75554         * sunrpc/clnt_unix.c: Likewise.
75555         * sunrpc/des_crypt.c: Likewise.
75556         * sunrpc/des_soft.c: Likewise.
75557         * sunrpc/get_myaddr.c: Likewise.
75558         * sunrpc/getrpcport.c: Likewise.
75559         * sunrpc/key_call.c: Likewise.
75560         * sunrpc/key_prot.c: Likewise.
75561         * sunrpc/openchild.c: Likewise.
75562         * sunrpc/pm_getmaps.c: Likewise.
75563         * sunrpc/pm_getport.c: Likewise.
75564         * sunrpc/pmap_clnt.c: Likewise.
75565         * sunrpc/pmap_prot.c: Likewise.
75566         * sunrpc/pmap_prot2.c: Likewise.
75567         * sunrpc/pmap_rmt.c: Likewise.
75568         * sunrpc/rpc/auth.h: Likewise.
75569         * sunrpc/rpc/auth_unix.h: Likewise.
75570         * sunrpc/rpc/clnt.h: Likewise.
75571         * sunrpc/rpc/des_crypt.h: Likewise.
75572         * sunrpc/rpc/key_prot.h: Likewise.
75573         * sunrpc/rpc/netdb.h: Likewise.
75574         * sunrpc/rpc/pmap_clnt.h: Likewise.
75575         * sunrpc/rpc/pmap_prot.h: Likewise.
75576         * sunrpc/rpc/pmap_rmt.h: Likewise.
75577         * sunrpc/rpc/rpc.h: Likewise.
75578         * sunrpc/rpc/rpc_des.h: Likewise.
75579         * sunrpc/rpc/rpc_msg.h: Likewise.
75580         * sunrpc/rpc/svc.h: Likewise.
75581         * sunrpc/rpc/svc_auth.h: Likewise.
75582         * sunrpc/rpc/types.h: Likewise.
75583         * sunrpc/rpc/xdr.h: Likewise.
75584         * sunrpc/rpc_clntout.c: Likewise.
75585         * sunrpc/rpc_cmsg.c: Likewise.
75586         * sunrpc/rpc_common.c: Likewise.
75587         * sunrpc/rpc_cout.c: Likewise.
75588         * sunrpc/rpc_dtable.c: Likewise.
75589         * sunrpc/rpc_hout.c: Likewise.
75590         * sunrpc/rpc_main.c: Likewise.
75591         * sunrpc/rpc_parse.c: Likewise.
75592         * sunrpc/rpc_parse.h: Likewise.
75593         * sunrpc/rpc_prot.c: Likewise.
75594         * sunrpc/rpc_sample.c: Likewise.
75595         * sunrpc/rpc_scan.c: Likewise.
75596         * sunrpc/rpc_scan.h: Likewise.
75597         * sunrpc/rpc_svcout.c: Likewise.
75598         * sunrpc/rpc_tblout.c: Likewise.
75599         * sunrpc/rpc_util.c: Likewise.
75600         * sunrpc/rpc_util.h: Likewise.
75601         * sunrpc/rpcinfo.c: Likewise.
75602         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75603         * sunrpc/rpcsvc/key_prot.x: Likewise.
75604         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75605         * sunrpc/rpcsvc/mount.x: Likewise.
75606         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75607         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75608         * sunrpc/rpcsvc/rex.x: Likewise.
75609         * sunrpc/rpcsvc/rstat.x: Likewise.
75610         * sunrpc/rpcsvc/rusers.x: Likewise.
75611         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75612         * sunrpc/rpcsvc/spray.x: Likewise.
75613         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75614         * sunrpc/rtime.c: Likewise.
75615         * sunrpc/svc.c: Likewise.
75616         * sunrpc/svc_auth.c: Likewise.
75617         * sunrpc/svc_authux.c: Likewise.
75618         * sunrpc/svc_raw.c: Likewise.
75619         * sunrpc/svc_run.c: Likewise.
75620         * sunrpc/svc_simple.c: Likewise.
75621         * sunrpc/svc_tcp.c: Likewise.
75622         * sunrpc/svc_udp.c: Likewise.
75623         * sunrpc/svc_unix.c: Likewise.
75624         * sunrpc/svcauth_des.c: Likewise.
75625         * sunrpc/xcrypt.c: Likewise.
75626         * sunrpc/xdr.c: Likewise.
75627         * sunrpc/xdr_array.c: Likewise.
75628         * sunrpc/xdr_float.c: Likewise.
75629         * sunrpc/xdr_mem.c: Likewise.
75630         * sunrpc/xdr_rec.c: Likewise.
75631         * sunrpc/xdr_ref.c: Likewise.
75632         * sunrpc/xdr_sizeof.c: Likewise.
75633         * sunrpc/xdr_stdio.c: Likewise.
75635         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75636         handling.
75638 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75640         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75642 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75644         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75647         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75648         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75649         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75650         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75651         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75653         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75654         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75655         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75656         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75657         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75659 2010-07-26  Anton Blanchard  <anton@samba.org>
75661         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75662         * malloc/arena.c (heap_trim): Likewise.
75664 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75666         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75667         here.  Not...
75668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75669         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75671 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75673         * sysdeps/i386/elf/Makefile: New file.
75675 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75677         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75678         from fanotify_init.
75679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75682 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75684         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75685         of strncasecmp_l.
75686         * sysdeps/multiarch/strcmp.S: Likewise.
75688 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75690         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75691         strncase_l-nonascii.
75692         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75693         Add strncase_l-ssse3.
75694         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75695         * sysdeps/x86_64/strcmp.S: Likewise.
75696         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75697         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75698         * sysdeps/x86_64/strncase.S: New file.
75699         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75700         * sysdeps/x86_64/strncase_l.S: New file.
75701         * string/Makefile (strop-tests): Add strncasecmp.
75702         * string/test-strncasecmp.c: New file.
75704         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75705         warning.
75707         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75708         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75710 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75712         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75714 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75716         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75717         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75718         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75720 2010-05-01  Alan Modra  <amodra@gmail.com>
75722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75723         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75724         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75725         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75726         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75727         tidying.  Don't tail-call __sigjmp_save for static lib.
75728         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75729         save location.
75730         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75731         (CALL_MCOUNT): Add eh info, and nop after bl.
75732         (TAIL_CALL_SYSCALL_ERROR): New macro.
75733         (PSEUDO_RET): Use it.
75734         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75735         Correct save location of integer regs and cr.
75736         (_dl_profile_resolve): Correct cr save location.  Delete nops
75737         after bl when SHARED.  Reduce cfi size a little by better
75738         placement of cfi directives.
75739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75740         make a stack frame.  Instead use parm save area as a temp.
75741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75742         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75744         Don't make a stack frame for parent, use parm save area.
75745         Increase child stack frame to 112 bytes.  Don't save unused reg,
75746         and adjust reg usage.  Set up cfi on error recovery and
75747         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75749         (__makecontext): Add dummy nop after jump to exit.
75750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75751         Use correct parm save area and cr save, reduce stack frame.
75752         Correct cfi for possible PSEUDO_RET frame setup.
75753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75754         Branch to local label emitted by PSEUDO_RET rather than
75755         __syscall_error.
75757 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75759         [BZ #11904]
75760         * locale/programs/locale.c (print_assignment): New function.
75761         (show_locale_vars): Use it.
75763 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75765         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75766         field.
75767         (struct statfs64): Likewise.
75768         (_STATFS_F_FLAGS): Define.
75769         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75771         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75772         (ST_VALID): Define locally.
75773         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75774         __statvfs_getflags, use the provided value.
75775         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75776         __ASSUME_STATFS_F_FLAGS.
75778         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75780         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75781         Add sys/fanotify.h.
75782         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75783         fanotify_mask for GLIBC_2.13.
75784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75785         fanotify_init and fanotify_mark.
75786         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75787         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75789         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75790         Add prlimit.
75791         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75792         prlimit64 for GLIBC_2.13.
75793         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75794         prlimit64.
75795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75796         syscall.
75797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75798         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75799         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75802         add prlimit alias.
75803         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75805         [BZ #11903]
75806         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75807         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75809         * nss/Makefile: Add rules to build and run tst-nss-test1.
75810         * shlib-versions: Add entry for libnss_test1.
75811         * nss/nss_test1.c: New file.
75812         * nss/tst-nss-test1.c: New file.
75814         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75815         (__nss_configure_lookup): Set appropriate entry in
75816         __nss_configure_lookup to true.
75817         * nss/nsswitch.h: Define enum with indeces of databases in
75818         databases and __nss_database_custom arrays.  Declare
75819         __nss_database_custom.
75820         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75821         to avoid using nscd when custom rules are installed.
75822         * nss/getXXbyYY_r.c: Likewise.
75823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75825         * nss/nss_files/files-parse.c: Whitespace fixes.
75827 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75829         [BZ #11883]
75830         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75831         * posix/fnmatch_loop.c: Likewise.
75833 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75835         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75836         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75837         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75838         * Versions.def [GLIBC_2.13]: Add.
75840 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75842         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75843         Also fail if tpwd after pwuid call is NULL.
75845 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75847         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75848         when converting to ms.
75850 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75852         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75853         EOPNOTSUPP errors with ENOTTY.
75854         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75855         EOPNOTSUPP errors with ENOTTY.
75857 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75859         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75860         Add strcasecmp_l-ssse3.
75861         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75862         strcasecmp.
75863         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75864         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75867 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75869         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75871         * string/Makefile (strop-tests): Add strcasecmp.
75872         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75873         strcasecmp_l-nonascii.
75874         (gen-as-const-headers): Add locale-defines.sym.
75875         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75876         * sysdeps/x86_64/strcasecmp.S: New file.
75877         * sysdeps/x86_64/strcasecmp_l.S: New file.
75878         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75879         * sysdeps/x86_64/locale-defines.sym: New file.
75880         * string/test-strcasecmp.c: New file.
75882         * string/test-strcasestr.c: Test both ends of the range of characters.
75883         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75885 2010-07-29  Roland McGrath  <roland@redhat.com>
75887         [BZ #11856]
75888         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75890 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75892         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75893         for ld.so.
75895 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75897         * manual/memory.texi (Malloc Tunable Parameters): Document
75898         M_PERTURB.
75900 2010-07-26  Roland McGrath  <roland@redhat.com>
75902         [BZ #11840]
75903         * configure.in (-fgnu89-inline check): Set and substitute
75904         gnu89_inline, not libc_cv_gnu89_inline.
75905         * configure: Regenerated.
75906         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75908 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75910         * string/test-strnlen.c: New file.
75911         * string/Makefile (strop-tests): Add strnlen.
75912         * string/tester.c (test_strnlen): Add a few more test cases.
75913         * string/tst-strlen.c: Better error reporting.
75915         * sysdeps/x86_64/strnlen.S: New file.
75917 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75920         lower-latency instructions.
75922 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75924         * string/test-strcasestr.c: New file.
75925         * string/test-strstr.c: New file.
75926         * string/Makefile (strop-tests): Add strstr and strcasestr.
75927         * string/str-two-way.h: Don't undefine MAX.
75928         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75930 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75933         strcasestr-nonascii.
75934         (CFLAGS-strcasestr-nonascii.c): Define.
75935         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75937         Remove unused attribute.
75939 2010-07-20  Roland McGrath  <roland@redhat.com>
75941         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75942         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75943         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75944         like LD_HWCAP_MASK can disable hwcaps.
75946 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75948         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75950 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75952         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75953         call in strcasestr.
75954         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75955         __strcasestr_sse42_nonascii.
75956         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75957         strcasestr-nonascii.c.
75958         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75960 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75963         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75964         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75967 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75970         fcntl.
75972 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75974         [BZ #11577]
75975         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75976         dl_signal_cerror.
75978 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75981         _PC_PIPE_BUF using F_GETPIPE_SZ.
75983 2010-07-05  Roland McGrath  <roland@redhat.com>
75985         * manual/arith.texi (Rounding Functions): Fix rint description
75986         implicit in round description.
75988 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75990         * elf/Makefile: Fix linking for a few tests to make recent linker
75991         happy.
75993 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75995         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75996         $(common-objpfx)libc_nonshared.a.
75998 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76000         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76001         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76002         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76003         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76004         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76005         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76006         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76007         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76022         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76023         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76024         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76025         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76026         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76027         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76028         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76029         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76030         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76031         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76032         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76033         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76049 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76051         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76052         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76053         * string/memmove.c (memmove): Renamed to ...
76054         (MEMMOVE): ...this.  Default to memmove.
76055         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76056         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76057         (END_CHK): Define.
76058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76059         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76060         mempcpy-ssse3-back memmove-ssse3-back.
76061         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76064         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76065         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76066         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76067         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76068         * sysdeps/x86_64/multiarch/memmove.c: New file.
76069         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76070         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76071         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76072         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76073         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76075         Define.
76076         (index_Fast_Copy_Backward): Define.
76077         (HAS_ARCH_FEATURE): Define.
76078         (HAS_FAST_REP_STRING): Define.
76079         (HAS_FAST_COPY_BACKWARD): Define.
76081 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76083         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76084         Restore proper fallback handling.
76086 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76088         [BZ #11701]
76089         * posix/group_member.c (__group_member): Correct checking loop.
76091         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76092         OOM in getpwuid_r correctly.  Return error number when the caller
76093         should return, otherwise -1.
76094         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76095         call returning > 0 value.
76096         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76098 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76100         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76101         libc_nonshared.a from targets in modules-names.
76103 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76105         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76106         requires it.
76108 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76115 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76117         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76119 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76122         and F_GETPIPE_SZ.
76123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76128         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76130 2010-06-14  Roland McGrath  <roland@redhat.com>
76132         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76134 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76136         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76137         __REDIRECT followed by __THROW.
76138         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76139         * posix/getopt.h (getopt): Likewise.
76141 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76143         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76144         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76145         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76146         in AT_FLAGS.
76147         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76148         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76150 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76154 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76156         [BZ #11640]
76157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76158         Properly check family and model.
76160 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76162         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76164 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76166         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76168 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76170         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76171         symbol reference.
76173 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76175         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76176         symbol reference.
76178 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76181         and internal_recvmmsg.
76182         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76183         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76184         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76185         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76187         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76188         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76189         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76191 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76193         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76195 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76197         POWER7 optimizations.
76198         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76199         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76201 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76203         * version.h: Update for 2.13 development version.
76205 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76207         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76208         exceptions.  Return 0.
76210 2010-05-07  Roland McGrath  <roland@redhat.com>
76212         * elf/ldconfig.c (main): Add a const.
76214 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76216         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76217         (args_options): Add no-idn option.
76218         (ahosts_keys_int): Add idn_flags to ai_flags.
76219         (parse_option): Handle 'i' option to clear idn_flags.
76221         * malloc/malloc.c (_int_free): Possible race in the most recently
76222         added check.  Only act on the data if no current modification
76223         happened.
76225 See ChangeLog.17 for earlier changes.